You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
189 lines
6.3 KiB
189 lines
6.3 KiB
19 years ago
|
# Pass --without docs to rpmbuild if you don't want the documentation
|
||
19 years ago
|
Name: git
|
||
20 years ago
|
Version: @@VERSION@@
|
||
20 years ago
|
Release: 1%{?dist}
|
||
20 years ago
|
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
|
||
19 years ago
|
BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
|
||
20 years ago
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
19 years ago
|
Requires: git-core, git-svn, git-cvs, git-arch, git-email, gitk
|
||
20 years ago
|
|
||
|
%description
|
||
20 years ago
|
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.
|
||
20 years ago
|
|
||
19 years ago
|
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.
|
||
|
|
||
19 years ago
|
%package svn
|
||
19 years ago
|
Summary: Git tools for importing Subversion repositories
|
||
19 years ago
|
Group: Development/Tools
|
||
19 years ago
|
Requires: git-core = %{version}-%{release}, subversion
|
||
19 years ago
|
%description svn
|
||
|
Git tools for importing Subversion repositories.
|
||
|
|
||
|
%package cvs
|
||
19 years ago
|
Summary: Git tools for importing CVS repositories
|
||
19 years ago
|
Group: Development/Tools
|
||
19 years ago
|
Requires: git-core = %{version}-%{release}, cvs, cvsps
|
||
19 years ago
|
%description cvs
|
||
|
Git tools for importing CVS repositories.
|
||
|
|
||
19 years ago
|
%package arch
|
||
|
Summary: Git tools for importing Arch repositories
|
||
|
Group: Development/Tools
|
||
19 years ago
|
Requires: git-core = %{version}-%{release}, tla
|
||
19 years ago
|
%description arch
|
||
|
Git tools for importing Arch repositories.
|
||
|
|
||
19 years ago
|
%package email
|
||
19 years ago
|
Summary: Git tools for sending email
|
||
19 years ago
|
Group: Development/Tools
|
||
19 years ago
|
Requires: git-core = %{version}-%{release}
|
||
19 years ago
|
%description email
|
||
|
Git tools for sending email.
|
||
|
|
||
19 years ago
|
%package -n gitk
|
||
19 years ago
|
Summary: Git revision tree visualiser ('gitk')
|
||
|
Group: Development/Tools
|
||
|
Requires: git-core = %{version}-%{release}, tk >= 8.4
|
||
19 years ago
|
%description -n gitk
|
||
19 years ago
|
Git revision tree visualiser ('gitk')
|
||
|
|
||
20 years ago
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
19 years ago
|
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" WITH_OWN_SUBPROCESS_PY=YesPlease WITH_SEND_EMAIL=1 \
|
||
20 years ago
|
prefix=%{_prefix} all %{!?_without_docs: doc}
|
||
20 years ago
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
19 years ago
|
make %{_smp_mflags} DESTDIR=$RPM_BUILD_ROOT WITH_OWN_SUBPROCESS_PY=YesPlease WITH_SEND_EMAIL=1 \
|
||
20 years ago
|
prefix=%{_prefix} mandir=%{_mandir} \
|
||
20 years ago
|
install %{!?_without_docs: install-doc}
|
||
20 years ago
|
|
||
19 years ago
|
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "arch|svn|cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@) > bin-man-doc-files
|
||
19 years ago
|
%if %{!?_without_docs:1}0
|
||
19 years ago
|
(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
|
||
19 years ago
|
%endif
|
||
|
|
||
20 years ago
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
19 years ago
|
%files
|
||
|
# These are no files in the root package
|
||
|
|
||
19 years ago
|
%files svn
|
||
19 years ago
|
%defattr(-,root,root)
|
||
19 years ago
|
%{_bindir}/*svn*
|
||
19 years ago
|
%doc Documentation/*svn*.txt
|
||
19 years ago
|
%{!?_without_docs: %{_mandir}/man1/*svn*.1*}
|
||
19 years ago
|
%{!?_without_docs: %doc Documentation/*svn*.html }
|
||
19 years ago
|
|
||
|
%files cvs
|
||
19 years ago
|
%defattr(-,root,root)
|
||
|
%doc Documentation/*git-cvs*.txt
|
||
19 years ago
|
%{_bindir}/*cvs*
|
||
|
%{!?_without_docs: %{_mandir}/man1/*cvs*.1*}
|
||
19 years ago
|
%{!?_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 }
|
||
19 years ago
|
|
||
|
%files email
|
||
19 years ago
|
%defattr(-,root,root)
|
||
|
%doc Documentation/*email*.txt
|
||
19 years ago
|
%{_bindir}/*email*
|
||
|
%{!?_without_docs: %{_mandir}/man1/*email*.1*}
|
||
19 years ago
|
%{!?_without_docs: %doc Documentation/*email*.html }
|
||
19 years ago
|
|
||
19 years ago
|
%files -n gitk
|
||
19 years ago
|
%defattr(-,root,root)
|
||
|
%doc Documentation/*gitk*.txt
|
||
|
%{_bindir}/*gitk*
|
||
|
%{!?_without_docs: %{_mandir}/man1/*gitk*.1*}
|
||
|
%{!?_without_docs: %doc Documentation/*gitk*.html }
|
||
|
|
||
19 years ago
|
%files core -f bin-man-doc-files
|
||
20 years ago
|
%defattr(-,root,root)
|
||
20 years ago
|
%{_datadir}/git-core/
|
||
20 years ago
|
%doc README COPYING Documentation/*.txt
|
||
|
%{!?_without_docs: %doc Documentation/*.html }
|
||
20 years ago
|
|
||
|
%changelog
|
||
19 years ago
|
* 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
|
||
|
|
||
19 years ago
|
* 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
|
||
|
|
||
19 years ago
|
* Tue Sep 27 2005 Jim Radford <radford@blackbean.org>
|
||
|
- Move programs with non-standard dependencies (svn, cvs, email)
|
||
|
into separate packages
|
||
|
|
||
20 years ago
|
* Tue Sep 27 2005 H. Peter Anvin <hpa@zytor.com>
|
||
|
- parallelize build
|
||
20 years ago
|
- COPTS -> CFLAGS
|
||
20 years ago
|
|
||
20 years ago
|
* Fri Sep 16 2005 Chris Wright <chrisw@osdl.org> 0.99.6-1
|
||
|
- update to 0.99.6
|
||
|
|
||
20 years ago
|
* Fri Sep 16 2005 Horst H. von Brand <vonbrand@inf.utfsm.cl>
|
||
|
- Linus noticed that less is required, added to the dependencies
|
||
|
|
||
20 years ago
|
* Sun Sep 11 2005 Horst H. von Brand <vonbrand@inf.utfsm.cl>
|
||
|
- Updated dependencies
|
||
|
- Don't assume manpages are gzipped
|
||
|
|
||
20 years ago
|
* 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
|
||
|
|
||
20 years ago
|
* 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...
|
||
|
|
||
20 years ago
|
* Thu Jul 14 2005 Eric Biederman <ebiederm@xmission.com>
|
||
|
- Add the man pages, and the --without docs build option
|
||
20 years ago
|
|
||
20 years ago
|
* Wed Jul 7 2005 Chris Wright <chris@osdl.org>
|
||
|
- initial git spec file
|