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