]> git.pld-linux.org Git - packages/python-pyorbited.git/blob - python-pyorbited.spec
BR: rpmbuild(macros) >= 1.710
[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:        4
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:  rpmbuild(macros) >= 1.710
16 BuildRequires:  libevent-devel
17 BuildRequires:  python-devel >= 1:2.5
18 BuildRequires:  python-modules
19 BuildRequires:  python-setuptools
20 BuildRequires:  rpm-pythonprov
21 BuildRequires:  unzip
22 %pyrequires_eq  python-libs
23 Suggests:       orbited
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 A Python client for the orbited (Orbit Event Daemon), a COMET server.
29 Includes three implementations: pyevent, twisted, basic sockets.
30
31 %description -l pl.UTF-8
32 Pythonowy klient demona zdarzeń orbited (Orbit Event Daemon), serwera
33 COMET. Zawiera trzy implementacje: pyevent, twisted i opartą na
34 zwykłych gniazdach.
35
36 %prep
37 %setup -q -n %{module}-%{version}
38 %patch0 -p1
39
40 %build
41 %{__python} setup.py build_ext
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %py_install
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.073634 seconds and 3 git commands to generate.