1 Summary: OpenSC library - for accessing SmartCard devices using PC/SC Lite
2 Summary(pl): Biblioteka OpenSC - do korzystania z kart procesorowych przy u¿yciu PC/SC Lite
8 Source0: http://www.opensc.org/files/%{name}-%{version}.tar.gz
9 Patch0: %{name}-nolibs.patch
10 URL: http://www.opensc.org/
11 BuildRequires: autoconf >= 2.52
12 BuildRequires: automake
13 BuildRequires: libtool >= 1:1.4.2-9
14 BUildRequires: openldap-devel
15 BuildRequires: openssl-devel
16 BuildRequires: pam-devel
17 BuildRequires: pcsc-lite-devel
18 BuildRequires: readline-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 libopensc is a library for accessing SmartCard devices using PC/SC
23 Lite middleware package. It is also the core library of the OpenSC
24 project. Basic functionality (e.g. SELECT FILE, READ BINARY) should
25 work on any ISO 7816-4 compatible SmartCard. Encryption and decryption
26 using private keys on the SmartCard is at the moment possible only
27 with PKCS#15 compatible cards, such as the FINEID (Finnish Electronic
28 IDentity) card manufactured by Setec.
31 libopensc to biblioteka do korzystania z kart procesorowych przy
32 u¿yciu pakietu warstwy po¶redniej PC/SC Lite. Jest to tak¿e podstawowa
33 biblioteka projektu OpenSC. Podstawowa funkcjonalno¶æ (np. SELECT
34 FILE, READ BINARY) powinna dzia³aæ tak¿e z dowoln± kart± procesorow±
35 zgodn± z ISO-7816-4. Szyfrowanie i odszyfrowywanie przy u¿yciu
36 prywatnych kluczy na karcie na razie jest mo¿liwe tylko przy u¿yciu
37 kart kompatybilnych z PKCS#16, takich jak FINEID (Finnish Electronic
38 IDentity) produkowanych przez Setec.
41 Summary: OpenSC development files
42 Summary(pl): Pliki dla programistów u¿ywaj±cych OpenSC
43 Group: Development/Tools
44 Requires: %{name}-libs = %{version}
47 OpenSC development files.
49 %description devel -l pl
50 Pliki dla programistów u¿ywaj±cych OpenSC.
53 Summary: Static OpenSC libraries
54 Summary(pl): Bibloteki statyczne OpenSC
55 Group: Development/Tools
56 Requires: %{name}-devel = %{version}
59 Static OpenSC libraries.
61 %description static -l pl
62 Statyczne biblioteki OpenSC.
64 %package -n pam_opensc
65 Summary: OpenSC module for PAM
66 Summary(pl): Modu³ PAM OpenSC
69 Requires: %{name} = %{version}
71 %description -n pam_opensc
72 OpenSC module for PAM.
74 %description -n pam_opensc -l pl
91 rm -rf $RPM_BUILD_ROOT
93 %{__make} install DESTDIR=$RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT/lib
96 mv -f $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/lib
99 rm -rf $RPM_BUILD_ROOT
101 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog NEWS README README.signer THANKS TODO docs/pkcs-15v1_1.asn
107 %attr(755,root,root) %{_bindir}/cryptoflex-tool
108 %attr(755,root,root) %{_bindir}/opensc-explorer
109 %attr(755,root,root) %{_bindir}/opensc-tool
110 %attr(755,root,root) %{_bindir}/pkcs15-*
111 %attr(755,root,root) %{_libdir}/lib*.so.*.*
112 %attr(755,root,root) %{_libdir}/libscam.so
113 %dir %{_libdir}/pkcs11
114 %attr(755,root,root) %{_libdir}/pkcs11/opensc-pkcs11.so
115 %dir %{_datadir}/opensc
116 %{_datadir}/opensc/*.profile
117 %{_mandir}/man[157]/pkcs15*
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_bindir}/opensc-config
122 %attr(755,root,root) %{_libdir}/libopensc.so
123 %attr(755,root,root) %{_libdir}/libpkcs15init.so
124 %attr(755,root,root) %{_libdir}/libscconf.so
125 %attr(755,root,root) %{_libdir}/libscldap.so
126 %{_libdir}/libopensc.la
127 %{_libdir}/libpkcs15init.la
128 %{_libdir}/libscconf.la
129 %{_libdir}/libscldap.la
130 %{_libdir}/libscrandom.a
131 %{_includedir}/opensc
134 %defattr(644,root,root,755)
135 %{_libdir}/libopensc.a
136 %{_libdir}/libpkcs15init.a
137 %{_libdir}/libscconf.a
138 %{_libdir}/libscldap.a
141 %defattr(644,root,root,755)
142 %attr(755,root,root) /lib/security/pam_opensc.so