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
|
%define plugindir %{_libdir}/mozilla/plugins
|
||||||
|
|
||||||
Name: libopensc
|
Name: libopensc
|
||||||
Version: 0.23.0
|
Version: 0.24.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: OpenSC is a library and utilites to access SmartCard devices
|
Summary: OpenSC is a library and utilites to access SmartCard devices
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
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: 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
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -25,9 +24,6 @@ BuildRequires: libopenldap-devel
|
|||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
Requires: pam
|
Requires: pam
|
||||||
|
|
||||||
# FIXME (BuildRequiremnts)
|
|
||||||
# checking for ldap_ssl.h... no
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenSC provides a set of libraries and utilities to access SmartCard devices.
|
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.
|
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
|
%description devel
|
||||||
libOpenSC is a library for accessing SmartCard devices.
|
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
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n opensc-%{version}
|
%setup -q -n opensc-%{version}
|
||||||
#sed -i -e 's|/usr/local/towitoko/lib/|/usr/lib/ctapi/|' etc/opensc.conf.in
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
# --with-openssl \
|
|
||||||
# --with-plugin-dir=%{plugindir}
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
#cp src/openssh/README src/openssh/README.openssh
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{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 -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}%{_docdir}/opensc/NEWS %{buildroot}%{_docdir}/opensc/README
|
||||||
|
|
||||||
rm -f %{buildroot}%{_bindir}/opensc-config
|
rm -f %{buildroot}%{_bindir}/opensc-config
|
||||||
@ -95,7 +80,7 @@ rm -f %{buildroot}%{_mandir}/man1/opensc-config.*
|
|||||||
%files -n opensc
|
%files -n opensc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config %{_sysconfdir}/opensc.conf
|
%config %{_sysconfdir}/opensc.conf
|
||||||
%{_sysconfdir}/xdg/autostart/pkcs11-register.desktop
|
#%{_sysconfdir}/xdg/autostart/pkcs11-register.desktop
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/applications/org.opensc.notify.desktop
|
%{_datadir}/applications/org.opensc.notify.desktop
|
||||||
%{_datadir}/opensc
|
%{_datadir}/opensc
|
||||||
@ -108,30 +93,25 @@ rm -f %{buildroot}%{_mandir}/man1/opensc-config.*
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libopensc.so.*
|
%{_libdir}/libopensc.so.*
|
||||||
%{_libdir}/libsmm-local.so.*
|
%{_libdir}/libsmm-local.so.*
|
||||||
#%{_libdir}/libpkcs15init.so.*
|
|
||||||
#%{_libdir}/libscconf.so.*
|
|
||||||
#%{_libdir}/onepin-opensc-pkcs11.la
|
|
||||||
%{_libdir}/onepin-opensc-pkcs11.so
|
%{_libdir}/onepin-opensc-pkcs11.so
|
||||||
#%{_libdir}/opensc-pkcs11.la
|
|
||||||
%{_libdir}/opensc-pkcs11.so
|
%{_libdir}/opensc-pkcs11.so
|
||||||
#%{_libdir}/pkcs11-spy.la
|
|
||||||
%{_libdir}/pkcs11-spy.so
|
%{_libdir}/pkcs11-spy.so
|
||||||
%{_libdir}/pkcs11/onepin-opensc-pkcs11.so
|
%{_libdir}/pkcs11/onepin-opensc-pkcs11.so
|
||||||
%{_libdir}/pkcs11/opensc-pkcs11.so
|
%{_libdir}/pkcs11/opensc-pkcs11.so
|
||||||
%{_libdir}/pkcs11/pkcs11-spy.so
|
%{_libdir}/pkcs11/pkcs11-spy.so
|
||||||
#%{plugindir}/opensc-signer.so
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
#%{_libdir}/libopensc.la
|
|
||||||
%{_libdir}/libopensc.so
|
%{_libdir}/libopensc.so
|
||||||
#%{_libdir}/libsmm-local.la
|
|
||||||
%{_libdir}/libsmm-local.so
|
%{_libdir}/libsmm-local.so
|
||||||
%{_libdir}/pkgconfig/opensc-pkcs11.pc
|
%{_libdir}/pkgconfig/opensc-pkcs11.pc
|
||||||
%doc NEWS README
|
%doc NEWS README
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 01 2023 Automatic Build System <autodist@mambasoft.it> 0.23.0-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user