auto-import libsemanage-1.0-1 on branch devel from

libsemanage-1.0-1.src.rpm
This commit is contained in:
Daniel J Walsh 2005-07-28 18:05:59 +00:00
parent d5b9e1a73e
commit 4800db7954
3 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1 @@
libsemanage-1.0.tgz

71
libsemanage.spec Normal file
View File

@ -0,0 +1,71 @@
Summary: SELinux binary policy manipulation library
Name: libsemanage
Version: 1.0
Release: 1
License: GPL
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-buildroot
Provides: libsemanage.so
%description
Security-enhanced Linux is a patch of the Linux® 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®, Role-based Access
Control, and Multi-level Security.
libsemanage 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
Summary: Header files and libraries used to build policy manipulation tools
Group: Development/Libraries
Requires: libsemanage = %{version}
%description devel
The semanage-devel package contains the static libraries and header files
needed for developing applications that manipulate binary policies.
%prep
%setup -q
%build
make CFLAGS="%{optflags}"
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="${RPM_BUILD_ROOT}/%{_lib}" install
%clean
rm -rf ${RPM_BUILD_ROOT}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files devel
%defattr(-,root,root)
%{_libdir}/libsemanage.a
%{_includedir}/semanage/*.h
%files
%defattr(-,root,root)
%config(noreplace) /usr/share/semod/semod.conf
%changelog
* Thu Jul 7 2005 Dan Walsh <dwalsh@redhat.com> 1.0-1
- Initial version
- Created by Stephen Smalley <sds@epoch.ncsc.mil>

View File

@ -0,0 +1 @@
3ed4c2b4ed85eb00b1e7670ecdb8ca3c libsemanage-1.0.tgz