1 Summary: Helper library for the use with smart cards and the PKCS#11 API
2 Summary(pl.UTF-8): Biblioteka pomocnicza do używania z kartami procesorowymi i API PKCS#11
8 Source0: http://downloads.sourceforge.net/opensc/%{name}-%{version}.tar.bz2
9 # Source0-md5: 59f2ac76c66e4dc0c21614cc944e89fb
10 URL: https://github.com/OpenSC/OpenSC/wiki/pkcs11-helper
12 BuildRequires: automake
13 BuildRequires: doxygen
14 BuildRequires: gnutls-devel >= 1.4
15 BuildRequires: nss-devel >= 3.11
16 BuildRequires: openssl-devel >= 0.9.7a
17 BuildRequires: polarssl-devel
18 BuildRequires: pkgconfig
19 Requires: openssl >= 0.9.7a
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 pkcs11-helper provides a simple API to access PKCS#11 tokens.
27 %description -l pl.UTF-8
28 pkcs11-helper udostępnia proste API do dostępu do tokenów PKCS#11.
31 Summary: Header files for pkcs11-helper library
32 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki pkcs11-helper
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 Header files for pkcs11-helper library.
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki pkcs11-helper.
43 Summary: Static pkcs11-helper library
44 Summary(pl.UTF-8): Statyczna biblioteka pkcs11-helper
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 Static pkcs11-helper library.
51 %description static -l pl.UTF-8
52 Statyczna biblioteka pkcs11-helper.
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
69 # obsoleted by pkg-config
70 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpkcs11-helper.la
72 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc AUTHORS COPYING COPYING.BSD ChangeLog README THANKS
83 %attr(755,root,root) %{_libdir}/libpkcs11-helper.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/libpkcs11-helper.so.1
85 %{_mandir}/man8/pkcs11-helper-1.8*
88 %defattr(644,root,root,755)
89 %doc doc/api/api.out/html/*
90 %attr(755,root,root) %{_libdir}/libpkcs11-helper.so
91 %{_includedir}/pkcs11-helper-1.0
92 %{_pkgconfigdir}/libpkcs11-helper-1.pc
93 %{_aclocaldir}/pkcs11-helper-1.m4
96 %defattr(644,root,root,755)
97 %{_libdir}/libpkcs11-helper.a