]> git.pld-linux.org Git - packages/python-amqplib.git/blob - python-amqplib.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-amqplib.git] / python-amqplib.spec
1 %define         module  amqplib
2 Summary:        Client library for AMQP (Advanced Message Queuing Protocol)
3 Name:           python-%{module}
4 Version:        1.0.2
5 Release:        2
6 License:        LGPL v2.1
7 Group:          Development/Languages/Python
8 Source0:        http://pypi.python.org/packages/source/a/%{module}/%{module}-%{version}.tgz
9 # Source0-md5:  5c92f17fbedd99b2b4a836d4352d1e2f
10 URL:            http://code.google.com/p/py-amqplib/
11 BuildRequires:  python-distribute
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.710
14 Requires:       python-modules
15 Requires:       python-pyparsing
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Client library for AMQP (Advanced Message Queuing Protocol).
21
22 %prep
23 %setup -q -n %{module}-%{version}
24
25 %build
26 %py_build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 %py_install
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* TODO
40 %{py_sitescriptdir}/%{module}
41 %if "%{py_ver}" > "2.4"
42 %{py_sitescriptdir}/%{module}-*.egg-info
43 %endif
This page took 0.097686 seconds and 3 git commands to generate.