File ima-evm-utils.spec of Package ima-evm-utils

#
# spec file for package ima-evm-utils
#
# Copyright (c) 2013 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:           ima-evm-utils
Version:        0.2
Release:        0
Summary:        IMA/EVM control utility
License:        LGPL-2.1+
Group:          System/Libraries
#URL:		
Source0:        http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils/ima-evm-utils-0.2.tar.gz
Source1:	COPYING
Patch0:		automake.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  keyutils-devel
BuildRequires:  libattr-devel
BuildRequires:  openssl-devel
BuildRequires:  pkg-config

%description
This package provides the IMA/EVM control utility.

%prep
%setup -q
%patch0 -p1

%build
./autogen.sh
%configure --prefix=/usr
make
cp %{SOURCE1} .

%install
make DESTDIR=%{buildroot} install

%post -p /sbin/ldconfig

%preun -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc README COPYING NEWS AUTHORS
%{_bindir}/*
%dir %{_libexecdir}/%name
%{_libexecdir}/%name/*

%changelog
openSUSE Build Service is sponsored by