]>
Commit | Line | Data |
---|---|---|
a9c6f9c6 ER |
1 | %define module qpid |
2 | Summary: Python client library for AMQP | |
3 | Name: python-%{module} | |
4 | Version: 0.30 | |
5 | Release: 1 | |
6 | License: Apache v2.0 | |
7 | Group: Libraries/Python | |
8 | Source0: http://www.apache.org/dist/qpid/%{version}/qpid-python-%{version}.tar.gz | |
9 | # Source0-md5: f9099cfdc28b3583de0a2ed7089ae559 | |
10 | URL: http://qpid.apache.org/ | |
11 | BuildRequires: rpm-pythonprov | |
12 | BuildRequires: rpmbuild(macros) >= 1.219 | |
13 | Requires: python-saslwrapper | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | The Apache Qpid Python client library for AMQP. | |
19 | ||
20 | %prep | |
21 | %setup -q -n qpid-python-%{version} | |
22 | ||
23 | %build | |
5c7aec94 | 24 | %py_build |
a9c6f9c6 ER |
25 | |
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
5c7aec94 | 28 | %py_install |
a9c6f9c6 ER |
29 | |
30 | %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/qpid/tests | |
31 | ||
32 | %py_postclean | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc README.txt | |
40 | %doc examples | |
41 | %attr(755,root,root) %{_bindir}/qpid-python-test | |
42 | %dir %{py_sitescriptdir}/qpid | |
43 | %{py_sitescriptdir}/qpid/*.py[co] | |
44 | %dir %{py_sitescriptdir}/qpid/messaging | |
45 | %{py_sitescriptdir}/qpid/messaging/*.py[co] | |
46 | %dir %{py_sitescriptdir}/qpid/specs | |
47 | %{py_sitescriptdir}/qpid/specs/*.xml | |
48 | %{py_sitescriptdir}/qpid/specs/amqp-*.pcl | |
49 | %{py_sitescriptdir}/qpid/specs/amqp-*.dtd | |
50 | %{py_sitescriptdir}/qpid_python-%{version}-py*.egg-info | |
51 | %dir %{py_sitescriptdir}/mllib | |
52 | %{py_sitescriptdir}/mllib/*.py[co] |