SPECS: python-PyKCS11.spec (NEW) - new

arekm arekm at pld-linux.org
Wed Mar 4 12:57:48 CET 2009


Author: arekm                        Date: Wed Mar  4 11:57:48 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/python-PyKCS11.spec
diff -u /dev/null SPECS/python-PyKCS11.spec:1.1
--- /dev/null	Wed Mar  4 12:57:48 2009
+++ SPECS/python-PyKCS11.spec	Wed Mar  4 12:57:43 2009
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%define		rname		PyKCS11
+#
+Summary:	Full PKCS11 wrapper for Python
+Name:		python-PyKCS11
+Version:	1.2.1
+Release:	1
+License:	GPL
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/pkcs11wrap/%{rname}-%{version}.tar.gz
+# Source0-md5:	f1be0bcef765a36e4362342c5df49eef
+URL:		http://http://www.bit4id.org/trac/pykcs11
+BuildRequires:	autoconf >= 2.59c
+BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	rpm-pythonprov
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyKCS11: a complete PKCS#11 wrapper for Python, created using the SWIG
+compile.
+
+%prep
+%setup -qn %{rname}-%{version}
+%build
+
+python setup.py build
+
+%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)
+%dir %{python_sitearch}/PyKCS11
+%{python_sitearch}/PyKCS11/*.py[co]
+%attr(755,root,root) %{python_sitearch}/PyKCS11/*.so
+%{python_sitearch}/*.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  2009/03/04 11:57:43  arekm
+- new
+
================================================================


More information about the pld-cvs-commit mailing list