forked from pool/libsepol
Accepting request 411490 from home:jengelh:branches:security:SELinux
- Update RPM groups, trim description and combine filelist entries. remove redundant pkgconfig require (autodetected already) OBS-URL: https://build.opensuse.org/request/show/411490 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsepol?expand=0&rev=58
This commit is contained in:
parent
fb01341895
commit
15a8f4c734
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 15 14:29:28 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update RPM groups, trim description and combine filelist entries.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 14 14:38:09 UTC 2016 - mpluskal@suse.com
|
Thu Jul 14 14:38:09 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@ Version: 2.5
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: SELinux binary policy manipulation library
|
Summary: SELinux binary policy manipulation library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.nsa.gov/selinux/
|
Url: https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||||
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/%{name}-%{version}.tar.gz
|
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/%{name}-%{version}.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -30,84 +30,58 @@ BuildRequires: pkgconfig
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Security-enhanced Linux is a feature of the Linux(R) kernel and a
|
|
||||||
number of utilities with enhanced security functionality designed to
|
|
||||||
add mandatory access controls to Linux. The Security-enhanced Linux
|
|
||||||
kernel contains new architectural components originally developed to
|
|
||||||
improve the security of the Flask operating system. These architectural
|
|
||||||
components provide general support for the enforcement of many kinds of
|
|
||||||
mandatory access control policies, including those based on the
|
|
||||||
concepts of Type Enforcement(R), Role-based Access Control, and
|
|
||||||
Multi-level Security.
|
|
||||||
|
|
||||||
libsepol provides an API for the manipulation of SELinux binary
|
libsepol provides an API for the manipulation of SELinux binary
|
||||||
policies. It is used by checkpolicy (the policy compiler) and similar
|
policies. It is used by checkpolicy (the policy compiler) and similar
|
||||||
tools, as well as by programs like load_policy that need to perform
|
tools, as well as by programs like load_policy that need to perform
|
||||||
specific transformations on binary policies such as customizing policy
|
specific transformations on binary policies such as customizing
|
||||||
boolean settings.
|
policy boolean settings.
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Summary: SELinux binary policy manipulation tools
|
Summary: SELinux binary policy manipulation tools
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
|
|
||||||
%description utils
|
%description utils
|
||||||
Security-enhanced Linux is a feature of the Linux(R) kernel and a
|
|
||||||
number of utilities with enhanced security functionality designed to
|
|
||||||
add mandatory access controls to Linux. The Security-enhanced Linux
|
|
||||||
kernel contains new architectural components originally developed to
|
|
||||||
improve the security of the Flask operating system. These architectural
|
|
||||||
components provide general support for the enforcement of many kinds of
|
|
||||||
mandatory access control policies, including those based on the
|
|
||||||
concepts of Type Enforcement(R), Role-based Access Control, and
|
|
||||||
Multi-level Security.
|
|
||||||
|
|
||||||
libsepol provides an API for the manipulation of SELinux binary
|
libsepol provides an API for the manipulation of SELinux binary
|
||||||
policies. It is used by checkpolicy (the policy compiler) and similar
|
policies. It is used by checkpolicy (the policy compiler) and similar
|
||||||
tools, as well as by programs like load_policy that need to perform
|
tools, as well as by programs like load_policy that need to perform
|
||||||
specific transformations on binary policies such as customizing policy
|
specific transformations on binary policies such as customizing
|
||||||
boolean settings.
|
policy boolean settings.
|
||||||
|
|
||||||
%package -n libsepol1
|
%package -n libsepol1
|
||||||
Summary: SELinux binary policy manipulation library
|
Summary: SELinux binary policy manipulation library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libsepol1
|
%description -n libsepol1
|
||||||
Security-enhanced Linux is a feature of the Linux(R) kernel and a
|
|
||||||
number of utilities with enhanced security functionality designed to
|
|
||||||
add mandatory access controls to Linux. The Security-enhanced Linux
|
|
||||||
kernel contains new architectural components originally developed to
|
|
||||||
improve the security of the Flask operating system. These architectural
|
|
||||||
components provide general support for the enforcement of many kinds of
|
|
||||||
mandatory access control policies, including those based on the
|
|
||||||
concepts of Type Enforcement(R), Role-based Access Control, and
|
|
||||||
Multi-level Security.
|
|
||||||
|
|
||||||
libsepol provides an API for the manipulation of SELinux binary
|
libsepol provides an API for the manipulation of SELinux binary
|
||||||
policies. It is used by checkpolicy (the policy compiler) and similar
|
policies. It is used by checkpolicy (the policy compiler) and similar
|
||||||
tools, as well as by programs like load_policy that need to perform
|
tools, as well as by programs like load_policy that need to perform
|
||||||
specific transformations on binary policies such as customizing policy
|
specific transformations on binary policies such as customizing
|
||||||
boolean settings.
|
policy boolean settings.
|
||||||
|
|
||||||
|
(Security-enhanced Linux is a feature of the kernel and some
|
||||||
|
utilities that implement mandatory access control policies, such as
|
||||||
|
Type Enforcement, Role-based Access Control and Multi-Level
|
||||||
|
Security.)
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development Include Files and Libraries for SELinux policy manipulation
|
Summary: Development files for SELinux's binary policy manipulation library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libsepol1 = %{version}
|
Requires: libsepol1 = %{version}
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libsepol-devel package contains the libraries and header
|
The libsepol-devel package contains the libraries and header files
|
||||||
files needed for developing applications that manipulate binary
|
needed for developing applications that manipulate binary SELinux
|
||||||
policies.
|
policies.
|
||||||
|
|
||||||
%package devel-static
|
%package devel-static
|
||||||
Summary: Development Include Files and Libraries for SELinux policy manipulation
|
Summary: Static archives for SELinux's binary policy manipulation library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libsepol-devel = %{version}
|
Requires: libsepol-devel = %{version}
|
||||||
|
|
||||||
%description devel-static
|
%description devel-static
|
||||||
The libsepol-devel-static package contains the static libraries
|
The libsepol-devel-static package contains the static libraries
|
||||||
needed for developing applications that manipulate binary
|
needed for developing applications that manipulate binary SELinux
|
||||||
policies.
|
policies.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -126,9 +100,7 @@ make DESTDIR=%{buildroot} LIBDIR="%{buildroot}%{_libdir}" SHLIBDIR="%{buildroot}
|
|||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/chkcon
|
%{_bindir}/chkcon
|
||||||
%{_mandir}/man8/chkcon.8%{ext_man}
|
%{_mandir}/man8/*.8%{ext_man}
|
||||||
%{_mandir}/man8/genpolbools.8%{ext_man}
|
|
||||||
%{_mandir}/man8/genpolusers.8%{ext_man}
|
|
||||||
|
|
||||||
%files -n libsepol1
|
%files -n libsepol1
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -137,13 +109,8 @@ make DESTDIR=%{buildroot} LIBDIR="%{buildroot}%{_libdir}" SHLIBDIR="%{buildroot}
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libsepol.so
|
%{_libdir}/libsepol.so
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*.3%{ext_man}
|
||||||
%dir %{_includedir}/sepol
|
%{_includedir}/sepol/
|
||||||
%dir %{_includedir}/sepol/cil
|
|
||||||
%{_includedir}/sepol/*.h
|
|
||||||
%{_includedir}/sepol/cil/cil.h
|
|
||||||
%dir %{_includedir}/sepol/policydb
|
|
||||||
%{_includedir}/sepol/policydb/*.h
|
|
||||||
%{_libdir}/pkgconfig/libsepol.pc
|
%{_libdir}/pkgconfig/libsepol.pc
|
||||||
|
|
||||||
%files devel-static
|
%files devel-static
|
||||||
|
Loading…
Reference in New Issue
Block a user