forked from pool/ibmtss
This commit is contained in:
parent
0afe6a6710
commit
58a226e668
46
ibmtss.spec
46
ibmtss.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ibmtss
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -13,28 +13,32 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
%define suite ibmtss
|
||||
|
||||
Name: ibmtss
|
||||
Version: 713
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: IBM's TPM 2.0 TSS
|
||||
Url: https://sourceforge.net/projects/ibmtpm20tss/
|
||||
Group: Productivity/Security
|
||||
Source: %{name}%{version}.tar
|
||||
Patch: makefile.patch
|
||||
Source1: %{name}
|
||||
Source2: %{name}.1
|
||||
BuildRequires: libopenssl-devel >= 1.0, libopenssl-devel <= 1.1
|
||||
Version: 713
|
||||
Release: 0
|
||||
Summary: IBM's TPM 2.0 TSS
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Security
|
||||
Url: https://sourceforge.net/projects/ibmtpm20tss/
|
||||
Source: %{name}%{version}.tar
|
||||
Patch: makefile.patch
|
||||
Source1: %{name}
|
||||
Source2: %{name}.1
|
||||
BuildRequires: libopenssl-devel <= 1.1
|
||||
BuildRequires: libopenssl-devel >= 1.0
|
||||
%ifnarch s390x s390 ppc64 ppc
|
||||
BuildRequires: ibmswtpm2
|
||||
BuildRequires: ibmswtpm2
|
||||
%define test 1
|
||||
%else
|
||||
%define test ""
|
||||
%endif
|
||||
Recommends: %{name}-base = %{version}
|
||||
Recommends: %{name}-base = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -79,8 +83,10 @@ sed -i -e s,%UTILDIR%,%{_libexecdir}/%{suite},g -e s,%DATADIR%,%{_datadir}/%{sui
|
||||
%{_mandir}/man1/%{suite}.1*
|
||||
|
||||
%package base
|
||||
Summary: IBM's TPM 2.0 TSS shared files
|
||||
BuildArch: noarch
|
||||
Summary: IBM's TPM 2.0 TSS shared files
|
||||
Group: Productivity/Security
|
||||
BuildArch: noarch
|
||||
|
||||
%description base
|
||||
Includes IBM's TPM 2.0 TSS certificates and policy files.
|
||||
%files base
|
||||
@ -89,9 +95,10 @@ Includes IBM's TPM 2.0 TSS certificates and policy files.
|
||||
%{_datadir}/%{suite}
|
||||
|
||||
%package devel
|
||||
Summary: IBM's TPM 2.0 TSS headers
|
||||
Group: Development/Libraries
|
||||
Requires: %{suite} = %{version}
|
||||
Summary: IBM's TPM 2.0 TSS headers
|
||||
Group: Development/Libraries
|
||||
Requires: %{suite} = %{version}
|
||||
|
||||
%description devel
|
||||
Includes IBM's TPM 2.0 TSS certificates and policy files.
|
||||
%files devel
|
||||
@ -99,3 +106,4 @@ Includes IBM's TPM 2.0 TSS certificates and policy files.
|
||||
%doc LICENSE
|
||||
%{_includedir}/%{suite}
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user