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