]> git.pld-linux.org Git - packages/selinux-gui.git/blob - selinux-gui.spec
- updated to 3.1
[packages/selinux-gui.git] / selinux-gui.spec
1 Summary:        SELinux policy core utilities
2 Summary(pl.UTF-8):      Podstawowe narzędzia dla polityki SELinux
3 Name:           selinux-gui
4 Version:        3.1
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/System
8 #Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
9 Source0:        https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz
10 # Source0-md5:  1e0ea65dfb2b5408969bbe55f6f9d04e
11 URL:            https://github.com/SELinuxProject/selinux/wiki
12 BuildRequires:  python3-modules >= 1:3.2
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.507
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 system-config-selinux provides a graphical interface for managing the
29 SELinux configuration.
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 system-config-selinux dostarcza graficzny interfejs do zarządzania
45 konfiguracją SELinuksa.
46
47 %package -n system-config-selinux
48 Summary:        Graphical SELinux Management tool
49 Summary(pl.UTF-8):      Graficzne narzędzie do zarządzania SELinuksem
50 Group:          X11/Applications
51 Requires:       gtk+3 >= 3
52 Requires:       policycoreutils >= 3.1
53 Requires:       polkit
54 Requires:       python3-pygobject3 >= 3
55 Requires:       python3-selinux >= 3.1
56 # seobject, sepolicy python modules
57 Requires:       python3-sepolicy >= 3.1
58 # semanage and sepolicy commands
59 Requires:       selinux-python >= 3.1
60
61 %description -n system-config-selinux
62 system-config-selinux provides a graphical interface for managing the
63 SELinux configuration.
64
65 %description -n system-config-selinux -l pl.UTF-8
66 system-config-selinux dostarcza graficzny interfejs do zarządzania
67 konfiguracją SELinuksa.
68
69 %prep
70 %setup -q
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %py3_comp $RPM_BUILD_ROOT%{_datadir}/system-config-selinux
79 %py3_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-selinux
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files -n system-config-selinux
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_bindir}/selinux-polgengui
87 %attr(755,root,root) %{_bindir}/system-config-selinux
88 %attr(755,root,root) %{_datadir}/system-config-selinux/system-config-selinux.py
89 %{_datadir}/system-config-selinux/[!ps]*.py
90 %{_datadir}/system-config-selinux/polgen.ui
91 %{_datadir}/system-config-selinux/portsPage.py
92 %{_datadir}/system-config-selinux/semanagePage.py
93 %{_datadir}/system-config-selinux/statusPage.py
94 %{_datadir}/system-config-selinux/system-config-selinux.png
95 %{_datadir}/system-config-selinux/system-config-selinux.ui
96 %{_datadir}/system-config-selinux/__pycache__
97 %{_datadir}/polkit-1/actions/org.selinux.config.policy
98 %{_desktopdir}/selinux-polgengui.desktop
99 %{_desktopdir}/sepolicy.desktop
100 %{_desktopdir}/system-config-selinux.desktop
101 %{_iconsdir}/hicolor/*x*/apps/sepolicy.png
102 %{_iconsdir}/hicolor/24x24/apps/system-config-selinux.png
103 %{_pixmapsdir}/sepolicy.png
104 %{_pixmapsdir}/system-config-selinux.png
105 %{_mandir}/man8/selinux-polgengui.8*
106 %{_mandir}/man8/system-config-selinux.8*
107 %lang(ru) %{_mandir}/ru/man8/selinux-polgengui.8*
108 %lang(ru) %{_mandir}/ru/man8/system-config-selinux.8*
This page took 0.054489 seconds and 3 git commands to generate.