X-Git-Url: http://git.pld-linux.org/?p=packages%2Fopensc.git;a=blobdiff_plain;f=opensc.spec;h=4382bfb143714d4bf646e6f19a5c55331fd8b509;hp=7158b893f7d160b5c55db009f85992ba363526a0;hb=be605ed9b992c38cdbf64db08c7d88d792cb036a;hpb=92519f5fc28e51f099eb8e52bf80ee117e184e8d diff --git a/opensc.spec b/opensc.spec index 7158b89..4382bfb 100644 --- a/opensc.spec +++ b/opensc.spec @@ -1,17 +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.9.4 -Release: 1 +Version: 0.9.6 +Release: 3 Epoch: 0 License: LGPL Group: Applications Source0: http://www.opensc.org/files/%{name}-%{version}.tar.gz -# Source0-md5: 76c18fc9bd9fad9c45396ea81f317551 +# Source0-md5: 38fdd64566cc6fc83338d659e816b4fb Patch0: %{name}-libdir.patch -Patch1: %{name}-shared-ssl.patch -Patch2: %{name}-segv.patch -Patch3: %{name}-explorer-debug.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 @@ -22,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) @@ -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,8 +171,8 @@ 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*