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