# vim: set ft=spec: -*- rpm-spec -*-

Name: stgit
Version: 0.9
Release: alt1

Summary: Stacked GIT
Group: Development/Other
License: GPL
URL: http://www.procode.org/%name/

Source0: http://homepage.ntlworld.com/cmarinas/%name/%name-%version.tar.gz

PreReq: python = %__python_version
BuildPreReq: python-devel = %__python_version

BuildArch: noarch

%description
StGIT is a Python application providing similar functionality to
Quilt (i.e. pushing/popping patches to/from a stack) on top of GIT.
These operations are performed using GIT commands and the patches
are stored as GIT commit objects, allowing easy merging of the StGIT
patches into other repositories using standard GIT functionality.

%prep
%setup -q
%__bzip2 -9 ChangeLog

%build
%__python setup.py build -e %_bindir/python%__python_version

%install
%__python setup.py install --prefix=%_prefix --root=%buildroot

%files
%doc AUTHORS ChangeLog* README TODO
%_bindir/stg
%_datadir/%name
%python_sitelibdir/%name

%changelog
* Mon May 15 2006 %packager 0.9-alt1
- Built for Sisyphus

