d98ef9
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
d98ef9
d98ef9
%global tarname TracNav-%{version}
d98ef9
d98ef9
Name:           trac-tracnav-plugin
d98ef9
Version:        4.1
5cbed2
Release:        14%{?dist}
d98ef9
Summary:        Navigation Bar for Trac
d98ef9
Group:          Applications/Internet
d98ef9
License:        GPLv2+
d98ef9
URL:            http://svn.ipd.uka.de/trac/javaparty/wiki/TracNav
d98ef9
Source:         http://pypi.python.org/packages/source/T/TracNav/TracNav-%{version}.zip
ee7dd6
Patch0:         tracnav-4.1-trac-0.12-compat.patch
d98ef9
BuildArch:      noarch
d98ef9
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
d98ef9
BuildRequires:  python-devel
87ad50
BuildRequires:  python-setuptools
d98ef9
Requires:       python-setuptools
d98ef9
Requires:       trac >= 0.11
d98ef9
d98ef9
%description
d98ef9
The TracNav macro implements a fully customizable navigation bar for
d98ef9
the Trac wiki engine. The contents of the navigation bar is a wiki
d98ef9
page itself and can be edited like any other wiki page through the web
d98ef9
interface. The navigation bar supports hierarchical ordering of
d98ef9
topics. The design of TracNav mimics the design of the TracGuideToc
d98ef9
that was originally supplied with Trac.
d98ef9
d98ef9
d98ef9
%prep
d98ef9
%setup -n %{tarname} -q
ee7dd6
# from r3276
ee7dd6
%patch0 -p0
d98ef9
d98ef9
d98ef9
%build
d98ef9
%{__python} setup.py build
d98ef9
d98ef9
d98ef9
%install
d98ef9
rm -rf %{buildroot}
d98ef9
%{__python} setup.py install --skip-build --root %{buildroot}
d98ef9
d98ef9
d98ef9
%clean
d98ef9
rm -rf %{buildroot}
d98ef9
d98ef9
d98ef9
%files
d98ef9
%defattr(-,root,root,-)
d98ef9
%doc COPYING README
d98ef9
%{python_sitelib}/*
d98ef9
d98ef9
d98ef9
%changelog
5cbed2
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-14
5cbed2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5cbed2
b9a2af
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-13
b9a2af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b9a2af
8ec28c
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-12
8ec28c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8ec28c
87ad50
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 4.1-11
87ad50
- Replace python-setuptools-devel BR with python-setuptools
87ad50
d75e72
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-10
d75e72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d75e72
27e2e3
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-9
27e2e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
27e2e3
301d89
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-8
301d89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
301d89
0c7cbe
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-7
0c7cbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0c7cbe
09fc28
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-6
09fc28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
09fc28
7d660f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-5
7d660f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7d660f
ee7dd6
* Fri Jan  7 2011 Thomas Moschny <thomas.moschny@gmx.de> - 4.1-4
ee7dd6
- Add patch from upstream for Trac 0.12 compatibility.
ee7dd6
2ab3c8
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 4.1-3
2ab3c8
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2ab3c8
d98ef9
* Fri Jul 31 2009 Thomas Moschny <thomas.moschny@gmx.de> - 4.1-2
d98ef9
- Use %%global instead of %%define.
d98ef9
d98ef9
* Mon Jul 27 2009 Thomas Moschny <thomas.moschny@gmx.de> - 4.1-1
d98ef9
- New package.