2 %define module pyorbited
4 Summary: A Python client for the orbited (Orbit Event Daemon)
5 Summary(pl.UTF-8): Pythonowy klient demona zdarzeń orbited (Orbit Event Daemon)
10 Group: Libraries/Python
11 Source0: http://pypi.python.org/packages/source/p/pyorbited/%{module}-%{version}.zip
12 # Source0-md5: 50779977e358601a7a19719fc9ace3a5
13 Patch0: %{name}-orbited03.patch
14 URL: http://brbx.com/orbited/index.html
15 BuildRequires: libevent-devel
16 BuildRequires: python-devel >= 1:2.5
17 BuildRequires: python-modules
18 BuildRequires: python-setuptools
19 BuildRequires: rpm-pythonprov
20 %pyrequires_eq python-libs
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 A Python client for the orbited (Orbit Event Daemon), a COMET server.
27 Includes three implementations: pyevent, twisted, basic sockets.
29 %description -l pl.UTF-8
30 Pythonowy klient demona zdarzeń orbited (Orbit Event Daemon), serwera
31 COMET. Zawiera trzy implementacje: pyevent, twisted i opartą na
35 %setup -q -n %{module}-%{version}
39 %{__python} setup.py build_ext
42 rm -rf $RPM_BUILD_ROOT
44 %{__python} setup.py install \
45 --root=$RPM_BUILD_ROOT \
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %{py_sitescriptdir}/pyorbited
56 %{py_sitescriptdir}/pyorbited-*.egg-info