]> git.pld-linux.org Git - packages/opensc.git/blobdiff - opensc.spec
- fix linking with libassuan
[packages/opensc.git] / opensc.spec
index 8b11a1e669097b05f9426866139452d5c34e1cc0..4382bfb143714d4bf646e6f19a5c55331fd8b509 100644 (file)
@@ -1,16 +1,17 @@
 Summary:       OpenSC library - for accessing SmartCard devices using PC/SC Lite
 Summary(pl):   Biblioteka OpenSC - do korzystania z kart procesorowych przy u¿yciu PC/SC Lite
 Name:          opensc
-Version:       0.8.1
-Release:       5
+Version:       0.9.6
+Release:       3
 Epoch:         0
 License:       LGPL
 Group:         Applications
 Source0:       http://www.opensc.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 2b64a8e629bd28a00e707e35fd3eb9c7
+# Source0-md5: 38fdd64566cc6fc83338d659e816b4fb
 Patch0:                %{name}-libdir.patch
-Patch1:                %{name}-shared-ssl.patch
-Patch2:                %{name}-segv.patch
+Patch1:                %{name}-segv.patch
+Patch2:                %{name}-explorer-debug.patch
+Patch3:                %{name}-gcc4.patch
 URL:           http://www.opensc.org/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
@@ -21,6 +22,7 @@ BuildRequires:        openssl-devel >= 0.9.7d
 BuildRequires: openct-devel
 BuildRequires: pam-devel
 BuildRequires: pcsc-lite-devel
+BuildRequires: pkgconfig >= 1:0.9.0
 BuildRequires: readline-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -92,8 +94,6 @@ Modu
 %package -n mozilla-plugin-opensc
 Summary:       OpenSC Signer plugin for Mozilla
 Summary(pl):   Wtyczka OpenSC Signer dla Mozilli
-# libassuan is GPL
-License:       GPL
 Group:         X11/Applications
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      pinentry-gtk
@@ -109,6 +109,7 @@ Wtyczka OpenSC Signer dla Mozilli.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -137,8 +138,8 @@ rm -f $RPM_BUILD_ROOT%{mozplugindir}/opensc-signer.so
 mv -f $RPM_BUILD_ROOT%{_libdir}/opensc/opensc-signer.so $RPM_BUILD_ROOT%{mozplugindir}
 
 # default config
-mv -f $RPM_BUILD_ROOT%{_sysconfdir}/opensc.conf{.example,}
-mv -f $RPM_BUILD_ROOT%{_sysconfdir}/scldap.conf{.example,}
+install etc/opensc.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install etc/scldap.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 # useless (dlopened by *.so)
 rm -f $RPM_BUILD_ROOT%{_libdir}/{libscam,opensc-*}.{a,la} \
@@ -170,12 +171,14 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/opensc/engine_opensc.so
 %attr(755,root,root) %{_libdir}/opensc/engine_pkcs11.so
 %dir %{_datadir}/opensc
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
-%config(noreplace) %verify(not size mtime md5) %{_datadir}/opensc/*.profile
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
+%config(noreplace) %verify(not md5 mtime size) %{_datadir}/opensc/*.profile
+%{_mandir}/man1/cardos-info.1*
 %{_mandir}/man1/cryptoflex-tool.1*
 %{_mandir}/man1/opensc-explorer.1*
 %{_mandir}/man1/opensc-tool.1*
-%{_mandir}/man1/pkcs15*
+%{_mandir}/man1/pkcs11-tool.1*
+%{_mandir}/man1/pkcs15-*.1*
 %{_mandir}/man[57]/*
 
 %files devel
This page took 0.074356 seconds and 4 git commands to generate.