SPECS: stgit.spec (NEW) - added

aredridel aredridel at pld-linux.org
Tue Sep 12 01:33:47 CEST 2006


Author: aredridel                    Date: Mon Sep 11 23:33:47 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   stgit.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/stgit.spec
diff -u /dev/null SPECS/stgit.spec:1.1
--- /dev/null	Tue Sep 12 01:33:47 2006
+++ SPECS/stgit.spec	Tue Sep 12 01:33:41 2006
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+Summary:	Stacked GIT
+Name:		stgit
+Version:	0.10
+Release:	1
+License:	GPL
+Group:		Applications
+Source0:	http://homepage.ntlworld.com/cmarinas/stgit/%{name}-%{version}.tar.gz
+# Source0-md5:	121b22bc3904c8c645ba46c13ac79eae
+URL:		http://www.procode.org/stgit/
+BuildRequires:	python
+Requires:	git-core
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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
+
+%build
+CFLAGS="%{rpmcflags}"
+export CFLAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/*.py
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/commands/*.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_bindir}/*
+%dir %{py_sitescriptdir}/%{name}
+%dir %{py_sitescriptdir}/%{name}/commands
+%{py_sitescriptdir}/%{name}/*.py[co]
+%{py_sitescriptdir}/%{name}/commands/*.py[co]
+%{_datadir}/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/09/11 23:33:41  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list