]> git.pld-linux.org Git - packages/semodule-utils.git/blame - semodule-utils.spec
- updated to 2.9
[packages/semodule-utils.git] / semodule-utils.spec
CommitLineData
af036f1e
JB
1Summary: SELinux developer tools for policy module packages
2Summary(pl.UTF-8): Narzędzia do tworzenia modułów polityk SELinuksa
3Name: semodule-utils
1653f1f1 4Version: 2.9
af036f1e
JB
5Release: 1
6License: GPL v2
7Group: Applications/System
8#Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
1653f1f1
JB
9Source0: https://github.com/SELinuxProject/selinux/releases/download/20190315/%{name}-%{version}.tar.gz
10# Source0-md5: 9e7e6afe33459cae2de5360e97f1e702
af036f1e 11URL: https://github.com/SELinuxProject/selinux/wiki
1653f1f1
JB
12BuildRequires: libsepol-static >= 2.9
13Requires: libsepol >= 2.9
af036f1e
JB
14Conflicts: policycoreutils < 2.7
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Security-enhanced Linux is a patch of the Linux kernel and a number of
19utilities with enhanced security functionality designed to add
20mandatory access controls to Linux. The Security-enhanced Linux kernel
21contains new architectural components originally developed to improve
22the security of the Flask operating system. These architectural
23components provide general support for the enforcement of many kinds
24of mandatory access control policies, including those based on the
25concepts of Type Enforcement, Role-based Access Control, and
26Multi-level Security.
27
28This package contains SELinux developer tools for policy module
29packages.
30
31%description -l pl.UTF-8
32Security-enhanced Linux jest prototypem jądra Linuksa i wielu
33aplikacji użytkowych o funkcjach podwyższonego bezpieczeństwa.
34Zaprojektowany jest tak, aby w prosty sposób ukazać znaczenie
35obowiązkowej kontroli dostępu dla społeczności linuksowej. Ukazuje
36również jak taką kontrolę można dodać do istniejącego systemu typu
37Linux. Jądro SELinux zawiera nowe składniki architektury pierwotnie
38opracowane w celu ulepszenia bezpieczeństwa systemu operacyjnego
39Flask. Te elementy zapewniają ogólne wsparcie we wdrażaniu wielu typów
40polityk obowiązkowej kontroli dostępu, włączając te wzorowane na: Type
41Enforcement (TE), kontroli dostępu opartej na rolach (RBAC) i
42zabezpieczeniach wielopoziomowych.
43
44Ten pakiet zawiera narzędzia do tworzenia modułów polityk SELinuksa.
45
46%prep
47%setup -q
48
49%build
50CFLAGS="%{rpmcflags} %{rpmcppflags}" \
51%{__make} \
52 CC="%{__cc}" \
7d962a57
JB
53 LDFLAGS="%{rpmldflags}" \
54 LIBDIR=%{_libdir}
af036f1e
JB
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
f13660a3 60 DESTDIR=$RPM_BUILD_ROOT
af036f1e
JB
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
af036f1e
JB
67%attr(755,root,root) %{_bindir}/semodule_expand
68%attr(755,root,root) %{_bindir}/semodule_link
69%attr(755,root,root) %{_bindir}/semodule_package
70%attr(755,root,root) %{_bindir}/semodule_unpackage
af036f1e
JB
71%{_mandir}/man8/semodule_expand.8*
72%{_mandir}/man8/semodule_link.8*
73%{_mandir}/man8/semodule_package.8*
74%{_mandir}/man8/semodule_unpackage.8*
1653f1f1
JB
75%lang(ru) %{_mandir}/ru/man8/semodule_expand.8*
76%lang(ru) %{_mandir}/ru/man8/semodule_link.8*
77%lang(ru) %{_mandir}/ru/man8/semodule_package.8*
78%lang(ru) %{_mandir}/ru/man8/semodule_unpackage.8*
This page took 0.096284 seconds and 4 git commands to generate.