From 845392bc71ab21aa520fd37a2b88a4294b0fd9c0 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Jun 29 2009 18:05:12 +0000 Subject: - New upstream release --- diff --git a/libcap-ng.spec b/libcap-ng.spec index 794c1de..970c683 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -1,6 +1,8 @@ +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + Summary: An alternate posix capabilities library Name: libcap-ng -Version: 0.5.1 +Version: 0.6 Release: 1%{?dist} License: LGPLv2+ Group: System Environment/Libraries @@ -24,6 +26,17 @@ Requires: %{name} = %{version}-%{release} The libcap-ng-devel package contains the files needed for developing applications that need to use the libcap-ng library. +%package python +Summary: Python bindings for libcap-ng library +License: LGPLv2+ +Group: Development/Libraries +BuildRequires: python-devel swig +Requires: %{name} = %{version}-%{release} + +%description python +The libcap-ng-python package contains the bindings so that libcap-ng +and can be used by python applications. + %package utils Summary: Utilities for analysing and setting file capabilities License: GPLv2+ @@ -55,6 +68,8 @@ ln -s ../../%{_lib}/$LIBNAME $RPM_BUILD_ROOT%{_libdir}/%{name}.so # Remove a couple things so they don't get picked up rm -f $RPM_BUILD_ROOT/%{_lib}/libcap-ng.la rm -f $RPM_BUILD_ROOT/%{_lib}/libcap-ng.a +rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_capng.a +rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_capng.la %clean rm -rf $RPM_BUILD_ROOT @@ -74,6 +89,12 @@ rm -rf $RPM_BUILD_ROOT %attr(0644,root,root) %{_mandir}/man3/* %attr(0644,root,root) %{_includedir}/cap-ng.h %attr(0755,root,root) %{_libdir}/libcap-ng.so +%attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4 + +%files python +%defattr(-,root,root,-) +%attr(755,root,root) /%{_libdir}/python?.?/site-packages/_capng.so +%{python_sitearch}/capng.py* %files utils %defattr(-,root,root,-) @@ -82,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT %attr(0644,root,root) %{_mandir}/man8/* %changelog +* Mon Jun 29 2009 Steve Grubb 0.6-1 +- New upstream release + * Sun Jun 21 2009 Steve Grubb 0.5.1-1 - New upstream release diff --git a/sources b/sources index b386491..dd4c3ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5323d01bb55fbd2586db28e3547df6c4 libcap-ng-0.5.1.tar.gz +09adb3049eb6c2a1f621a67fc079318e libcap-ng-0.6.tar.gz