automatic update by autodist [release 0.24.0-1mamba;Sat Jan 27 2024]
This commit is contained in:
parent
27a856eab2
commit
5cf9782d15
@ -1,16 +1,15 @@
|
||||
%define plugindir %{_libdir}/mozilla/plugins
|
||||
|
||||
Name: libopensc
|
||||
Version: 0.23.0
|
||||
Version: 0.24.0
|
||||
Release: 1mamba
|
||||
Summary: OpenSC is a library and utilites to access SmartCard devices
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.opensc-project.org
|
||||
URL: http://opensc-project.org/
|
||||
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
|
||||
@ -25,9 +24,6 @@ BuildRequires: libopenldap-devel
|
||||
BuildRequires: libxslt-devel
|
||||
Requires: pam
|
||||
|
||||
# FIXME (BuildRequiremnts)
|
||||
# checking for ldap_ssl.h... no
|
||||
|
||||
%description
|
||||
OpenSC provides a set of libraries and utilities to access SmartCard devices.
|
||||
Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as mail encryption, authentication, and digital signature.
|
||||
@ -51,23 +47,18 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
libOpenSC is a library for accessing SmartCard devices.
|
||||
This package contains static libraries and header files need for development.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n opensc-%{version}
|
||||
#sed -i -e 's|/usr/local/towitoko/lib/|/usr/lib/ctapi/|' etc/opensc.conf.in
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static
|
||||
|
||||
# --with-openssl \
|
||||
# --with-plugin-dir=%{plugindir}
|
||||
|
||||
%make
|
||||
#cp src/openssh/README src/openssh/README.openssh
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
@ -75,12 +66,6 @@ This package contains static libraries and header files need for development.
|
||||
|
||||
install -D -m 644 etc/opensc.conf %{buildroot}%{_sysconfdir}/opensc.conf
|
||||
|
||||
#install -d -m755 %{buildroot}%{plugindir}
|
||||
#rm -f %{buildroot}%{_libdir}/opensc-signer.la
|
||||
#rm -f %{buildroot}%{plugindir}/opensc-signer.la
|
||||
#rm -f %{buildroot}%{plugindir}/opensc-signer.so
|
||||
#mv %{buildroot}%{_libdir}/opensc-signer.so %{buildroot}%{plugindir}
|
||||
|
||||
rm -f %{buildroot}%{_docdir}/opensc/NEWS %{buildroot}%{_docdir}/opensc/README
|
||||
|
||||
rm -f %{buildroot}%{_bindir}/opensc-config
|
||||
@ -95,7 +80,7 @@ rm -f %{buildroot}%{_mandir}/man1/opensc-config.*
|
||||
%files -n opensc
|
||||
%defattr(-,root,root)
|
||||
%config %{_sysconfdir}/opensc.conf
|
||||
%{_sysconfdir}/xdg/autostart/pkcs11-register.desktop
|
||||
#%{_sysconfdir}/xdg/autostart/pkcs11-register.desktop
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/org.opensc.notify.desktop
|
||||
%{_datadir}/opensc
|
||||
@ -108,30 +93,25 @@ rm -f %{buildroot}%{_mandir}/man1/opensc-config.*
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libopensc.so.*
|
||||
%{_libdir}/libsmm-local.so.*
|
||||
#%{_libdir}/libpkcs15init.so.*
|
||||
#%{_libdir}/libscconf.so.*
|
||||
#%{_libdir}/onepin-opensc-pkcs11.la
|
||||
%{_libdir}/onepin-opensc-pkcs11.so
|
||||
#%{_libdir}/opensc-pkcs11.la
|
||||
%{_libdir}/opensc-pkcs11.so
|
||||
#%{_libdir}/pkcs11-spy.la
|
||||
%{_libdir}/pkcs11-spy.so
|
||||
%{_libdir}/pkcs11/onepin-opensc-pkcs11.so
|
||||
%{_libdir}/pkcs11/opensc-pkcs11.so
|
||||
%{_libdir}/pkcs11/pkcs11-spy.so
|
||||
#%{plugindir}/opensc-signer.so
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
#%{_libdir}/libopensc.la
|
||||
%{_libdir}/libopensc.so
|
||||
#%{_libdir}/libsmm-local.la
|
||||
%{_libdir}/libsmm-local.so
|
||||
%{_libdir}/pkgconfig/opensc-pkcs11.pc
|
||||
%doc NEWS README
|
||||
|
||||
%changelog
|
||||
* Sat Jan 27 2024 Automatic Build System <autodist@openmamba.org> 0.24.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Feb 01 2023 Automatic Build System <autodist@mambasoft.it> 0.23.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user