polgen spec
PATCH 1/1 polgen spec
Greetings,
Introducing .spec file for polgen
best wishes
Mike
polgen.spec +44 -0
@@ -0,0 +1,44 @@ +Summary: SELinux policy generation scripts +Name: polgen +Version: 0.8 +Release: 1 +License: GPL +Group: Development/System +Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-buildroot +Requires: python + +%description +Security-enhanced Linux is a patch of the Linux® kernel and a number +of utilities with enhanced security functionality designed to add +mandatory access controls to Linux. The Security-enhanced Linux +kernel contains new architectural components originally developed to +improve the security of the Flask operating system. These +architectural components provide general support for the enforcement +of many kinds of mandatory access control policies, including those +based on the concepts of Type Enforcement®, Role-based Access +Control, and Multi-level Security. + +This package contains polgen, a collection of scripts and tools +developed by the MITRE corporation to automate the SELinux +policy generation process. + +%prep +%setup -q + +%build +make CFLAGS="%{optflags}" + +%install +rm -rf ${RPM_BUILD_ROOT} +mkdir -p ${RPM_BUILD_ROOT}%{_bindir} +make DESTDIR="${RPM_BUILD_ROOT}" install + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) + +%changelog