- New upstream release
This commit is contained in:
parent
195773f1de
commit
7c14f08c0c
@ -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
|
||||
|
@ -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 <sgrubb@redhat.com> 0.6-1
|
||||
- New upstream release
|
||||
|
||||
* Sun Jun 21 2009 Steve Grubb <sgrubb@redhat.com> 0.5.1-1
|
||||
- New upstream release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user