summaryrefslogtreecommitdiff
path: root/packaging/ima-evm-utils.spec
blob: 9d19fb8e661ee8a352016c4dd309a5bddcab53a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Name:		ima-evm-utils
Version:	0.9
Release:	1%{?dist}
Summary:	ima-evm-utils - IMA/EVM control utility
Group:		System/Libraries
License:	GPL-2.0
#URL:		
Source0:	%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires:    autoconf
BuildRequires:    automake
BuildRequires:    asciidoc
BuildRequires:    xsltproc
BuildRequires:    openssl-devel
BuildRequires:    libattr-devel
BuildRequires:    keyutils-devel

%description
This package provide IMA/EVM control utility

%prep
%setup -q

%build
./autogen.sh
%configure --prefix=/usr
make

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install

%clean
rm -rf %{buildroot}

%post
/sbin/ldconfig
exit 0

%preun -p /sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_libdir}/*
%{_includedir}/*
/usr/share/doc/ima-evm-utils/*

%changelog
* Thu Apr 05 2012 Dmitry Kasatkin <dmitry.kasatkin@intel.com>
- Initial RPM spec file