update to 0.19.0 [release 0.19.0-1mamba;Sat Dec 08 2018]
This commit is contained in:
parent
0f124fbda9
commit
c88dc6c074
@ -1,7 +1,7 @@
|
||||
%define plugindir %{_libdir}/mozilla/plugins
|
||||
|
||||
Name: libopensc
|
||||
Version: 0.16.0
|
||||
Version: 0.19.0
|
||||
Release: 1mamba
|
||||
Summary: OpenSC is a library and utilites to access SmartCard devices
|
||||
Group: System/Libraries
|
||||
@ -9,25 +9,28 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Aleph0 <aleph0@openmamba.org>
|
||||
URL: http://www.opensc-project.org
|
||||
Source: http://downloads.sourceforge.net/project/opensc/OpenSC/opensc-%{version}/opensc-%{version}.tar.gz
|
||||
Source: https://github.com/OpenSC/OpenSC/releases/download/%{version}/opensc-%{version}.tar.gz
|
||||
#Source: http://downloads.sourceforge.net/project/opensc/OpenSC/opensc-%{version}/opensc-%{version}.tar.gz
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libblkid-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libmount-devel
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libpcre-devel
|
||||
BuildRequires: libreadline-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libsepol-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: flex
|
||||
BuildRequires: libassuan-devel
|
||||
BuildRequires: libopenldap-devel
|
||||
BuildRequires: libxslt-devel
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: bash
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libltdl-devel
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libopenct-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libpcsclite-devel
|
||||
BuildRequires: libreadline-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: pam-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: pam
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -41,6 +44,15 @@ Its main focus is on cards that support cryptographic operations, and facilitate
|
||||
Basic functionality should work on any ISO 7816-4 compatible SmartCard.
|
||||
Encryption and decryption using private keys on the SmartCard is possible with PKCS #15 compatible cards, such as the FINEID (Finnish Electronic IDentity) card.
|
||||
|
||||
%package -n opensc
|
||||
Group: Development/Libraries
|
||||
Summary: Tools for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n opensc
|
||||
libOpenSC is a library for accessing SmartCard devices.
|
||||
This package contains the tools.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Static libraries and headers for %{name}
|
||||
@ -52,7 +64,7 @@ This package contains static libraries and header files need for development.
|
||||
|
||||
%prep
|
||||
%setup -q -n opensc-%{version}
|
||||
sed -i -e 's|/usr/local/towitoko/lib/|/usr/lib/ctapi/|' etc/opensc.conf.in
|
||||
#sed -i -e 's|/usr/local/towitoko/lib/|/usr/lib/ctapi/|' etc/opensc.conf.in
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -87,10 +99,19 @@ rm -f %{buildroot}%{_mandir}/man1/opensc-config.*
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -n opensc
|
||||
%defattr(-,root,root)
|
||||
%config %{_sysconfdir}/opensc.conf
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/org.opensc.notify.desktop
|
||||
%{_datadir}/opensc
|
||||
%{_datadir}/bash-completion/completions/*
|
||||
%{_datadir}/doc/opensc/opensc.conf
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_datadir}/opensc
|
||||
%{_libdir}/libopensc.so.*
|
||||
%{_libdir}/libsmm-local.so.*
|
||||
#%{_libdir}/libpkcs15init.so.*
|
||||
@ -105,29 +126,21 @@ rm -f %{buildroot}%{_mandir}/man1/opensc-config.*
|
||||
%{_libdir}/pkcs11/opensc-pkcs11.so
|
||||
%{_libdir}/pkcs11/pkcs11-spy.so
|
||||
#%{plugindir}/opensc-signer.so
|
||||
%{_sysconfdir}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
%doc COPYING NEWS README
|
||||
#%doc src/openssh/README.openssh src/openssh/ask-for-pin.diff
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
#%{_bindir}/opensc-config
|
||||
#%{_includedir}/opensc
|
||||
%{_libdir}/libopensc.la
|
||||
%{_libdir}/libopensc.so
|
||||
%{_libdir}/libsmm-local.la
|
||||
%{_libdir}/libsmm-local.so
|
||||
#%{_libdir}/libpkcs15init.la
|
||||
#%{_libdir}/libpkcs15init.so
|
||||
#%{_libdir}/libscconf.la
|
||||
#%{_libdir}/libscconf.so
|
||||
#%{_libdir}/pkgconfig/lib*.pc
|
||||
#%{_mandir}/man1/opensc-config.*
|
||||
#%{_mandir}/man3/*
|
||||
%{_libdir}/pkgconfig/opensc-pkcs11.pc
|
||||
%doc NEWS README
|
||||
|
||||
%changelog
|
||||
* Sat Dec 08 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.0-1mamba
|
||||
- update to 0.19.0
|
||||
|
||||
* Thu Jun 23 2016 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user