SPECS: python-POW.spec (NEW) - initial - builds and works, but nee...

beorn beorn at pld-linux.org
Tue Oct 9 20:33:26 CEST 2007


Author: beorn                        Date: Tue Oct  9 18:33:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial
- builds and works, but needs support for Python 2.5 (egg-info)

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

---- Diffs:

================================================================
Index: SPECS/python-POW.spec
diff -u /dev/null SPECS/python-POW.spec:1.1
--- /dev/null	Tue Oct  9 20:33:26 2007
+++ SPECS/python-POW.spec	Tue Oct  9 20:33:21 2007
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%define		module	POW
+#
+Summary:	OpenSSL bindings for Python
+Summary(pl.UTF-8):	Interfejs OpenSSL dla Pythona
+Name:		python-%{module}
+Version:	0.7
+Release:	0.1
+License:	BSD
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/pow/%{module}-%{version}.tar.gz
+# Source0-md5:	e2d83a9f564cfd0ea1e1aa6488a05247
+URL:		http://sourceforge.net/projects/pow/
+BuildRequires:	openssl-devel >= 0.9.6
+BuildRequires:	python-devel >= 1:2.4
+BuildRequires:	rpmbuild(macros) >= 1.219
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python interface to the OpenSSL library.
+
+%description -l pl.UTF-8
+Interfejs Pythona do biblioteki OpenSSL.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitedir}
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README docs/*.pdf
+%dir %{py_sitedir}/%{module}/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/*.so
+
+%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  2007/10/09 18:33:21  beorn
+- initial
+- builds and works, but needs support for Python 2.5 (egg-info)
+
================================================================


More information about the pld-cvs-commit mailing list