Initial project setup
authorGraydon, Tracy <tracy.graydon@intel.com>
Sat, 28 Sep 2013 01:29:25 +0000 (18:29 -0700)
committerGraydon, Tracy <tracy.graydon@intel.com>
Sat, 28 Sep 2013 01:29:25 +0000 (18:29 -0700)
.gbs.conf [new file with mode: 0644]
.gitignore
packaging/ima-evm-utils.spec [new file with mode: 0644]

diff --git a/.gbs.conf b/.gbs.conf
new file mode 100644 (file)
index 0000000..35106e8
--- /dev/null
+++ b/.gbs.conf
@@ -0,0 +1,3 @@
+[general]
+upstream_branch = origin
+upstream_tag = v${upstreamversion}
index ab8a13c..0cae2b7 100644 (file)
@@ -28,7 +28,7 @@ tests/openclose
 config.h
 config.h.in
 stamp-h1
-*.spec
+#*.spec
 
 # But don't ignore the symlinks with the same names in this directory
 !tests/valgrind/*
diff --git a/packaging/ima-evm-utils.spec b/packaging/ima-evm-utils.spec
new file mode 100644 (file)
index 0000000..daa5896
--- /dev/null
@@ -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
+