]> git.ipfire.org Git - thirdparty/git.git/blob - git.spec.in
Infrastructure for git rpm builds. Adds GIT_VERSION to Makefile and new make
[thirdparty/git.git] / git.spec.in
1 Name: git
2 Version: @@VERSION@@
3 Release: 1
4 Vendor: Linus Torvalds <torvalds@osdl.org>
5 Summary: Git core and tools
6 License: GPL
7 Group: Development/Tools
8 URL: http://kernel.org/pub/software/scm/git/
9 Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
10 BuildRequires: zlib-devel, openssl-devel, curl-devel
11 BuildRoot: %{_tmppath}/%{name}-%{version}-root
12 Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5
13
14 %description
15 GIT comes in two layers. The bottom layer is merely an extremely fast
16 and flexible filesystem-based database designed to store directory trees
17 with regard to their history. The top layer is a SCM-like tool which
18 enables human beings to work with the database in a manner to a degree
19 similar to other SCM tools (like CVS, BitKeeper or Monotone).
20
21 %prep
22 %setup -q
23
24 %build
25
26 make
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 make dest=$RPM_BUILD_ROOT prefix=%{_prefix} install
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(-,root,root)
37 %{_bindir}/*
38 %doc README COPYING Documentation/*
39
40 %changelog
41 * Wed Jul 7 2005 Chris Wright <chris@osdl.org>
42 - initial git spec file