package created using the webbuild interface [release 1.30.0-1mamba;Sat May 18 2024]

This commit is contained in:
Silvan Calarco 2024-05-20 09:59:36 +02:00
parent befe8fae8e
commit a728cb83a3
2 changed files with 84 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# pkcs11-helper # pkcs11-helper
Library that simplifies the interaction with PKCS#11 providers for end-user applications using a simple API and optional OpenSSL engine.

82
pkcs11-helper.spec Normal file
View File

@ -0,0 +1,82 @@
Name: pkcs11-helper
Version: 1.30.0
Release: 1mamba
Summary: Library that simplifies the interaction with PKCS#11 providers for end-user applications
Group: Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/OpenSC/pkcs11-helper
Source: https://github.com/OpenSC/pkcs11-helper.git/pkcs11-helper-%{version}/pkcs11-helper-%{version}.tar.bz2
License: BSD, GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgnutls-devel
BuildRequires: libmbedtls-devel
BuildRequires: libnspr-devel
BuildRequires: libnss-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Library that simplifies the interaction with PKCS#11 providers for end-user applications using a simple API and optional OpenSSL engine.
%package -n lib%{name}
Group: System/Libraries
Summary: Library that simplifies the interaction with PKCS#11 providers for end-user applications
%description -n lib%{name}
Library that simplifies the interaction with PKCS#11 providers for end-user applications using a simple API and optional OpenSSL engine.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
autoreconf -f -i
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libpkcs11-helper.so.*
%doc AUTHORS COPYING THANKS
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/pkcs11-helper-1.0
%{_includedir}/pkcs11-helper-1.0/*.h
%{_libdir}/libpkcs11-helper.a
%{_libdir}/libpkcs11-helper.so
%{_libdir}/pkgconfig/libpkcs11-helper-1.pc
%{_datadir}/aclocal/pkcs11-helper-1.m4
%dir %{_docdir}/pkcs11-helper
%{_docdir}/pkcs11-helper/*
%{_mandir}/man8/pkcs11-helper-1.8*
%doc ChangeLog README
%changelog
* Sat May 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.30.0-1mamba
- package created using the webbuild interface