Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jejb1:Test
openssl-pkcs11-export
openssl-pkcs11-export.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-pkcs11-export.spec of Package openssl-pkcs11-export
# # Spec file for IBM's TSS for the TPM 2.0 # # Copyright (c) 2018 James Bottomley # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. Name: openssl-pkcs11-export Version: 0.6.1 Release: 0 Summary: Software pkcs11 token exporter for openSSL keys License: LGPL-2.1 Group: Productivity/Security Url: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl-pkcs11.git/ Source0: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl-pkcs11.git/snapshot/%{name}-%{version}.tar.gz BuildRequires: automake BuildRequires: autoconf-archive BuildRequires: libtool BuildRequires: binutils-devel BuildRequires: openssl-devel BuildRequires: p11-kit-devel >= 0.23.3 ## # make check requirements ## BuildRequires: openssl-engine-libp11 BuildRequires: gnutls %description This package is a pkcs11 token library that supports software configurable tokens which can contain openssl keys (both ordinary PEM files and engine keys) %prep %setup -q %if 0%{?suse_version} && 0%{?suse_version} < 1500 ## # big hack to fix opensuse dynamic engine location cockup ## sed -i "/\[pkcs11_section\]/a dynamic_path = /usr/lib64/engines/libpkcs11.so" tests/openssl.cnf %endif %build autoreconf -fiv %configure make %install %make_install ## # the module is dynamically installed according to the p11-kit path # so we have to find it and compute the files and directories for # the files directive ## %define EXTRA_FILES ExtraFiles.list CWD=`pwd` cd $RPM_BUILD_ROOT touch $CWD/%{EXTRA_FILES} find * -name \*.la -exec rm -f {} \; for f in `find * -name \*.so -printf "/%p\n"` \ `find * -name \*.module -printf "/%p\n"`; do echo $f >> $CWD/%{EXTRA_FILES} # # build up the missing directories # d=`dirname $f` while [ $d != "%{_libdir}" -a $d != "%{_datadir}" ]; do echo $d >> $CWD/%{EXTRA_FILES} d=`dirname $d` done done echo "EXTRA FILES IS" cat $CWD/%{EXTRA_FILES} echo "END" %check make check || { cat tests/test-suite.log; exit 1; } %files -f %{EXTRA_FILES} %defattr(-, root, root) %doc LICENSE README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor