Accepting request 928009 from home:markkp:branches:security
New package per IBM request, Jira # SLE-18746. Please make me maintainer/bugowner of the package. OBS-URL: https://build.opensuse.org/request/show/928009 OBS-URL: https://build.opensuse.org/package/show/security/libzpc?expand=0&rev=1
This commit is contained in:
commit
8d3fe437d3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
libzpc-1.0.0.tar.gz
Normal file
3
libzpc-1.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b873f0d41406e7dbb3408f402ff3579c170f239318f9464f2486978704e4b1ab
|
||||||
|
size 81398
|
2
libzpc-rpmlintrc
Normal file
2
libzpc-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
addFilter("libzpc1.* executable-stack /usr/lib64/libzpc.so")
|
||||||
|
|
4
libzpc.changes
Normal file
4
libzpc.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 19 21:49:30 UTC 2021 - Mark Post <mpost@suse.com>
|
||||||
|
|
||||||
|
- Initial version 1.0.0 (jsc#SLE-18746)
|
86
libzpc.spec
Normal file
86
libzpc.spec
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libzpc
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: libzpc
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: 0
|
||||||
|
Summary: IBM Z Protected-key Crypto library
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Productivity/Security
|
||||||
|
URL: https://github.com/opencryptoki/libzpc
|
||||||
|
Source: libzpc-1.0.0.tar.gz
|
||||||
|
BuildRequires: cmake >= 3.10
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libjson-c-devel
|
||||||
|
ExclusiveArch: s390x
|
||||||
|
|
||||||
|
%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 -n libzpc1
|
||||||
|
Summary: Library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libzpc1
|
||||||
|
This package contains the shared library to work with the
|
||||||
|
IBM protected-key cryptography hardware
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Deep Learning Library development files
|
||||||
|
Requires: libzpc0 = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides the sole include file and symbolic link to the
|
||||||
|
shared library for the libzpc RPM.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DBUILD_DOC=ON
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
cd build
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%post -n libzpc1 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libzpc1 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n libzpc1
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_libdir}/libzpc.so.1
|
||||||
|
%{_libdir}/libzpc.so.1.0.0
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%dir %{_includedir}/zpc
|
||||||
|
%{_includedir}/zpc/*.h
|
||||||
|
%{_libdir}/libzpc.so
|
||||||
|
%{_datadir}/pkgconfig/libzpc.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user