rpms/stgit/FC-6 stgit.spec,NONE,1.1 sources,1.1,1.2

James Bowes (jbowes) fedora-extras-commits at redhat.com
Wed Apr 25 18:48:17 UTC 2007


Author: jbowes

Update of /cvs/extras/rpms/stgit/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32646

Modified Files:
	sources 
Added Files:
	stgit.spec 
Log Message:
Initial commit for FC-6


--- NEW FILE stgit.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           stgit
Version:        0.12.1
Release:        2%{?dist}
Summary:        StGIT provides similar functionality to Quilt on top of GIT

Group:          Development/Tools
License:        GPL
URL:            http://www.procode.org/stgit
Source0:        http://homepage.ntlworld.com/cmarinas/%{name}/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel

Requires:       git-core

%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.

Note that StGIT is not an SCM interface on top of GIT and it expects a
previously initialised GIT repository (unless it is cloned using StGIT
directly). For standard SCM operations, either use plain GIT commands
or the Cogito tool but it is not recommended to mix them with the
StGIT commands.


%prep
%setup -q


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
chmod -x $RPM_BUILD_ROOT%{_datadir}/stgit/contrib/stgbashprompt.sh
 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README

%{_bindir}/stg

# For noarch packages: sitelib
%{python_sitelib}/*
%{_datadir}/stgit


%changelog
* Wed Apr 25 2007 James Bowes <jbowes at redhat.com> - 0.12.1-2
- Use macro for datadir.

* Thu Apr 19 2007 James Bowes <jbowes at redhat.com> - 0.12.1-1
- Update version.
- Don't install the bash prompt shell script as executable.

* Fri Feb 02 2007 James Bowes <jbowes at redhat.com> - 0.12-1
- Initial packaging.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/stgit/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Apr 2007 17:44:21 -0000	1.1
+++ sources	25 Apr 2007 18:47:42 -0000	1.2
@@ -0,0 +1 @@
+36dd6bbfe80cebaa7cc2c073ece07f3c  stgit-0.12.1.tar.gz




More information about the scm-commits mailing list