]> git.pld-linux.org Git - packages/python-zmq.git/commitdiff
- initial
authorKarol Krenski <charles@pld-linux.org>
Tue, 25 Oct 2011 03:57:33 +0000 (03:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-pyzmq.spec -> 1.1

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

diff --git a/python-pyzmq.spec b/python-pyzmq.spec
new file mode 100644 (file)
index 0000000..10462f4
--- /dev/null
@@ -0,0 +1,72 @@
+# $Revision: 1.1 $
+%define        module  pyzmq
+Summary:       ØMQ bindings for Python
+Summary(pl.UTF-8):     Wiązania biblioteki ØMQ dla Pythona
+Name:          python-%{module}
+Version:       2.1.10
+Release:       1
+License:       GPL v3
+Group:         Development/Languages/Python
+Source0:       https://github.com/downloads/zeromq/pyzmq/%{module}-%{version}.tar.gz
+# Source0-md5: 19d66e4bf99b570aed0c4d744f23c980
+URL:           http://github.com/zeromq/pyzmq
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: zeromq-devel >= %{version}
+%pyrequires_eq python-libs
+Requires:      zeromq >= %{version}
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ØMQ bindings for Python.
+
+%description -l pl.UTF-8
+Wiązania biblioteki ØMQ dla Pythona.
+
+%prep
+%setup -qn %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/zmq/tests
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/zmq/{core,devices,utils}/*.pxd
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%dir %{py_sitedir}/zmq
+%{py_sitedir}/zmq/*.py[co]
+%dir %{py_sitedir}/zmq/core
+%{py_sitedir}/zmq/core/*.py[co]
+%attr(755,root,root) %{py_sitedir}/zmq/core/*.so
+%dir %{py_sitedir}/zmq/devices
+%{py_sitedir}/zmq/devices/*.py[co]
+%attr(755,root,root) %{py_sitedir}/zmq/devices/*.so
+%dir %{py_sitedir}/zmq/eventloop
+%{py_sitedir}/zmq/eventloop/*.py[co]
+%dir %{py_sitedir}/zmq/eventloop/platform
+%{py_sitedir}/zmq/eventloop/platform/*.py[co]
+%dir %{py_sitedir}/zmq/log
+%{py_sitedir}/zmq/log/*.py[co]
+%dir %{py_sitedir}/zmq/ssh
+%{py_sitedir}/zmq/ssh/*.py[co]
+%dir %{py_sitedir}/zmq/utils
+%{py_sitedir}/zmq/utils/*.py[co]
+%attr(755,root,root) %{py_sitedir}/zmq/utils/*.so
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/pyzmq-*.egg-info
+%endif
This page took 0.045794 seconds and 4 git commands to generate.