]>
Commit | Line | Data |
---|---|---|
49ce3d0c | 1 | # Pass --without docs to rpmbuild if you don't want the documetnation |
f85639c3 | 2 | Name: git-core |
a9db2974 CW |
3 | Version: @@VERSION@@ |
4 | Release: 1 | |
24db845c | 5 | Vendor: Junio C Hamano <junkio@cox.net> |
a9db2974 CW |
6 | Summary: Git core and tools |
7 | License: GPL | |
8 | Group: Development/Tools | |
9 | URL: http://kernel.org/pub/software/scm/git/ | |
10 | Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz | |
49ce3d0c | 11 | BuildRequires: zlib-devel, openssl-devel, curl-devel %{!?_without_docs:, xmlto, asciidoc > 6.0.3} |
a9db2974 | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
720d150c | 13 | Requires: sh-utils, diffutils, rsync, rcs, python >= 2.4 |
a9db2974 CW |
14 | |
15 | %description | |
24db845c HB |
16 | This is a stupid (but extremely fast) directory content manager. It |
17 | doesn't do a whole lot, but what it _does_ do is track directory | |
18 | contents efficiently. It is intended to be the base of an efficient, | |
19 | distributed source code management system. This package includes | |
20 | rudimentary tools that can be used as a SCM, but you should look | |
21 | elsewhere for tools for ordinary humans layered on top of this. | |
a9db2974 CW |
22 | |
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
7a590132 | 27 | make prefix=%{_prefix} all %{!?_without_docs: doc} |
a9db2974 CW |
28 | |
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
5b6a8b64 | 31 | make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} \ |
704a66f5 | 32 | install %{!?_without_docs: install-doc} |
a9db2974 CW |
33 | |
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(-,root,root) | |
39 | %{_bindir}/* | |
d5928d60 | 40 | %{_datadir}/git-core/templates/* |
49ce3d0c EB |
41 | %doc README COPYING Documentation/*.txt |
42 | %{!?_without_docs: %doc Documentation/*.html } | |
43 | %{!?_without_docs: %{_mandir}/man1/*.1.gz} | |
44 | %{!?_without_docs: %{_mandir}/man7/*.7.gz} | |
a9db2974 CW |
45 | |
46 | %changelog | |
24db845c HB |
47 | * Sun Aug 07 2005 Horst H. von Brand <vonbrand@inf.utfsm.cl> |
48 | - Redid the description | |
49 | - Cut overlong make line, loosened changelog a bit | |
50 | - I think Junio (or perhaps OSDL?) should be vendor... | |
51 | ||
49ce3d0c EB |
52 | * Thu Jul 14 2005 Eric Biederman <ebiederm@xmission.com> |
53 | - Add the man pages, and the --without docs build option | |
24db845c | 54 | |
a9db2974 CW |
55 | * Wed Jul 7 2005 Chris Wright <chris@osdl.org> |
56 | - initial git spec file |