]> git.pld-linux.org Git - packages/python-PyKCS11.git/blame - python-PyKCS11.spec
automatic change: use py_build/py_install macros
[packages/python-PyKCS11.git] / python-PyKCS11.spec
CommitLineData
9df5d166
AM
1%define rname PyKCS11
2#
3Summary: Full PKCS11 wrapper for Python
4Name: python-PyKCS11
5Version: 1.2.1
58215e55 6Release: 2
9df5d166
AM
7License: GPL
8Group: Libraries/Python
6fd20e51 9Source0: http://downloads.sourceforge.net/pkcs11wrap/%{rname}-%{version}.tar.gz
9df5d166 10# Source0-md5: f1be0bcef765a36e4362342c5df49eef
596fe460 11URL: http://www.bit4id.org/trac/pykcs11
6fd20e51 12BuildRequires: libstdc++-devel
9df5d166
AM
13BuildRequires: python-devel >= 1:2.5
14BuildRequires: rpm-pythonprov
15%pyrequires_eq python-modules
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19PyKCS11: a complete PKCS#11 wrapper for Python, created using the SWIG
20compile.
21
22%prep
23%setup -qn %{rname}-%{version}
24%build
25
15f88a72 26%py_build
9df5d166
AM
27
28%install
29rm -rf $RPM_BUILD_ROOT
30
15f88a72 31%py_install
9df5d166
AM
32
33%py_postclean
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(644,root,root,755)
6fd20e51 40%dir %{py_sitedir}/PyKCS11
41%{py_sitedir}/PyKCS11/*.py[co]
42%attr(755,root,root) %{py_sitedir}/PyKCS11/*.so
43%{py_sitedir}/*.egg-info
This page took 0.042615 seconds and 4 git commands to generate.