selinux-policy/selinux-policy.spec

50 lines
1.1 KiB
RPMSpec

#
# spec file for package selinux-policy
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: selinux-policy
Version: 20081014
Release: 1
Url: http://oss.tresys.com/projects/refpolicy/
License: GPL v2
Group: System/Base
Summary: SELinux policy
Source: refpolicy-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: checkpolicy policycoreutils libsepol-devel python python-xml m4
%description
SELinux policy - based on reference policy from Tresys
%prep
%setup -q -n refpolicy
%build
make conf
make policy
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING Changelog README
%dir %{_sysconfdir}/selinux
%dir %{_sysconfdir}/selinux/refpolicy
%{_sysconfdir}/selinux/refpolicy/*
%changelog