rpms/trac-monotone-plugin/F-7 trac-monotone-plugin.spec, NONE, 1.1 sources, 1.1, 1.2
Roland McGrath (roland)
fedora-extras-commits at redhat.com
Sun Jan 20 02:23:12 UTC 2008
Author: roland
Update of /cvs/pkgs/rpms/trac-monotone-plugin/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14563/F-7
Modified Files:
sources
Added Files:
trac-monotone-plugin.spec
Log Message:
Initial import of new package
--- NEW FILE trac-monotone-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 tarname TracMonotone-%{version}
%define tardate 20080116
%define tarrev 3907adc7
%define tarsfx .%{tardate}mtn%{tarrev}
Name: trac-monotone-plugin
Version: 0.0.12
Release: 1%{tarsfx}%{?dist}
Summary: Monotone version control plugin for Trac
Group: Applications/Internet
License: GPLv2+
URL: http://tracmtn.1erlei.de/
# Source comes from mtn right now:
# mtn clone -b net.venge.monotone.trac-plugin -r %{tarrev} monotone.ca tracmtn
# cd tracmtn; python setup.py sdist --formats bztar
# mv dist/%{tarname}.tar.bz2 %{tarname}%{tarsfx}.tar.bz2
Source: %{tarname}%{tarsfx}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Must have setuptools to build the package
# The build portions moved to a subpackage in F-8
%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
%else
BuildRequires: python-setuptools
%endif
BuildArch: noarch
BuildRequires: python-devel
Requires: python-setuptools
Requires: trac
Requires: monotone >= 0.31
%description
This Trac plugin provides support for the Monotone SCM.
%prep
%setup -n %{tarname} -q
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
# For noarch packages: sitelib
%{python_sitelib}/*
%changelog
* Fri Jan 18 2008 Roland McGrath <roland at redhat.com> - 0.0.12-1.20080116mtn3907adc7
- New package
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/trac-monotone-plugin/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 19 Jan 2008 18:30:45 -0000 1.1
+++ sources 20 Jan 2008 02:22:36 -0000 1.2
@@ -0,0 +1 @@
+e66cb2ed360aa57e544c4cd57ffc9bef TracMonotone-0.0.12.20080116mtn3907adc7.tar.bz2
More information about the fedora-extras-commits
mailing list