Accepting request 455751 from home:jengelh:branches:security
- Wrap description and spell out TSS. - Move package description up before any build recipes, this is the more usual layout. - Drop unusable "return" command; %build already executes with sh -e. OBS-URL: https://build.opensuse.org/request/show/455751 OBS-URL: https://build.opensuse.org/package/show/security/ibmtss?expand=0&rev=3
This commit is contained in:
parent
58a226e668
commit
8c0db57c13
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 09:33:13 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Wrap description and spell out TSS.
|
||||
- Move package description up before any build recipes,
|
||||
this is the more usual layout.
|
||||
- Drop unusable "return" command; %build already executes with
|
||||
sh -e.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 27 11:44:04 UTC 2017 - msuchanek@suse.com
|
||||
|
||||
|
44
ibmtss.spec
44
ibmtss.spec
@ -42,9 +42,28 @@ Recommends: %{name}-base = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This is a user space TSS for TPM 2.0. It implements the functionality equivalent to the TCG TSS working group's planned ESAPI, SAPI, and TCTI API's.
|
||||
This is a user space TCG Software Stack (TSS) for TPM 2.0. It
|
||||
implements the functionality equivalent to the TCG TSS working
|
||||
group's planned ESAPI, SAPI, and TCTI APIs.
|
||||
|
||||
It comes with over 100 "TPM tools" that can be used for scripted apps, rapid prototyping, education, and debugging.
|
||||
It comes with over 100 "TPM tools" that can be used for scripted
|
||||
apps, rapid prototyping, education, and debugging.
|
||||
|
||||
%package base
|
||||
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.
|
||||
|
||||
%package devel
|
||||
Summary: IBM's TPM 2.0 TSS headers
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{suite} = %{version}
|
||||
|
||||
%description devel
|
||||
Includes IBM's TPM 2.0 TSS certificates and policy files.
|
||||
|
||||
%prep
|
||||
%setup -c -q
|
||||
@ -54,9 +73,10 @@ It comes with over 100 "TPM tools" that can be used for scripted apps, rapid pro
|
||||
cd utils
|
||||
[ -n "%{test}" ] && { %{_libexecdir}/%{suite}/tpm_server & tpm_server="$!" ; }
|
||||
CCFLAGS="%{optflags}" make LNAFLAGS="-Wl,-rpath,%{_libexecdir}/%{suite}" %{?_smp_mflags}
|
||||
testfailed=0
|
||||
[ -n "%{test}" ] && { TPM_INTERFACE_TYPE=socsim LD_LIBRARY_PATH=. ./reg.sh || testfailed=$? ; }
|
||||
[ -n "%{test}" ] && kill "$tpm_server" || :
|
||||
[ -n "$testfailed" ] && return $testfailed
|
||||
[ "$testfailed" -eq 0 ]
|
||||
|
||||
%install
|
||||
cd utils
|
||||
@ -71,10 +91,6 @@ install -p -D -m 644 %{SOURCE1}.1 %{buildroot}/%{_mandir}/man1/%{suite}.1
|
||||
sed -i -e s,%UTILDIR%,%{_libexecdir}/%{suite},g -e s,%DATADIR%,%{_datadir}/%{suite},g -e s,%DOCDIR%,%{_docdir}/%{name},g \
|
||||
%{buildroot}/%{_bindir}/%{suite} %{buildroot}/%{_mandir}/man1/%{suite}.1
|
||||
|
||||
%post
|
||||
|
||||
%postun
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ibmtss.doc LICENSE
|
||||
@ -82,25 +98,11 @@ sed -i -e s,%UTILDIR%,%{_libexecdir}/%{suite},g -e s,%DATADIR%,%{_datadir}/%{sui
|
||||
%{_bindir}/%{suite}
|
||||
%{_mandir}/man1/%{suite}.1*
|
||||
|
||||
%package base
|
||||
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
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE
|
||||
%{_datadir}/%{suite}
|
||||
|
||||
%package devel
|
||||
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
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user