SPECS: python-rel.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Wed Apr 9 13:56:59 CEST 2008


Author: patrys                       Date: Wed Apr  9 11:56:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   python-rel.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-rel.spec
diff -u /dev/null SPECS/python-rel.spec:1.1
--- /dev/null	Wed Apr  9 13:56:59 2008
+++ SPECS/python-rel.spec	Wed Apr  9 13:56:54 2008
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+
+%define		module rel
+
+Summary:	A pure Python pyevent emulation module
+Name:		python-%{module}
+Version:	0.1.12
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	http://registeredeventlistener.googlecode.com/files/%{module}-%{version}.tar.gz
+# Source0-md5:	8b06018efc4a1ca9441a1be0f0e70d8b
+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
+Suggests:	orbited
+%pyrequires_eq	python-libs
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The rel module is a drop-in replacement for pyevent that completely
+emulates pyevent's interface, behavior and functionality on any system
+with Python. It will use pyevent if it's available, and if it's not
+rel will use the fastest method supported by the system.
+
+%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}/%{module}
+%{py_sitescriptdir}/%{module}-*.egg-info
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-04-09 11:56:54  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list