]>
Commit | Line | Data |
---|---|---|
d95d20a5 JB |
1 | Summary: SELinux policy core utilities |
2 | Summary(pl.UTF-8): Podstawowe narzędzia dla polityki SELinux | |
3 | Name: selinux-gui | |
4713fead | 4 | Version: 3.1 |
96ecaab0 | 5 | Release: 2 |
d95d20a5 JB |
6 | License: GPL v2+ |
7 | Group: Applications/System | |
8 | #Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases | |
4713fead JB |
9 | Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz |
10 | # Source0-md5: 1e0ea65dfb2b5408969bbe55f6f9d04e | |
d95d20a5 | 11 | URL: https://github.com/SELinuxProject/selinux/wiki |
088a3550 | 12 | BuildRequires: python3-modules >= 1:3.2 |
d95d20a5 | 13 | BuildRequires: rpm-pythonprov |
088a3550 | 14 | BuildRequires: rpmbuild(macros) >= 1.507 |
96ecaab0 | 15 | BuildArch: noarch |
d95d20a5 JB |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | Security-enhanced Linux is a patch of the Linux kernel and a number of | |
20 | utilities with enhanced security functionality designed to add | |
21 | mandatory access controls to Linux. The Security-enhanced Linux kernel | |
22 | contains new architectural components originally developed to improve | |
23 | the security of the Flask operating system. These architectural | |
24 | components provide general support for the enforcement of many kinds | |
25 | of mandatory access control policies, including those based on the | |
26 | concepts of Type Enforcement, Role-based Access Control, and | |
27 | Multi-level Security. | |
28 | ||
29 | system-config-selinux provides a graphical interface for managing the | |
30 | SELinux configuration. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | Security-enhanced Linux jest prototypem jądra Linuksa i wielu | |
34 | aplikacji użytkowych o funkcjach podwyższonego bezpieczeństwa. | |
35 | Zaprojektowany jest tak, aby w prosty sposób ukazać znaczenie | |
36 | obowiązkowej kontroli dostępu dla społeczności linuksowej. Ukazuje | |
37 | również jak taką kontrolę można dodać do istniejącego systemu typu | |
38 | Linux. Jądro SELinux zawiera nowe składniki architektury pierwotnie | |
39 | opracowane w celu ulepszenia bezpieczeństwa systemu operacyjnego | |
40 | Flask. Te elementy zapewniają ogólne wsparcie we wdrażaniu wielu typów | |
41 | polityk obowiązkowej kontroli dostępu, włączając te wzorowane na: Type | |
42 | Enforcement (TE), kontroli dostępu opartej na rolach (RBAC) i | |
43 | zabezpieczeniach wielopoziomowych. | |
44 | ||
45 | system-config-selinux dostarcza graficzny interfejs do zarządzania | |
46 | konfiguracją SELinuksa. | |
47 | ||
48 | %package -n system-config-selinux | |
49 | Summary: Graphical SELinux Management tool | |
50 | Summary(pl.UTF-8): Graficzne narzędzie do zarządzania SELinuksem | |
51 | Group: X11/Applications | |
bba3d103 | 52 | Requires: gtk+3 >= 3 |
4713fead | 53 | Requires: policycoreutils >= 3.1 |
bba3d103 JR |
54 | Requires: polkit |
55 | Requires: python3-pygobject3 >= 3 | |
4713fead JB |
56 | Requires: python3-selinux >= 3.1 |
57 | # seobject, sepolicy python modules | |
58 | Requires: python3-sepolicy >= 3.1 | |
59 | # semanage and sepolicy commands | |
60 | Requires: selinux-python >= 3.1 | |
d95d20a5 JB |
61 | |
62 | %description -n system-config-selinux | |
63 | system-config-selinux provides a graphical interface for managing the | |
64 | SELinux configuration. | |
65 | ||
66 | %description -n system-config-selinux -l pl.UTF-8 | |
67 | system-config-selinux dostarcza graficzny interfejs do zarządzania | |
68 | konfiguracją SELinuksa. | |
69 | ||
70 | %prep | |
71 | %setup -q | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
088a3550 JB |
79 | %py3_comp $RPM_BUILD_ROOT%{_datadir}/system-config-selinux |
80 | %py3_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-selinux | |
81 | ||
d95d20a5 JB |
82 | %clean |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %files -n system-config-selinux | |
86 | %defattr(644,root,root,755) | |
4713fead | 87 | %attr(755,root,root) %{_bindir}/selinux-polgengui |
d95d20a5 | 88 | %attr(755,root,root) %{_bindir}/system-config-selinux |
d95d20a5 JB |
89 | %attr(755,root,root) %{_datadir}/system-config-selinux/system-config-selinux.py |
90 | %{_datadir}/system-config-selinux/[!ps]*.py | |
bba3d103 | 91 | %{_datadir}/system-config-selinux/polgen.ui |
d95d20a5 JB |
92 | %{_datadir}/system-config-selinux/portsPage.py |
93 | %{_datadir}/system-config-selinux/semanagePage.py | |
94 | %{_datadir}/system-config-selinux/statusPage.py | |
d95d20a5 | 95 | %{_datadir}/system-config-selinux/system-config-selinux.png |
bba3d103 | 96 | %{_datadir}/system-config-selinux/system-config-selinux.ui |
088a3550 | 97 | %{_datadir}/system-config-selinux/__pycache__ |
d95d20a5 | 98 | %{_datadir}/polkit-1/actions/org.selinux.config.policy |
4713fead JB |
99 | %{_desktopdir}/selinux-polgengui.desktop |
100 | %{_desktopdir}/sepolicy.desktop | |
101 | %{_desktopdir}/system-config-selinux.desktop | |
d95d20a5 JB |
102 | %{_iconsdir}/hicolor/*x*/apps/sepolicy.png |
103 | %{_iconsdir}/hicolor/24x24/apps/system-config-selinux.png | |
104 | %{_pixmapsdir}/sepolicy.png | |
105 | %{_pixmapsdir}/system-config-selinux.png | |
106 | %{_mandir}/man8/selinux-polgengui.8* | |
107 | %{_mandir}/man8/system-config-selinux.8* | |
bba3d103 JR |
108 | %lang(ru) %{_mandir}/ru/man8/selinux-polgengui.8* |
109 | %lang(ru) %{_mandir}/ru/man8/system-config-selinux.8* |