]> git.pld-linux.org Git - packages/selinux-dbus.git/blob - selinux-dbus.spec
- updated to 3.1 (20200710)
[packages/selinux-dbus.git] / selinux-dbus.spec
1 Summary:        DBus service to handle SELinux administration tasks
2 Summary(pl.UTF-8):      Usługa DBus do obsługi zadań administracyjnych SELinuksa
3 Name:           selinux-dbus
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:  b6ad8b3d8497782c6ed480514dfc8ee8
11 URL:            https://github.com/SELinuxProject/selinux/wiki
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.507
14 # /usr/bin/semodule
15 Requires:       policycoreutils >= 3.1
16 Requires:       python3
17 Requires:       python3-dbus
18 Requires:       python3-modules
19 Requires:       python3-pygobject3 >= 3
20 Requires:       python3-selinux >= 3.1
21 Requires:       python3-sepolicy >= 3.1
22 Requires:       python3-slip-dbus
23 # /usr/sbin/semanage
24 Requires:       selinux-python >= 3.1
25 Conflicts:      policycoreutils-sepolicy < 2.7
26 Conflicts:      system-config-selinux < 2.7
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Security-enhanced Linux is a patch of the Linux kernel and a number of
32 utilities with enhanced security functionality designed to add
33 mandatory access controls to Linux. The Security-enhanced Linux kernel
34 contains new architectural components originally developed to improve
35 the security of the Flask operating system. These architectural
36 components provide general support for the enforcement of many kinds
37 of mandatory access control policies, including those based on the
38 concepts of Type Enforcement, Role-based Access Control, and
39 Multi-level Security.
40
41 This package contains DBus service to handle SELinux administration
42 tasks.
43
44 %description -l pl.UTF-8
45 Security-enhanced Linux jest prototypem jądra Linuksa i wielu
46 aplikacji użytkowych o funkcjach podwyższonego bezpieczeństwa.
47 Zaprojektowany jest tak, aby w prosty sposób ukazać znaczenie
48 obowiązkowej kontroli dostępu dla społeczności linuksowej. Ukazuje
49 również jak taką kontrolę można dodać do istniejącego systemu typu
50 Linux. Jądro SELinux zawiera nowe składniki architektury pierwotnie
51 opracowane w celu ulepszenia bezpieczeństwa systemu operacyjnego
52 Flask. Te elementy zapewniają ogólne wsparcie we wdrażaniu wielu typów
53 polityk obowiązkowej kontroli dostępu, włączając te wzorowane na: Type
54 Enforcement (TE), kontroli dostępu opartej na rolach (RBAC) i
55 zabezpieczeniach wielopoziomowych.
56
57 Ten pakiet zawiera usługę DBus do obsługi zadań administracyjnych
58 SELinuksa.
59
60 %prep
61 %setup -q
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %py3_comp $RPM_BUILD_ROOT%{_datadir}/system-config-selinux
70 %py3_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-selinux
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc selinux_client.py
78 /etc/dbus-1/system.d/org.selinux.conf
79 %{_datadir}/dbus-1/system-services/org.selinux.service
80 %{_datadir}/polkit-1/actions/org.selinux.policy
81 %dir %{_datadir}/system-config-selinux
82 %attr(755,root,root) %{_datadir}/system-config-selinux/selinux_server.py
83 %{_datadir}/system-config-selinux/__pycache__
This page took 0.077604 seconds and 3 git commands to generate.