import openssl-ibmpkcs11-1.0.2-1.el8

This commit is contained in:
CentOS Sources 2019-05-07 04:14:57 -04:00 committed by Andrew Lukoshko
commit 62ef479f22
3 changed files with 58 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/openssl-ibmpkcs11-1.0.2.tar.gz

View File

@ -0,0 +1 @@
b1ac34826423041da36fd80ce8133c67ad8fd406 SOURCES/openssl-ibmpkcs11-1.0.2.tar.gz

View File

@ -0,0 +1,56 @@
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
Name: openssl-ibmpkcs11
Version: 1.0.2
Release: 1%{?dist}
Summary: IBM OpenSSL PKCS#11 engine
License: OpenSSL
URL: https://github.com/opencryptoki/openssl-ibmpkcs11
Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: automake autoconf libtool
BuildRequires: openssl-devel
Requires: opencryptoki-libs%{?_isa}
%description
This package contains a shared object OpenSSL dynamic engine for the use
with a PKCS#11 implementation such as openCryptoki.
%prep
%autosetup -p1
./bootstrap.sh
%build
%configure --libdir=%{enginesdir}
%make_build
%install
%make_install
mv openssl.cnf.sample openssl.cnf.sample.%{_arch}
rm -f $RPM_BUILD_ROOT%{enginesdir}/*.la
%files
%license LICENSE
%doc README openssl.cnf.sample.%{_arch}
%{enginesdir}/ibmpkcs11.so
%changelog
* Fri Feb 23 2018 Dan Horák <dan@danny.cz> - 1.0.2-1
- updated to 1.0.2
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 23 2018 Dan Horák <dan@danny.cz> - 1.0.1-2
- apply fix for autotools
- don't hard-code %%enginesdir
* Fri Jan 19 2018 Dan Horák <dan@danny.cz> - 1.0.1-1
- initial Fedora version