diff --git a/sources b/sources index e69de29..2d5c45e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +591ed8eb2b5a15dfd0fb56a3e04c2dce iniadminplugin_0.10-r2824.zip diff --git a/trac-iniadmin-plugin.spec b/trac-iniadmin-plugin.spec new file mode 100644 index 0000000..98a5108 --- /dev/null +++ b/trac-iniadmin-plugin.spec @@ -0,0 +1,62 @@ +# 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 2824 + +Name: trac-iniadmin-plugin +Version: 0.1 +Release: 2.20071126svn%{svnrev}%{?dist} +Summary: Expose all TracIni options using the Trac 0.10 config option API + +Group: Applications/Internet +License: BSD +URL: http://trac-hacks.org/wiki/IniAdminPlugin +# Source comes from Trac right now: http://trac-hacks.org/changeset/%{svnrev}/iniadminplugin/0.10?old_path=/&filename=iniadminplugin/0.10&format=zip +Source0: iniadminplugin_0.10-r%{svnrev}.zip +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: trac, python-setuptools + +%description +This plugin uses the new configuration option API in Trac 0.10 to allow +modification of any field exposed through this mechanism. + +This currently includes all core Trac settings, and although no plugins are +taking advantage of this yet, I'm sure it will only be a matter of time :) + +Note: Many Trac options require a restart of the server process, so your +changes may not take effect until that is done. + +%prep +%setup -n iniadminplugin/0.10 -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 + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +# For noarch packages: sitelib +%{python_sitelib}/* + + +%changelog +* Wed Dec 05 2007 Jesse Keating - 0.1-2.20071126svn2824 +- Change the url to point to the exact svn rev we're packaging. + +* Mon Nov 26 2007 Jesse Keating - 0.1-1.20071126svn2824 +- Initial package for Fedora