Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 7fc78d4aed20590aa0cf94ca092d44ed > files > 2

trac-git-plugin-0.11.0.2-6.20090511svn5396.fc14.src.rpm

# 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 5396

Name:           trac-git-plugin
Version:        0.11.0.2
Release:        6.20090511svn%{svnrev}%{?dist}
Summary:        GIT version control plugin for Trac

Group:          Applications/Internet
License:        GPLv2+
URL:            http://trac-hacks.org/wiki/GitPlugin
# Source comes from SVN right now: svn co -r %{svnrev} http://trac-hacks.org/svn/gitplugin; \
#                                  cd gitplugin/0.11/; \
#                                  python setup.py sdist --formats gztar
# The above has to be done on EL5 due to regressions in setuptools
Source0:        TracGit-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools
Requires:       git-core, trac >= 0.11, python-setuptools

%description
This Trac plugin provides support for the GIT SCM.

%prep
%setup -n TracGit-%{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 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.11.0.2-6.20090511svn5396
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0.2-5.20090511svn5396
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Mon May 11 2009 Jesse Keating <jkeating@redhat.com> - 0.11.0.2-2.20090511svn5396
- Drop COPYING, it doesn't make it into the tarball.

* Mon May 11 2009 Jesse Keating <jkeating@redhat.com> - 0.11.0.2-1.20090511svn5396
- Update for trac 0.11.  Drop patches as those are in the 0.11 branch.

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-8.20070705svn1536
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.0.1-7.20070705svn1536
- Rebuild for Python 2.6

* Mon Sep  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.1-6.20070705svn1536
- fix license tag

* Fri May 16 2008 Jesse Keating <jkeating@redhat.com> - 0.0.1-5.20070705svn1536
- Add patches from http://nanosleep.org/proj/trac-git-plugin

* Mon Nov 26 2007 Jesse Keating <jkeating@redhat.com> - 0.0.1-4.20070705svn1536
- Add a patch to prevent tracebacks when using this plugin

* Thu Jul 05 2007 Jesse Keating <jkeating@redhat.com> - 0.0.1-3.20070705svn1536
- Require trac and python-setuptools as well

* Thu Jul 05 2007 Jesse Keating <jkeating@redhat.com> - 0.0.1-2.20070705svn1536
- Require git-core

* Thu Jul 05 2007 Jesse Keating <jkeating@redhat.com> - 0.0.1-1.20070705svn1536
- Initial build