]> git.pld-linux.org Git - packages/python-amqplib.git/commitdiff
- initial.
authorcieciwa <cieciwa@pld-linux.org>
Wed, 25 May 2011 07:42:02 +0000 (07:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-amqplib.spec -> 1.1

python-amqplib.spec [new file with mode: 0644]

diff --git a/python-amqplib.spec b/python-amqplib.spec
new file mode 100644 (file)
index 0000000..7a61984
--- /dev/null
@@ -0,0 +1,55 @@
+%define        module  amqplib
+Summary:       AMQP Messaging Framework for Python
+Summary(pl.UTF-8):     -
+Name:          python-%{module}
+Version:       0.6.1
+Release:       0.1
+License:       BSD-like
+Group:         Development/Languages/Python
+Source0:       http://pypi.python.org/packages/source/a/%{module}/%{module}-%{version}.tgz
+# Source0-md5: b2f6679b27eaae97c50a9c3504154fae
+URL:           -
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-modules
+Requires:      python-pyparsing
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+
+%preun
+
+%post
+
+%postun
+
+%files
+%defattr(644,root,root,755)
+%doc README* TODO
+
+%{py_sitescriptdir}/%{module}
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}-*.egg-info
+%endif
This page took 0.050309 seconds and 4 git commands to generate.