9ed7d4a986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm-tools?expand=0&rev=19
91 lines
2.4 KiB
RPMSpec
91 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package tpm-tools
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
BuildRequires: atk-devel expat fontconfig-devel freetype2-devel glib2-devel gtk2-devel libtspi1 openCryptoki-devel openssl-devel pango-devel trousers-devel xorg-x11-devel xorg-x11-libs
|
|
|
|
Name: tpm-tools
|
|
Url: http://trousers.sourceforge.net/
|
|
License: IBM PL
|
|
Group: Productivity/Security
|
|
AutoReqProv: on
|
|
Version: 1.3.6
|
|
Release: 11
|
|
Summary: Trusted Platform Module (TPM) administration tools
|
|
Source0: %name-%version.tar.bz2
|
|
Source1: %name-rpmlintrc
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
PreReq: %install_info_prereq
|
|
|
|
%description
|
|
Trusted Computing is a set of specifications published by the Trusted
|
|
Computing Group (TCG). The Trusted Platform Module (TPM) is the
|
|
hardware component for Trusted Computing. The tpm-tools package
|
|
provides tools for enablement and configuration of the TPM and
|
|
associated interfaces. Also look inside the trousers package for more
|
|
software for TC.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
IBM Corp.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
# Disable unused-but-set warnings with gcc >= 4.6
|
|
%if 0%{?suse_version} >= 1200
|
|
export CFLAGS="%{optflags} -Wno-unused-but-set-variable"
|
|
%endif
|
|
|
|
# please notify upstream
|
|
export LIBS="-lcrypto -ldl"
|
|
%configure --disable-static
|
|
make
|
|
|
|
%check
|
|
make check
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
rm $RPM_BUILD_ROOT/usr/%_lib/*.la
|
|
cp include/*.h $RPM_BUILD_ROOT/usr/include/tpm_tools
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README LICENSE
|
|
%{_mandir}/man*/*
|
|
/usr/sbin/*
|
|
/usr/bin/*
|
|
/usr/%{_lib}/*.so
|
|
/usr/%{_lib}/*.so.*
|
|
/usr/include/tpm_tools
|
|
|
|
%changelog
|