Make error and help messages more understandable
[platform/upstream/ima-evm-utils.git] / packaging / ima-evm-utils.spec
1 Name:           ima-evm-utils
2 Version:        0.8
3 Release:        1%{?dist}
4 Summary:        ima-evm-utils - IMA/EVM control utility
5 Group:          System/Libraries
6 License:        GPLv2
7 #URL:           
8 Source0:        %{name}-%{version}.tar.gz
9 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
10
11 BuildRequires:    autoconf
12 BuildRequires:    automake
13 BuildRequires:    openssl-devel
14 BuildRequires:    libattr-devel
15 BuildRequires:    keyutils-libs-devel
16
17 %description
18 This package provide IMA/EVM control utility
19
20 %prep
21 %setup -q
22
23 %build
24 ./autogen.sh
25 %configure --prefix=/usr
26 make
27
28 %install
29 rm -rf %{buildroot}
30 make DESTDIR=%{buildroot} install
31
32 %clean
33 rm -rf %{buildroot}
34
35 %post
36 /sbin/ldconfig
37 exit 0
38
39 %preun -p /sbin/ldconfig
40
41 %postun
42 /sbin/ldconfig
43
44 %files
45 %defattr(-,root,root,-)
46 %{_bindir}/*
47 %{_libdir}/libimaevm.*
48 %{_includedir}/*
49
50 %changelog
51 * Thu Apr 05 2012 Dmitry Kasatkin <dmitry.kasatkin@intel.com>
52 - Initial RPM spec file
53