File intel-iamt-mestatus.spec of Package intel-iamt-mestatus
#
# spec file for package intel-iamt-mestatus
#
# Copyright (c) 2008 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/
#
# nodebuginfo
Name: intel-iamt-mestatus
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gtkmm2-devel
BuildRequires: libglademm-devel
BuildRequires: libnotify-devel
License: BSD-3-Clause
Group: System/Kernel
Summary: Intel(R) Management & Security Status
Version: 5.0.0.30
Release: 2
Url: http://downloads.sourceforge.net/project/openamt/mestatus/5.0.0.30/mestatus-5.0.0.30.tar.gz
Source0: mestatus-%{version}.tar.gz
Patch1: MEStatus-5.0.0.30.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The 'Intel(R) Management & Security Status' (MEStatus) is a graphical user
interface application used to monitor Intel(R) AMT and Intel(R) TPM states.
User is able to verify whether Intel(R) AMT and Intel(R) TPM are enabled
and running on the system.
%prep
%setup -n MEStatus-%{version}
%patch1 -p1
%build
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%if 0%{?suse_version}
rm -rf $RPM_BUILD_ROOT/etc/init.d
%else
rm -rf $RPM_BUILD_ROOT/etc/rc.d
%endif
%files
%defattr(-,root,root)
%{_bindir}/MEStatus
%{_bindir}/MEStatusApp
%dir %{_datadir}/mestatus
%{_datadir}/mestatus/*
%clean
rm -rf $RPM_BUILD_ROOT
%changelog