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