]> git.pld-linux.org Git - packages/python-pyorbited.git/commitdiff
- initial PLD release
authorPatryk Zawadzki <patrys@room-303.com>
Mon, 28 Jan 2008 17:53:58 +0000 (17:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-pyorbited.spec -> 1.1

python-pyorbited.spec [new file with mode: 0644]

diff --git a/python-pyorbited.spec b/python-pyorbited.spec
new file mode 100644 (file)
index 0000000..b72fb4b
--- /dev/null
@@ -0,0 +1,48 @@
+
+%define                module pyorbited
+
+Summary:       A python client for the orbited (Orbit Event Daemon)
+Name:          python-%{module}
+Version:       0.1.1
+Release:       1
+License:       MIT
+Group:         Libraries/Python
+Source0:       http://pypi.python.org/packages/source/p/pyorbited/%{module}-%{version}.zip
+# Source0-md5: 50779977e358601a7a19719fc9ace3a5
+URL:           http://brbx.com/orbited/index.html
+BuildRequires: libevent-devel
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: python-modules
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+Requires:      orbited
+%pyrequires_eq python-libs
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A python client for the orbited (Orbit Event Daemon), a COMET server.
+Includes three implementations: pyevent, twisted, basic sockets.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build_ext
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/pyorbited
+%{py_sitescriptdir}/pyorbited-*.egg-info
This page took 0.182758 seconds and 4 git commands to generate.