diff --git a/.cvsignore b/.cvsignore index e69de29..6d653f1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +TracNav-4.1.zip diff --git a/import.log b/import.log new file mode 100644 index 0000000..581ecd8 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +trac-tracnav-plugin-4_1-2_fc11:HEAD:trac-tracnav-plugin-4.1-2.fc11.src.rpm:1250407946 diff --git a/sources b/sources index e69de29..e1f7876 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +390ea72c9170bcc6a5994cb5954fcfcf TracNav-4.1.zip diff --git a/trac-tracnav-plugin.spec b/trac-tracnav-plugin.spec new file mode 100644 index 0000000..7536b5b --- /dev/null +++ b/trac-tracnav-plugin.spec @@ -0,0 +1,57 @@ +%{!?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: 2%{?dist} +Summary: Navigation Bar for Trac +Group: Applications/Internet +License: GPLv2+ +URL: http://svn.ipd.uka.de/trac/javaparty/wiki/TracNav +Source: http://pypi.python.org/packages/source/T/TracNav/TracNav-%{version}.zip +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 + +%description +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. + + +%prep +%setup -n %{tarname} -q + + +%build +%{__python} setup.py build + + +%install +rm -rf %{buildroot} +%{__python} setup.py install --skip-build --root %{buildroot} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{python_sitelib}/* + + +%changelog +* 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.