]> git.pld-linux.org Git - packages/python-pyorbited.git/blob - python-pyorbited.spec
42cb037dce1038e61b9e69d9eb3366a90751d44f
[packages/python-pyorbited.git] / python-pyorbited.spec
1
2 %define         module pyorbited
3
4 Summary:        A python client for the orbited (Orbit Event Daemon)
5 Name:           python-%{module}
6 Version:        0.1.1
7 Release:        1
8 License:        MIT
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
19 Suggests:       orbited
20 %pyrequires_eq  python-libs
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A python client for the orbited (Orbit Event Daemon), a COMET server.
26 Includes three implementations: pyevent, twisted, basic sockets.
27
28 %prep
29 %setup -q -n %{module}-%{version}
30 %patch0 -p1
31
32 %build
33 python setup.py build_ext
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 python setup.py install \
39         --root=$RPM_BUILD_ROOT \
40         --optimize=2
41
42 %py_postclean
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %{py_sitescriptdir}/pyorbited
50 %{py_sitescriptdir}/pyorbited-*.egg-info
This page took 0.060907 seconds and 2 git commands to generate.