update to 2.1.4 [release 2.1.4-1mamba;Sat May 19 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 05:45:19 +01:00
parent b78b95cd10
commit ce6e4f4d10
2 changed files with 109 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# libsepol
Libsepol provides an API for the manipulation of SELinux binary policies.
It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings.

106
libsepol.spec Normal file
View File

@ -0,0 +1,106 @@
Name: libsepol
Version: 2.1.4
Release: 1mamba
Summary: Security Enhanced Linux policy manipulation library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://userspace.selinuxproject.org/trac
Source: http://userspace.selinuxproject.org/releases/20120216/%{name}-%{version}.tar.gz
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libsepol provides an API for the manipulation of SELinux binary policies.
It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers used to build policy manipulation tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libsepol provides an API for the manipulation of SELinux binary policies.
It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings.
This package contains static libraries and header files need for development.
%package tools
Group: Development/Libraries
Summary: Security Enhanced Linux policy utility programs
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Libsepol provides an API for the manipulation of SELinux binary policies.
It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings.
This package contains the Security Enhanced Linux policy utility programs.
%debug_package
%prep
%setup -q
%build
%make CC=%{_host}-gcc
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall \
LIBDIR=%{buildroot}%{_libdir} \
SHLIBDIR=%{buildroot}/%{_lib}
rm -f %{buildroot}%{_mandir}/man8/genpolbools.*
rm -f %{buildroot}%{_mandir}/man8/genpolusers.*
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
/%{_lib}/*.so.*
%doc COPYING ChangeLog
%files devel
%defattr(-,root,root)
%dir %{_includedir}/sepol
%{_includedir}/sepol/*.h
%{_includedir}/sepol/policydb/*.h
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/libsepol.pc
%{_mandir}/man3/*
%files tools
%defattr(-,root,root)
%{_bindir}/chkcon
%{_mandir}/man8/chkcon.*
%changelog
* Sat May 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.4-1mamba
- update to 2.1.4
* Tue Jun 22 2010 Automatic Build System <autodist@mambasoft.it> 2.0.41-1mamba
- automatic update by autodist
* Tue Mar 23 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.37-1mamba
- update to 2.0.37
* Mon Jan 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.30-1mamba
- automatic update by autodist
* Wed Apr 04 2007 Davide Madrisan <davide.madrisan@gmail.com> 2.0.1-1mamba
- update to version 2.0.1 by autospec
* Wed Apr 04 2007 Davide Madrisan <davide.madrisan@gmail.com> 1.16.1-1mamba
- update to version 1.16.1 by autospec
* Fri Jan 06 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-1qilnx
- update to version 1.10 by autospec
* Tue Nov 08 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.8-1qilnx
- package created by autospec