[python-pika/f14/master] Initial import into f14 branch (#639652).

icheishvili icheishvili at fedoraproject.org
Wed Oct 6 04:37:23 UTC 2010


commit c366fb109fe895541445d20ef287135bafb36cd8
Author: Ilia Cheishvili <ilia.cheishvili at gmail.com>
Date:   Tue Oct 5 22:37:30 2010 -0600

    Initial import into f14 branch (#639652).

 .gitignore       |    1 +
 python-pika.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c84f2a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tonyg-pika-v0.5.2-0-gba01f9e.tar.gz
diff --git a/python-pika.spec b/python-pika.spec
new file mode 100644
index 0000000..f0e8f1d
--- /dev/null
+++ b/python-pika.spec
@@ -0,0 +1,61 @@
+%define short_name pika
+
+Name:           python-%{short_name}
+Version:        0.5.2
+Release:        1%{?dist}
+Summary:        AMQP 0-8 and 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/v0.5.2
+# GitHub has layers of redirection and renames that make this a troublesome
+# URL to include directly.
+Source0:        tonyg-%{short_name}-v%{version}-0-gba01f9e.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-8 protocol (with an
+0-9-1 implementation on a separate git branch, for now) that tries to
+stay fairly independent of the underlying network support library. It
+also tries to stay neutral as to programming style, supporting (where
+possible) both synchronous and asynchronous approaches.
+
+
+%prep
+%setup -q -n tonyg-%{short_name}-d7e7565
+
+
+%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 Oct 2 2010 Ilia Cheishvili <ilia.cheishvili at gmail.com> - 0.5.2-1
+- Initial Package
+
diff --git a/sources b/sources
index e69de29..b370f9d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2facefcd730b09b507fc11912402672e  tonyg-pika-v0.5.2-0-gba01f9e.tar.gz


More information about the scm-commits mailing list