## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: libzpc Version: 1.4.0 Release: %autorelease Summary: Open Source library for the IBM Z Protected-key crypto feature License: MIT Url: https://github.com/opencryptoki/libzpc Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz ExclusiveArch: s390x BuildRequires: cmake BuildRequires: gcc BuildRequires: g++ BuildRequires: make BuildRequires: json-c-devel #Additional prerequisites for building the test program: libjson-c devel #Additional prereqs for building the html and latex doc: doxygen >= 1.8.17, latex, bibtex # Be explicit about the soversion in order to avoid unintentional changes. %global soversion 1 %description The IBM Z Protected-key Crypto library libzpc is an open-source library targeting the 64-bit Linux on IBM Z (s390x) platform. It provides interfaces for cryptographic primitives. The underlying implementations make use of z/Architecture's extensive performance-boosting hardware support and its protected-key feature which ensures that key material is never present in main memory at any time. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %{name}-%{version} # The following options can be passed to cmake: # -DCMAKE_INSTALL_PREFIX= : # Change the install prefix from `/usr/local/` to ``. # -DCMAKE_BUILD_TYPE= : Choose predefined build options. # The choices for `` are `Debug`, `Release`, `RelWithDebInfo`, # and `MinSizeRel`. # -DBUILD_SHARED_LIBS=ON : Build a shared object (instead of an archive). # -DBUILD_TEST=ON : Build the test program. # -DBUILD_DOC=ON : Build the html and latex doc. %build %cmake %cmake_build %install %cmake_install %check %ctest %files %doc README.md CHANGES.md %license LICENSE %{_libdir}/%{name}.so.%{soversion}* %files devel %{_includedir}/zpc/ %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/%{name}.so %changelog ## START: Generated by rpmautospec * Wed Jun 11 2025 Holger Dengler - 1.4.0-1 - Upgrade to new upstream version 1.4.0 - Support for MSA 10 (XTS-FULL) and MSA 11 (HMAC) - Bug fixes * Tue Mar 25 2025 Joerg Schmidbauer - 1.3.1 - bug fixes * Tue Mar 04 2025 Joerg Schmidbauer - 1.3.0 - Support for UV retrievable secrets - Handle CCA cipher key token with Encrypted V0 payload - bug fixes * Fri Jan 12 2024 Joerg Schmidbauer - 1.2.0 - Support for get/set intermediate iv for CBC and XTS - Support for internal iv for GCM - Exploit KBLOB2PROTK3 ioctl for clear AES and EC keys - Fix AES EP11 version 6 key support for generate and import_clear * Wed Sep 20 2023 Joerg Schmidbauer - 1.1.1 - Exploit PKEY_KBLOB2PROTK2 for AES EP11 version 6 keys * Thu Feb 02 2023 Joerg Schmidbauer - 1.1.0 - Support for ECC keys and ECDSA signatures * Wed Jun 22 2022 Joerg Schmidbauer - 1.0.1 - Initial version ## END: Generated by rpmautospec