From 7c14f08c0ccabf83bb4658d7839beb86bbb288b4 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Mon, 29 Jun 2009 17:43:40 +0000 Subject: [PATCH] - New upstream release --- .cvsignore | 1 + libcap-ng.spec | 26 +++++++++++++++++++++++++- sources | 2 +- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/.cvsignore b/.cvsignore index e181277..9f96e0d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -2,3 +2,4 @@ libcap-ng-0.4.1.tar.gz libcap-ng-0.4.2.tar.gz libcap-ng-0.5.tar.gz libcap-ng-0.5.1.tar.gz +libcap-ng-0.6.tar.gz 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