auto-import libselinux-1.17.8-2 from libselinux-1.17.8-2.src.rpm

This commit is contained in:
cvsdist 2004-09-09 07:45:58 +00:00
parent f453bd1f3d
commit 1591c8d77a

View File

@ -1,13 +1,12 @@
Summary: SELinux library and simple utilities Summary: SELinux library and simple utilities
Name: libselinux Name: libselinux
Version: 1.17.8 Version: 1.17.8
Release: 1 Release: 2
License: Public domain (uncopyrighted) License: Public domain (uncopyrighted)
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz
#Patch: libselinux-rhat.patch #Patch: libselinux-rhat.patch
Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRoot: %{_tmppath}/%{name}-buildroot
Provides: libselinux.so Provides: libselinux.so
%description %description
@ -37,6 +36,7 @@ needed for developing SELinux applications.
%prep %prep
%setup -q %setup -q
#%patch -p1 -b .rhat #%patch -p1 -b .rhat
%build %build
make CFLAGS="%{optflags}" make CFLAGS="%{optflags}"
@ -52,7 +52,9 @@ make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
%post %post
# add libselinux to the cache /sbin/ldconfig
%postun
/sbin/ldconfig /sbin/ldconfig
%files devel %files devel
@ -60,16 +62,20 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libselinux.a %{_libdir}/libselinux.a
%{_libdir}/libselinux.so %{_libdir}/libselinux.so
%dir %{_includedir}/selinux %dir %{_includedir}/selinux
%{_includedir}/selinux/*.h %{_includedir}/selinux/
%{_mandir}/man3/* %{_mandir}/man3/*
%files %files
%defattr(-,root,root) %defattr(-,root,root,0755)
/%{_lib}/libselinux.so.1 /%{_lib}/libselinux.so.*
%{_bindir}/* %{_bindir}/*
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Thu Sep 2 2004 Dan Walsh <dwalsh@redhat.com> 1.17.8-2
- Clean up spec file
* Patch from Matthias Saou
* Thu Sep 2 2004 Dan Walsh <dwalsh@redhat.com> 1.17.8-1 * Thu Sep 2 2004 Dan Walsh <dwalsh@redhat.com> 1.17.8-1
- Update from NSA - Update from NSA
* Added set_matchpathcon_printf. * Added set_matchpathcon_printf.