rpms/trac-mercurial-plugin/FC-6 trac-mercurial-plugin.spec, NONE, 1.1 sources, 1.1, 1.2
Jesse Keating (jkeating)
fedora-extras-commits at redhat.com
Fri Jul 6 03:11:30 UTC 2007
Author: jkeating
Update of /cvs/pkgs/rpms/trac-mercurial-plugin/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31191/FC-6
Modified Files:
sources
Added Files:
trac-mercurial-plugin.spec
Log Message:
Copy to all branches
--- NEW FILE trac-mercurial-plugin.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()")}
%define svnrev 5798
Name: trac-mercurial-plugin
Version: 0.10.0.2
Release: 2.20070705svn%{svnrev}%{?dist}
Summary: Mercurial plugin for Trac
Group: Applications/Internet
License: GPL
URL: http://trac.edgewall.org/wiki/TracMercurial
# Source comes from SVN right now: svn co -r %{svnrev} http://svn.edgewall.com/repos/trac/sandbox/mercurial-plugin/; \
# cd mercurial-plugin; \
# python setup.py sdist --formats gztar
Source0: TracMercurial-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: mercurial
%description
This plugin for Trac provides support for the Mercurial SCM.
%prep
%setup -n TracMercurial-%{version} -q
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
# skip-build doesn't work on el4
%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT
# Remove installed doc files, we grab them later
rm $RPM_BUILD_ROOT/usr/COPYING
rm $RPM_BUILD_ROOT/usr/README
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
# For noarch packages: sitelib
%{python_sitelib}/*
%changelog
* Thu Jul 05 2007 Jesse Keating <jkeating at redhat.com> - 0.10.0.2-2.20070705svn5798
- Require mercurial
* Thu Jul 05 2007 Jesse Keating <jkeating at redhat.com> - 0.10.0.2-1.20070705svn5798
- Initial build
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/trac-mercurial-plugin/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 Jul 2007 02:50:41 -0000 1.1
+++ sources 6 Jul 2007 03:10:55 -0000 1.2
@@ -0,0 +1 @@
+f9cc477b4f24256115bd7eba9f831c66 TracMercurial-0.10.0.2.tar.gz
More information about the scm-commits
mailing list