Blob Blame Raw
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%global tarname TracNav-%{version}

Name:           trac-tracnav-plugin
Version:        4.1
Release:        6%{?dist}
Summary:        Navigation Bar for Trac
Group:          Applications/Internet
License:        GPLv2+
Patch0:         tracnav-4.1-trac-0.12-compat.patch
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  python-devel
BuildRequires:  python-setuptools-devel
Requires:       python-setuptools
Requires:       trac >= 0.11

The TracNav macro implements a fully customizable navigation bar for
the Trac wiki engine. The contents of the navigation bar is a wiki
page itself and can be edited like any other wiki page through the web
interface. The navigation bar supports hierarchical ordering of
topics. The design of TracNav mimics the design of the TracGuideToc
that was originally supplied with Trac.

%setup -n %{tarname} -q
# from r3276
%patch0 -p0

%{__python} build

rm -rf %{buildroot}
%{__python} install --skip-build --root %{buildroot}

rm -rf %{buildroot}


* Sat Jan 14 2012 Fedora Release Engineering <> - 4.1-6
- Rebuilt for

* Wed Feb 09 2011 Fedora Release Engineering <> - 4.1-5
- Rebuilt for

* Fri Jan  7 2011 Thomas Moschny <> - 4.1-4
- Add patch from upstream for Trac 0.12 compatibility.

* Thu Jul 22 2010 David Malcolm <> - 4.1-3
- Rebuilt for

* Fri Jul 31 2009 Thomas Moschny <> - 4.1-2
- Use %%global instead of %%define.

* Mon Jul 27 2009 Thomas Moschny <> - 4.1-1
- New package.