commit 62ef479f22ba69861992c8a8dd7585df87fbf811 Author: CentOS Sources Date: Tue May 7 04:14:57 2019 -0400 import openssl-ibmpkcs11-1.0.2-1.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5337a64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/openssl-ibmpkcs11-1.0.2.tar.gz diff --git a/.openssl-ibmpkcs11.metadata b/.openssl-ibmpkcs11.metadata new file mode 100644 index 0000000..b8cdecb --- /dev/null +++ b/.openssl-ibmpkcs11.metadata @@ -0,0 +1 @@ +b1ac34826423041da36fd80ce8133c67ad8fd406 SOURCES/openssl-ibmpkcs11-1.0.2.tar.gz diff --git a/SPECS/openssl-ibmpkcs11.spec b/SPECS/openssl-ibmpkcs11.spec new file mode 100644 index 0000000..28ee277 --- /dev/null +++ b/SPECS/openssl-ibmpkcs11.spec @@ -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 - 1.0.2-1 +- updated to 1.0.2 + +* Thu Feb 08 2018 Fedora Release Engineering - 1.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 23 2018 Dan Horák - 1.0.1-2 +- apply fix for autotools +- don't hard-code %%enginesdir + +* Fri Jan 19 2018 Dan Horák - 1.0.1-1 +- initial Fedora version