2 %define module pyorbited
4 Summary: A python client for the orbited (Orbit Event Daemon)
9 Group: Libraries/Python
10 Source0: http://pypi.python.org/packages/source/p/pyorbited/%{module}-%{version}.zip
11 # Source0-md5: 50779977e358601a7a19719fc9ace3a5
12 Patch0: %{name}-orbited03.patch
13 URL: http://brbx.com/orbited/index.html
14 BuildRequires: libevent-devel
15 BuildRequires: python-devel >= 1:2.5
16 BuildRequires: python-modules
17 BuildRequires: python-setuptools
18 BuildRequires: rpm-pythonprov
20 %pyrequires_eq python-libs
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 A python client for the orbited (Orbit Event Daemon), a COMET server.
26 Includes three implementations: pyevent, twisted, basic sockets.
29 %setup -q -n %{module}-%{version}
33 python setup.py build_ext
36 rm -rf $RPM_BUILD_ROOT
38 python setup.py install \
39 --root=$RPM_BUILD_ROOT \
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %{py_sitescriptdir}/pyorbited
50 %{py_sitescriptdir}/pyorbited-*.egg-info