]> git.pld-linux.org Git - packages/semodule-utils.git/blob - semodule-utils.spec
1a62465743d9a8768181ccefcefe2087f654f467
[packages/semodule-utils.git] / semodule-utils.spec
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
4 Version:        2.8
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/System
8 #Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
9 Source0:        https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/%{name}-%{version}.tar.gz
10 # Source0-md5:  51c69e612481ce971e2ae825139d2ca0
11 URL:            https://github.com/SELinuxProject/selinux/wiki
12 BuildRequires:  libsepol-static >= 2.8
13 Requires:       libsepol >= 2.8
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}" \
53         LDFLAGS="%{rpmldflags}" \
54         LIBDIR=%{_libdir}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
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
71 %{_mandir}/man8/semodule_expand.8*
72 %{_mandir}/man8/semodule_link.8*
73 %{_mandir}/man8/semodule_package.8*
74 %{_mandir}/man8/semodule_unpackage.8*
This page took 0.04911 seconds and 2 git commands to generate.