- Split out static libs (#556039)

This commit is contained in:
Steve Grubb 2010-01-29 18:46:25 +00:00
parent 5e1075d12f
commit 36cd75f988

View File

@ -3,7 +3,7 @@
Summary: User space tools for 2.6 kernel auditing Summary: User space tools for 2.6 kernel auditing
Name: audit Name: audit
Version: 2.0.4 Version: 2.0.4
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://people.redhat.com/sgrubb/audit/ URL: http://people.redhat.com/sgrubb/audit/
@ -31,16 +31,26 @@ The audit-libs package contains the dynamic libraries needed for
applications to use the audit framework. applications to use the audit framework.
%package libs-devel %package libs-devel
Summary: Header files and static library for libaudit Summary: Header files for libaudit
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-libs = %{version} Requires: %{name}-libs = %{version}
Requires: kernel-headers >= 2.6.29 Requires: kernel-headers >= 2.6.29
%description libs-devel %description libs-devel
The audit-libs-devel package contains the static libraries and header The audit-libs-devel package contains the header files needed for
files needed for developing applications that need to use the audit developing applications that need to use the audit framework libraries.
framework libraries.
%package libs-static
Summary: Static version of libaudit library
License: LGPLv2+
Group: Development/Libraries
Requires: kernel-headers >= 2.6.29
%description libs-static
The audit-libs-static package contains the static libraries
needed for developing applications that need to use static audit
framework libraries
%package libs-python %package libs-python
Summary: Python bindings for libaudit Summary: Python bindings for libaudit
@ -147,8 +157,6 @@ fi
%files libs-devel %files libs-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc contrib/skeleton.c contrib/plugin %doc contrib/skeleton.c contrib/plugin
%{_libdir}/libaudit.a
%{_libdir}/libauparse.a
%{_libdir}/libaudit.so %{_libdir}/libaudit.so
%{_libdir}/libauparse.so %{_libdir}/libauparse.so
%{_includedir}/libaudit.h %{_includedir}/libaudit.h
@ -156,6 +164,11 @@ fi
%{_includedir}/auparse-defs.h %{_includedir}/auparse-defs.h
%{_mandir}/man3/* %{_mandir}/man3/*
%files libs-static
%defattr(-,root,root,-)
%{_libdir}/libaudit.a
%{_libdir}/libauparse.a
%files libs-python %files libs-python
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(755,root,root) %{python_sitearch}/_audit.so %attr(755,root,root) %{python_sitearch}/_audit.so
@ -219,6 +232,9 @@ fi
%attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz %attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz
%changelog %changelog
* Fri Jan 29 2010 Steve Grubb <sgrubb@redhat.com> 2.0.4-2
- Split out static libs (#556039)
* Tue Dec 08 2009 Steve Grubb <sgrubb@redhat.com> 2.0.4-1 * Tue Dec 08 2009 Steve Grubb <sgrubb@redhat.com> 2.0.4-1
- New upstream release - New upstream release