File intel-iamt-lms.spec of Package intel-iamt-lms
#
# spec file for package intel-iamt-lms
#
# 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-lms
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: gcc
BuildRequires: gcc-c++
License: BSD-3-Clause
Group: System/Kernel
Summary: Updated intel-iamt-heci kernel module for Intel iAMT
Version: 5.0.0.30
Release: 2
Url: http://downloads.sourceforge.net/project/openamt/heci/5.0.0.30/heci-5.0.0.30.tar.gz
Source0: lms-%{version}.tar.gz
Patch1: LMS-5.0.0.30.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Updated intel-iamt-lms kernel module for Intel iAMT
%prep
%setup -n LMS-%{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)
%{_sbindir}/lms
%clean
rm -rf $RPM_BUILD_ROOT
%changelog