]> git.pld-linux.org Git - packages/python-pyorbited.git/blob - python-pyorbited.spec
automatic change: use py_build/py_install macros
[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:        3
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 BuildRequires:  unzip
21 %pyrequires_eq  python-libs
22 Suggests:       orbited
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 A Python client for the orbited (Orbit Event Daemon), a COMET server.
28 Includes three implementations: pyevent, twisted, basic sockets.
29
30 %description -l pl.UTF-8
31 Pythonowy klient demona zdarzeń orbited (Orbit Event Daemon), serwera
32 COMET. Zawiera trzy implementacje: pyevent, twisted i opartą na
33 zwykłych gniazdach.
34
35 %prep
36 %setup -q -n %{module}-%{version}
37 %patch0 -p1
38
39 %build
40 %{__python} setup.py build_ext
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %py_install
46
47 %py_postclean
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %{py_sitescriptdir}/pyorbited
55 %{py_sitescriptdir}/pyorbited-*.egg-info
This page took 0.046316 seconds and 3 git commands to generate.