Here's a simple spec file to do rpm builds.  It's against the
latest Makefile (which has the s/BINDIR/bindir/ change).  I've used
DESTDIR, although it's not clear it's meant to stay in the Makefile.
For now, there's no dynamic (, for example) update to the
Version, so it's set against 0.6.3 (expecting it to be forthcoming
shortly).  It installs to /usr/local/bin, and expects the tarball to be
named git-pasky-0.6.3.tar.bz2.  Creates a package named git, which seems
fine since Linus' isn't likely to be packaged directly.  Enjoy.

Signed-off-by: Chris Wright <[EMAIL PROTECTED]>

--- /dev/null   1969-12-31 16:00:00.000000000 -0800
+++ git-pasky-0.6.3/git.spec    2005-04-21 18:42:18.000000000 -0700
@@ -0,0 +1,43 @@
+Name:          git
+Version:       0.6.3
+Release:       1
+Vendor:        Petr Baudis <[EMAIL PROTECTED]>
+Summary:       Git core and tools
+License:       GPL
+Group:                 Development/Tools
+Provides:      git = %{version}
+BuildRequires: zlib-devel openssl-devel
+BuildRoot:     %{_tmppath}/%{name}-%{version}-root
+Prereq:        sh-utils diffutils
+GIT comes in two layers. The bottom layer is merely an extremely fast
+and flexible filesystem-based database designed to store directory trees
+with regard to their history. The top layer is a SCM-like tool which
+enables human beings to work with the database in a manner to a degree
+similar to other SCM tools (like CVS, BitKeeper or Monotone).
+%setup -q -n %{name}-pasky-%{version}
+make DESTDIR=$RPM_BUILD_ROOT/usr/local/ bindir=bin/ install
+* Thu Apr 21 2005 Chris Wright <[EMAIL PROTECTED]> 0.6.3-1
+- Initial rpm build
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to