diff --git a/.cvsignore b/.cvsignore index e69de29..263a0b8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xmlrpcplugin-r2892.tar.bz2 diff --git a/sources b/sources index e69de29..c995b7f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d0c2e58bb5e411f8aa8f408564dbf487 xmlrpcplugin-r2892.tar.bz2 diff --git a/trac-xmlrpc-plugin.spec b/trac-xmlrpc-plugin.spec new file mode 100644 index 0000000..4aaf266 --- /dev/null +++ b/trac-xmlrpc-plugin.spec @@ -0,0 +1,59 @@ +# 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 2892 +%define upname xmlrpcplugin + +Name: trac-xmlrpc-plugin +Version: 0.1 +Release: 0.3.r%{svnrev}%{?dist} +Summary: Allows Trac plugins to export their interface via XML-RPC + +Group: Applications/Internet +License: BSD + +URL: http://trac-hacks.org/wiki/XmlRpcPlugin +# The source for this package was pulled from upstream's vcs. Use the +# following commands to generate the tarball: +Source0: %{upname}-r%{svnrev}.tar.bz2 +# svn export -r %{svnrev} http://trac-hacks.org/svn/xmlrpcplugin/0.10 xmlrpcplugin +# tar -cjvf xmlrpcplugin-r%{svnrev}.tar.bz2 xmlrpcplugin +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: trac, python-setuptools + +%description +This plugin allows Trac plugins to export select parts of their +interface via XML-RPC. It also includes some exported functions +for manipulating tickets, with plans to include interfaces to other parts +of Trac's API. + +%prep +%setup -n %{upname} -q + +%build +%{__python} setup.py build + +%install +%{__rm} -fr %{buildroot} +%{__python} setup.py install --skip-build --root %{buildroot} + +%clean +%{__rm} -fr %{buildroot} + +%files +%defattr(-,root,root,-) +%{python_sitelib}/* + +%changelog +* Tue Dec 18 2007 Sergio Pascual - 0.1-0.3.r2892 +- Renamed as trac-xmlrpc-plugin + +* Mon Dec 17 2007 Sergio Pascual - 0.1-0.2.r2892 +- Removed redundant line in install section + +* Thu Dec 13 2007 Sergio Pascual - 0.1-0.1.r2892 +- Initial build, initial template borrowed from Jesse Keating's trac-webadmin