924bae0
# Pass --without docs to rpmbuild if you don't want the documentation
924bae0
# Pass --with email to rpmbuild if you want git-email (more perl dependencies)
924bae0
Name: 		git
ac2b474
Version: 	1.3.2
924bae0
Release: 	1%{?dist}
924bae0
Summary:  	Git core and tools
924bae0
License: 	GPL
924bae0
Group: 		Development/Tools
924bae0
URL: 		http://kernel.org/pub/software/scm/git/
924bae0
Source: 	http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
924bae0
BuildRequires:	zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel  %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
924bae0
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
924bae0
Requires:	git-core, git-svn, git-cvs, git-arch, %{?_with_email: git-email}, gitk
924bae0
924bae0
%description
924bae0
This is a stupid (but extremely fast) directory content manager.  It
924bae0
doesn't do a whole lot, but what it _does_ do is track directory
924bae0
contents efficiently. It is intended to be the base of an efficient,
924bae0
distributed source code management system. This package includes
924bae0
rudimentary tools that can be used as a SCM, but you should look
924bae0
elsewhere for tools for ordinary humans layered on top of this.
924bae0
924bae0
This is a dummy package which brings in all subpackages.
924bae0
924bae0
%package core
924bae0
Summary:	Core git tools
924bae0
Group:		Development/Tools
924bae0
Requires:	zlib >= 1.2, rsync, rcs, curl, less, openssh-clients, python >= 2.3, expat
924bae0
%description core
924bae0
This is a stupid (but extremely fast) directory content manager.  It
924bae0
doesn't do a whole lot, but what it _does_ do is track directory
924bae0
contents efficiently. It is intended to be the base of an efficient,
924bae0
distributed source code management system. This package includes
924bae0
rudimentary tools that can be used as a SCM, but you should look
924bae0
elsewhere for tools for ordinary humans layered on top of this.
924bae0
924bae0
These are the core tools with minimal dependencies.
924bae0
924bae0
%package svn
924bae0
Summary:        Git tools for importing Subversion repositories
924bae0
Group:          Development/Tools
924bae0
Requires:       git-core = %{version}-%{release}, subversion
924bae0
%description svn
924bae0
Git tools for importing Subversion repositories.
924bae0
924bae0
%package cvs
924bae0
Summary:        Git tools for importing CVS repositories
924bae0
Group:          Development/Tools
924bae0
Requires:       git-core = %{version}-%{release}, cvs, cvsps
924bae0
%description cvs
924bae0
Git tools for importing CVS repositories.
924bae0
924bae0
%package arch
924bae0
Summary:        Git tools for importing Arch repositories
924bae0
Group:          Development/Tools
924bae0
Requires:       git-core = %{version}-%{release}, tla
924bae0
%description arch
924bae0
Git tools for importing Arch repositories.
924bae0
924bae0
%if %{?_with_email:1}0
924bae0
%package email
924bae0
Summary:        Git tools for sending email
924bae0
Group:          Development/Tools
924bae0
Requires:	git-core = %{version}-%{release} 
924bae0
%description email
924bae0
Git tools for sending email.
924bae0
%endif
924bae0
924bae0
%package -n gitk
924bae0
Summary:        Git revision tree visualiser ('gitk')
924bae0
Group:          Development/Tools
924bae0
Requires:       git-core = %{version}-%{release}, tk >= 8.4
924bae0
%description -n gitk
924bae0
Git revision tree visualiser ('gitk')
924bae0
924bae0
%prep
924bae0
%setup -q
924bae0
924bae0
%build
924bae0
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" WITH_OWN_SUBPROCESS_PY=YesPlease %{?_with_email:WITH_SEND_EMAIL=1} \
924bae0
     prefix=%{_prefix} all %{!?_without_docs: doc}
924bae0
924bae0
%install
924bae0
rm -rf $RPM_BUILD_ROOT
924bae0
make %{_smp_mflags} DESTDIR=$RPM_BUILD_ROOT WITH_OWN_SUBPROCESS_PY=YesPlease %{?_with_email:WITH_SEND_EMAIL=1} \
924bae0
     prefix=%{_prefix} mandir=%{_mandir} \
924bae0
     install %{!?_without_docs: install-doc}
924bae0
924bae0
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "arch|svn|cvs|%{?_with_email:email|}gitk" | sed -e s@^$RPM_BUILD_ROOT@@)               > bin-man-doc-files
924bae0
%if %{!?_without_docs:1}0
924bae0
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE "arch|svn|git-cvs|%{?_with_email:email|}gitk" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
924bae0
%endif
924bae0
924bae0
%clean
924bae0
rm -rf $RPM_BUILD_ROOT
924bae0
924bae0
%files
924bae0
# These are no files in the root package
924bae0
924bae0
%files svn
924bae0
%defattr(-,root,root)
924bae0
%{_bindir}/*svn*
924bae0
%doc Documentation/*svn*.txt
924bae0
%{!?_without_docs: %{_mandir}/man1/*svn*.1*}
924bae0
%{!?_without_docs: %doc Documentation/*svn*.html }
924bae0
924bae0
%files cvs
924bae0
%defattr(-,root,root)
924bae0
%doc Documentation/*git-cvs*.txt
924bae0
%{_bindir}/*cvs*
924bae0
%{!?_without_docs: %{_mandir}/man1/*cvs*.1*}
924bae0
%{!?_without_docs: %doc Documentation/*git-cvs*.html }
924bae0
924bae0
%files arch
924bae0
%defattr(-,root,root)
924bae0
%doc Documentation/*arch*.txt
924bae0
%{_bindir}/*arch*
924bae0
%{!?_without_docs: %{_mandir}/man1/*arch*.1*}
924bae0
%{!?_without_docs: %doc Documentation/*arch*.html }
924bae0
924bae0
%if %{?_with_email:1}0
924bae0
%files email
924bae0
%defattr(-,root,root)
924bae0
%doc Documentation/*email*.txt
924bae0
%{_bindir}/*email*
924bae0
%{!?_without_docs: %{_mandir}/man1/*email*.1*}
924bae0
%{!?_without_docs: %doc Documentation/*email*.html }
924bae0
%endif
924bae0
924bae0
%files -n gitk
924bae0
%defattr(-,root,root)
924bae0
%doc Documentation/*gitk*.txt
924bae0
%{_bindir}/*gitk*
924bae0
%{!?_without_docs: %{_mandir}/man1/*gitk*.1*}
924bae0
%{!?_without_docs: %doc Documentation/*gitk*.html }
924bae0
924bae0
%files core -f bin-man-doc-files
924bae0
%defattr(-,root,root)
924bae0
%{_datadir}/git-core/
924bae0
%doc README COPYING Documentation/*.txt
924bae0
%{!?_without_docs: %doc Documentation/*.html }
924bae0
924bae0
%changelog
ac2b474
* Thu May 4 2006 Chris Wright <chrisw@redhat.com> 1.3.2-1
ac2b474
- git-1.3.2
ac2b474
14f6c3e
* Fri Apr 28 2006 Chris Wright <chrisw@redhat.com> 1.3.1-1
14f6c3e
- git-1.3.1
14f6c3e
e841ac1
* Wed Apr 19 2006 Chris Wright <chrisw@redhat.com> 1.3.0-1
e841ac1
- git-1.3.0
e841ac1
acc88cb
* Mon Apr 10 2006 Chris Wright <chrisw@redhat.com> 1.2.6-1
acc88cb
- git-1.2.6
acc88cb
67ae5ca
* Wed Apr 5 2006 Chris Wright <chrisw@redhat.com> 1.2.5-1
67ae5ca
- git-1.2.5
67ae5ca
8011604
* Wed Mar 1 2006 Chris Wright <chrisw@redhat.com> 1.2.4-1
8011604
- git-1.2.4
8011604
f3034c4
* Wed Feb 22 2006 Chris Wright <chrisw@redhat.com> 1.2.3-1
f3034c4
- git-1.2.3
f3034c4
14e2dfd
* Tue Feb 21 2006 Chris Wright <chrisw@redhat.com> 1.2.2-1
14e2dfd
- git-1.2.2
14e2dfd
9ce4204
* Thu Feb 16 2006 Chris Wright <chrisw@redhat.com> 1.2.1-1
9ce4204
- git-1.2.1
9ce4204
be5d673
* Mon Feb 13 2006 Chris Wright <chrisw@redhat.com> 1.2.0-1
be5d673
- git-1.2.0
be5d673
4900fda
* Tue Feb 1 2006 Chris Wright <chrisw@redhat.com> 1.1.6-1
4900fda
- git-1.1.6
4900fda
0de8d1a
* Tue Jan 24 2006 Chris Wright <chrisw@redhat.com> 1.1.4-1
0de8d1a
- git-1.1.4
0de8d1a
135e30f
* Sun Jan 15 2006 Chris Wright <chrisw@redhat.com> 1.1.2-1
135e30f
- git-1.1.2
135e30f
04ae15d
* Tue Jan 10 2006 Chris Wright <chrisw@redhat.com> 1.1.1-1
04ae15d
- git-1.1.1
04ae15d
924bae0
* Tue Jan 10 2006 Chris Wright <chrisw@redhat.com> 1.1.0-1
924bae0
- Update to latest git-1.1.0 (drop git-email for now)
924bae0
- Now creates multiple packages:
924bae0
-	 git-core, git-svn, git-cvs, git-arch, gitk
924bae0
924bae0
* Mon Nov 14 2005 H. Peter Anvin <hpa@zytor.com> 0.99.9j-1
924bae0
- Change subpackage names to git-<name> instead of git-core-<name>
924bae0
- Create empty root package which brings in all subpackages
924bae0
- Rename git-tk -> gitk
924bae0
924bae0
* Thu Nov 10 2005 Chris Wright <chrisw@osdl.org> 0.99.9g-1
924bae0
- zlib dependency fix
924bae0
- Minor cleanups from split
924bae0
- Move arch import to separate package as well
924bae0
924bae0
* Tue Sep 27 2005 Jim Radford <radford@blackbean.org>
924bae0
- Move programs with non-standard dependencies (svn, cvs, email)
924bae0
  into separate packages
924bae0
924bae0
* Tue Sep 27 2005 H. Peter Anvin <hpa@zytor.com>
924bae0
- parallelize build
924bae0
- COPTS -> CFLAGS
924bae0
924bae0
* Fri Sep 16 2005 Chris Wright <chrisw@osdl.org> 0.99.6-1
924bae0
- update to 0.99.6
924bae0
924bae0
* Fri Sep 16 2005 Horst H. von Brand <vonbrand@inf.utfsm.cl>
924bae0
- Linus noticed that less is required, added to the dependencies
924bae0
924bae0
* Sun Sep 11 2005 Horst H. von Brand <vonbrand@inf.utfsm.cl>
924bae0
- Updated dependencies
924bae0
- Don't assume manpages are gzipped
924bae0
924bae0
* Thu Aug 18 2005 Chris Wright <chrisw@osdl.org> 0.99.4-4
924bae0
- drop sh_utils, sh-utils, diffutils, mktemp, and openssl Requires
924bae0
- use RPM_OPT_FLAGS in spec file, drop patch0
924bae0
924bae0
* Wed Aug 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.99.4-3
924bae0
- use dist tag to differentiate between branches
924bae0
- use rpm optflags by default (patch0)
924bae0
- own %{_datadir}/git-core/
924bae0
924bae0
* Mon Aug 15 2005 Chris Wright <chrisw@osdl.org>
924bae0
- update spec file to fix Buildroot, Requires, and drop Vendor
924bae0
924bae0
* Sun Aug 07 2005 Horst H. von Brand <vonbrand@inf.utfsm.cl>
924bae0
- Redid the description
924bae0
- Cut overlong make line, loosened changelog a bit
924bae0
- I think Junio (or perhaps OSDL?) should be vendor...
924bae0
924bae0
* Thu Jul 14 2005 Eric Biederman <ebiederm@xmission.com>
924bae0
- Add the man pages, and the --without docs build option
924bae0
924bae0
* Wed Jul 7 2005 Chris Wright <chris@osdl.org>
924bae0
- initial git spec file