]> git.pld-linux.org Git - SPECS.git/blob - trac-plugin-xmlrpc.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / trac-plugin-xmlrpc.spec
1 %define         trac_ver        0.12
2 %define         plugin          xmlrpc
3 %define         module          tracrpc
4 %define         egg_name        TracXMLRPC
5 %define         pypi_name       TracXMLRPC
6 Summary:        Remote Procedure Call plugin for Trac
7 Name:           trac-plugin-%{plugin}
8 Version:        1.1.6
9 Release:        1
10 License:        BSD
11 Group:          Applications/WWW
12 Source0:        https://files.pythonhosted.org/packages/source/T/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
13 # Source0-md5:  dca985ad9f056e9851f575b52e139d6b
14 URL:            https://trac-hacks.org/wiki/XmlRpcPlugin
15 BuildRequires:  python-setuptools
16 BuildRequires:  rpm-pythonprov
17 BuildRequires:  rpm-pythonprov
18 BuildRequires:  rpmbuild(macros) >= 1.714
19 Requires:       trac >= %{trac_ver}
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This plugin allows Trac plugins to export select parts of their
25 interface via XML-RPC and JSON-RPC (if json or simplejson is
26 available). Latest trunk version includes a pluggable API for
27 extending protocols, and see for instance TracRpcProtocolsPlugin for
28 more protocols.
29
30 %prep
31 %setup -q -n %{pypi_name}-%{version}
32
33 %build
34 %py_build build
35 %py_build egg_info
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %py_install
40 %py_postclean
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %post
46 trac-enableplugin "tracrpc.*"
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README.wiki
51 %{py_sitescriptdir}/%{module}
52 %{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
This page took 0.28933 seconds and 3 git commands to generate.