-
Notifications
You must be signed in to change notification settings - Fork 1
/
python-pika.spec
66 lines (49 loc) · 1.63 KB
/
python-pika.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%define short_name pika
Name: python-%{short_name}
Version: 0.9.3
Release: 1%{?dist}
Summary: AMQP 0-9-1 client library for Python
Group: Development/Libraries
License: MPLv1.1 or GPLv2
URL: http://github.com/tonyg/pika
# The tarball comes from here:
# http://github.com/tonyg/pika/tarball/v%{version}
# GitHub has layers of redirection and renames that make this a troublesome
# URL to include directly.
Source0: tonyg-%{short_name}-v%{version}-0-gfaf4cc0.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-setuptools
BuildRequires: python-devel
Requires: python
%description
Pika is a pure-Python implementation of the AMQP 0-9-1 protocol that
tries to stay fairly independent of the underlying network support
library.
%prep
%setup -q -n tonyg-%{short_name}-faf4cc0
%build
%{__python} setup.py build
%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%dir %{python_sitelib}/%{short_name}*
%{python_sitelib}/%{short_name}*/*
%doc COPYING
%doc LICENSE-GPL-2.0
%doc LICENSE-MPL-Pika
%doc README.md
%doc THANKS
%doc TODO
%doc examples
%changelog
* Sat Feb 19 2011 Ilia Cheishvili <[email protected]> - 0.9.3-1
- Upgrade to version 0.9.3
* Tue Feb 08 2011 Fedora Release Engineering <[email protected]> - 0.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Oct 2 2010 Ilia Cheishvili <[email protected]> - 0.5.2-1
- Initial Package