]> git.pld-linux.org Git - packages/checkpolicy.git/blame - checkpolicy.spec
up to 3.6
[packages/checkpolicy.git] / checkpolicy.spec
CommitLineData
d72edc75 1Summary: SELinux policy compiler
3f401ecf 2Summary(pl.UTF-8): Kompilator polityki SELinux
d72edc75 3Name: checkpolicy
fc65ada2 4Version: 3.6
fdbe3ee6 5Release: 1
d5ec4dc8 6License: GPL v2
d72edc75 7Group: Development
5557f205 8#Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
fc65ada2
JP
9Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: ae3c281bc0dc43e8a9b335821580eaaa
5557f205 11URL: https://github.com/SELinuxProject/selinux/wiki
75696de7
JB
12BuildRequires: bison
13BuildRequires: flex
fc65ada2 14BuildRequires: libselinux-devel >= 3.6
ba8b52c6 15# it uses libsepol symbols not exported in shared library
fc65ada2 16BuildRequires: libsepol-static >= 3.6
d72edc75 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
66f0bcb1 20Security-enhanced Linux is a patch of the Linux kernel and a number of
21utilities with enhanced security functionality designed to add
d72edc75 22mandatory access controls to Linux. The Security-enhanced Linux kernel
23contains new architectural components originally developed to improve
24the security of the Flask operating system. These architectural
25components provide general support for the enforcement of many kinds
26of mandatory access control policies, including those based on the
27concepts of Type Enforcement, Role-based Access Control, and
28Multi-level Security.
29
30This package contains checkpolicy, the SELinux policy compiler. Only
31required for building policies.
32
c8064eaa
JR
33%description -l pl.UTF-8
34Security-enhanced Linux jest prototypem jądra Linuksa i wielu
35aplikacji użytkowych o funkcjach podwyższonego bezpieczeństwa.
36Zaprojektowany jest tak, aby w prosty sposób ukazać znaczenie
37obowiązkowej kontroli dostępu dla społeczności linuksowej. Ukazuje
38również jak taką kontrolę można dodać do istniejącego systemu typu
39Linux. Jądro SELinux zawiera nowe składniki architektury pierwotnie
40opracowane w celu ulepszenia bezpieczeństwa systemu operacyjnego
41Flask. Te elementy zapewniają ogólne wsparcie we wdrażaniu wielu typów
42polityk obowiązkowej kontroli dostępu, włączając te wzorowane na: Type
43Enforcement (TE), kontroli dostępu opartej na rolach (RBAC) i
a0b8a772
JB
44zabezpieczeniach wielopoziomowych.
45
46Ten pakiet zawiera checkpolicy - kompilator polityki SELinux. Jest
47wymagany do zbudowania polityki.
d72edc75 48
49%prep
50%setup -q
51
52%build
75696de7
JB
53%{__make} \
54 CC="%{__cc}" \
357aa427 55 CFLAGS="%{rpmcflags} %{rpmcppflags} -pipe" \
e30bac91
JB
56 YACC="bison -y" \
57 LIBDIR=%{_libdir}
d72edc75 58
59%install
60rm -rf $RPM_BUILD_ROOT
a0b8a772
JB
61
62%{__make} install \
df6d873a 63 DESTDIR=$RPM_BUILD_ROOT
d72edc75 64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
4216e810
JB
70%attr(755,root,root) %{_bindir}/checkmodule
71%attr(755,root,root) %{_bindir}/checkpolicy
72%{_mandir}/man8/checkmodule.8*
73%{_mandir}/man8/checkpolicy.8*
This page took 0.100327 seconds and 4 git commands to generate.