File intel-SINIT.spec of Package intel-SINIT

#
# spec file for package intel-SINIT
#
# 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/
#



Name:           intel-SINIT
License:        Commercial
BuildRequires:  fdupes
Group:          Development/Tools/Other
AutoReqProv:    on
Summary:        Intel(R) SINIT AC modules
Version:        2.3
Release:        81
Source0:        http://downloads.sourceforge.net/project/tboot/SINIT%20AC%20Modules/Xeon%205600/X5600-SINIT.tar.gz
Source1:        http://downloads.sourceforge.net/project/tboot/SINIT%20AC%20Modules/SINIT%20AC%20Module%20Guide/SINIT-guide.txt
Source2:        http://downloads.sourceforge.net/project/tboot/SINIT%20AC%20Modules/i7%20Processor%20Quad/i7_QUAD-SINIT.tar.gz
Source3:        http://downloads.sourceforge.net/project/tboot/SINIT%20AC%20Modules/Q45%20and%20Q43%20Express/Q45_Q43-SINIT.tar.gz
Source4:        http://downloads.sourceforge.net/project/tboot/SINIT%20AC%20Modules/i5%20and%20i7%20Processor%20Dual/i5_i7_DUAL-SINIT.tar.gz
Source5:        http://downloads.sourceforge.net/project/tboot/SINIT%20AC%20Modules/Q35%20Express/Q35-SINIT.tar.gz
Source6:        http://downloads.sourceforge.net/project/tboot/SINIT%20AC%20Modules/GM45%2C%20PS45%20and%20PM45%20Express/GM45_GS45_PM45-SINIT.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Trusted Boot (tboot) is an open source, pre-kernel/VMM module that uses
Intel(R) Trusted Execution Technology (Intel(R) TXT) to perform a measured
and verified launch of an OS kernel/VMM.

This package contains the binary SINIT AC Modules that are used for measuring.


%prep
%setup -c -n intel-SINIT
tar xf %{S:0}
cp %{S:1} .
tar xf %{S:2}
tar xf %{S:3}
tar xf %{S:4}
tar xf %{S:5}
tar xf %{S:6}
chmod 644 */*

%build

%install
mkdir $RPM_BUILD_ROOT/usr/
mkdir $RPM_BUILD_ROOT/usr/lib/
mkdir $RPM_BUILD_ROOT/usr/lib/sinit

mv */*.BIN $RPM_BUILD_ROOT/usr/lib/sinit
chmod 644 $RPM_BUILD_ROOT/usr/lib/sinit/*.BIN

%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc SINIT-guide.txt GM45_GS45_PM45-SINIT Q35-SINIT Q45_Q43-SINIT X5600-SINIT i5_i7_DUAL-SINIT i7_QUAD-SINIT
%dir /usr/lib/sinit
/usr/lib/sinit/*

%changelog
openSUSE Build Service is sponsored by