]> git.pld-linux.org Git - packages/semodule-utils.git/blob - semodule-utils.spec
99957f68162f7980c959380975bd0c8a5c603137
[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.7
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/20170804/%{name}-%{version}.tar.gz
10 # Source0-md5:  678e3a5225f9645d40fd9d13bbaa156f
11 URL:            https://github.com/SELinuxProject/selinux/wiki
12 BuildRequires:  libsepol-static >= 2.7
13 Requires:       libsepol >= 2.7
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
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT \
60         LIBSEPOLA=%{_libdir}/libsepol.a
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_deps
68 %attr(755,root,root) %{_bindir}/semodule_expand
69 %attr(755,root,root) %{_bindir}/semodule_link
70 %attr(755,root,root) %{_bindir}/semodule_package
71 %attr(755,root,root) %{_bindir}/semodule_unpackage
72 %{_mandir}/man8/semodule_deps.8*
73 %{_mandir}/man8/semodule_expand.8*
74 %{_mandir}/man8/semodule_link.8*
75 %{_mandir}/man8/semodule_package.8*
76 %{_mandir}/man8/semodule_unpackage.8*
This page took 0.093435 seconds and 2 git commands to generate.