mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-04-28 06:33:36 +02:00
Provide spec file for gbs build system
GBS build system requires specfile before configuring the package. Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
This commit is contained in:
parent
504e1d4013
commit
73f10810c0
52
packaging/ima-evm-utils.spec
Normal file
52
packaging/ima-evm-utils.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
Name: ima-evm-utils
|
||||||
|
Version: 0.6
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: ima-evm-utils - IMA/EVM control utility
|
||||||
|
Group: System/Libraries
|
||||||
|
License: GPLv2
|
||||||
|
#URL:
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: libattr-devel
|
||||||
|
BuildRequires: keyutils-libs-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}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Apr 05 2012 Dmitry Kasatkin <dmitry.kasatkin@intel.com>
|
||||||
|
- Initial RPM spec file
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user