SPECS: python-hashlib.spec (NEW) - new
arekm
arekm at pld-linux.org
Fri Jul 25 19:45:32 CEST 2008
Author: arekm Date: Fri Jul 25 17:45:32 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-hashlib.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-hashlib.spec
diff -u /dev/null SPECS/python-hashlib.spec:1.1
--- /dev/null Fri Jul 25 19:45:32 2008
+++ SPECS/python-hashlib.spec Fri Jul 25 19:45:26 2008
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+%define module hashlib
+Summary: Python secure hash and message digest module
+Name: python-%{module}
+Version: 20060408a
+Release: 1
+License: PSF
+Group: Libraries/Python
+Source0: http://code.krypto.org/python/hashlib/hashlib-%{version}.tar.gz
+# Source0-md5: 7c8df988d2d467dae1f34251ec5d95bd
+URL: http://code.krypto.org/python/hashlib/
+BuildRequires: python-devel < 1:2.5
+BuildRequires: python-devel >= 1:2.4
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python secure hash and message digest module MD5, SHA1, SHA224,
+SHA256, SHA384 and SHA512 (backported from Python 2.5).
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --install-lib=%{py_sitedir} \
+ --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/*.so
+%{py_sitedir}/*hashlib.py[oc]
+
+%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/07/25 17:45:26 arekm
+- new
+
+
================================================================
More information about the pld-cvs-commit
mailing list