Make "git diff" use git-sh-setup-script too..
[alt-git.git] / git-core.spec.in
blob099451090b7da1321a25babdf1a758198cb2843e
1 Name: git-core
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
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).
21 %prep
22 %setup -q
24 %build
26 make
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 make dest=$RPM_BUILD_ROOT prefix=%{_prefix} install
32 %clean
33 rm -rf $RPM_BUILD_ROOT
35 %files
36 %defattr(-,root,root)
37 %{_bindir}/*
38 %doc README COPYING Documentation/*
40 %changelog
41 * Wed Jul 7 2005 Chris Wright <chris@osdl.org>
42 - initial git spec file