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