]> git.pld-linux.org Git - packages/python-pyorbited.git/blob - python-pyorbited.spec
b72fb4b9558123b3cdd35f0fda70256626fc91ac
[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 URL:            http://brbx.com/orbited/index.html
13 BuildRequires:  libevent-devel
14 BuildRequires:  python-devel >= 1:2.5
15 BuildRequires:  python-modules
16 BuildRequires:  python-setuptools
17 BuildRequires:  rpm-pythonprov
18 Requires:       orbited
19 %pyrequires_eq  python-libs
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 A python client for the orbited (Orbit Event Daemon), a COMET server.
25 Includes three implementations: pyevent, twisted, basic sockets.
26
27 %prep
28 %setup -q -n %{module}-%{version}
29
30 %build
31 python setup.py build_ext
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 python setup.py install \
37         --root=$RPM_BUILD_ROOT \
38         --optimize=2
39
40 %py_postclean
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %{py_sitescriptdir}/pyorbited
48 %{py_sitescriptdir}/pyorbited-*.egg-info
This page took 0.059212 seconds and 2 git commands to generate.