Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aplanas:branches:security
tpm2-pkcs11
tpm2-pkcs11.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tpm2-pkcs11.spec of Package tpm2-pkcs11
# # spec file for package tpm2-pkcs11 # # Copyright (c) 2023 SUSE LLC # # 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. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define so_ver 0 %define pythons python3 Name: tpm2-pkcs11 Version: 1.9.0 Release: 0 Summary: A PKCS#11 interface for TPM2 hardware License: BSD-2-Clause Group: Productivity/Security URL: https://github.com/tpm2-software/tpm2-pkcs11 Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring BuildRequires: autoconf BuildRequires: autoconf-archive >= 2017.03.21 BuildRequires: automake BuildRequires: fdupes BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python-rpm-generators BuildRequires: python3-PyYAML BuildRequires: python3-base BuildRequires: python3-cryptography BuildRequires: python3-pyasn1-modules BuildRequires: python3-setuptools BuildRequires: python3-tpm2-pytss BuildRequires: tpm2.0-tools BuildRequires: pkgconfig(libcrypto) >= 1.0.2g BuildRequires: pkgconfig(p11-kit-1) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(tss2-esys) >= 2.0 BuildRequires: pkgconfig(tss2-mu) BuildRequires: pkgconfig(tss2-rc) BuildRequires: pkgconfig(tss2-tctildr) BuildRequires: pkgconfig(yaml-0.1) # Merge both subpackages Provides: libtpm2_pkcs11-0 = %{version} Obsoletes: libtpm2_pkcs11-0 < %{version} Provides: tpm2-pkcs11-devel = %{version} Obsoletes: tpm2-pkcs11-devel < %{version} %{?python_enable_dependency_generator} %description tpm2-pkcs11 is a plugin shared library implementing the PKCS #11 Cryptographic Token Interface (Cryptoki) C API atop of TPM2 devices. %dnl "make install" copies no .h files, a strong indicator that this project is %dnl an (SLPP-exempt) plugin rather than a "normal" shared library. %prep %autosetup %build autoreconf -fiv %configure --disable-static %make_build cd tools %python_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print mkdir -p %{buildroot}%{_sysconfdir}/tpm2_pkcs11 cd tools %python_install %fdupes %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license LICENSE %doc docs/* %dir %{_datadir}/p11-kit/modules %dir %{_datadir}/p11-kit %dir %{_libdir}/pkcs11 %{_datadir}/p11-kit/modules/tpm2_pkcs11.module %{_sysconfdir}/tpm2_pkcs11 %{_bindir}/tpm2_ptool %{python_sitelib}/tpm2_pkcs11 %{python_sitelib}/*.egg-info %{_libdir}/pkcs11/libtpm2_pkcs11.so.%{so_ver}* %{_libdir}/pkcs11/libtpm2_pkcs11.so %{_libdir}/pkgconfig/tpm2-pkcs11.pc %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