]> git.ipfire.org Git - thirdparty/git.git/blame - git-core.spec.in
[PATCH] Parallelize pulling by ssh
[thirdparty/git.git] / git-core.spec.in
CommitLineData
49ce3d0c 1# Pass --without docs to rpmbuild if you don't want the documetnation
f85639c3 2Name: git-core
a9db2974
CW
3Version: @@VERSION@@
4Release: 1
5Vendor: Linus Torvalds <torvalds@osdl.org>
6Summary: Git core and tools
7License: GPL
8Group: Development/Tools
9URL: http://kernel.org/pub/software/scm/git/
10Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
49ce3d0c 11BuildRequires: zlib-devel, openssl-devel, curl-devel %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
a9db2974
CW
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5
14
15%description
16GIT comes in two layers. The bottom layer is merely an extremely fast
17and flexible filesystem-based database designed to store directory trees
18with regard to their history. The top layer is a SCM-like tool which
19enables human beings to work with the database in a manner to a degree
20similar to other SCM tools (like CVS, BitKeeper or Monotone).
21
22%prep
23%setup -q
24
25%build
26
49ce3d0c 27make all %{!?_without_docs: doc}
a9db2974
CW
28
29%install
30rm -rf $RPM_BUILD_ROOT
49ce3d0c 31make dest=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} install %{!?_without_docs: install-doc}
a9db2974
CW
32
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36%files
37%defattr(-,root,root)
38%{_bindir}/*
49ce3d0c
EB
39%doc README COPYING Documentation/*.txt
40%{!?_without_docs: %doc Documentation/*.html }
41%{!?_without_docs: %{_mandir}/man1/*.1.gz}
42%{!?_without_docs: %{_mandir}/man7/*.7.gz}
a9db2974
CW
43
44%changelog
49ce3d0c
EB
45* Thu Jul 14 2005 Eric Biederman <ebiederm@xmission.com>
46- Add the man pages, and the --without docs build option
a9db2974
CW
47* Wed Jul 7 2005 Chris Wright <chris@osdl.org>
48- initial git spec file