forked from pool/selinux-policy
c96c5d88e5
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=1
47 lines
994 B
RPMSpec
47 lines
994 B
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: 20080702
|
|
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
|
|
|
|
%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
|
|
|
|
%changelog
|