Name: libcap-ng Version: 0.7.8 Release: 1mamba Summary: An alternate posix capabilities library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Automatic Build System URL: http://people.redhat.com/sgrubb/libcap-ng/ Source: http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpython-devel ## AUTOBUILDREQ-END BuildRequires: libattr-devel BuildRequires: swig Patch0: libcap-ng-0.6.3-euid.patch Patch1: libcap-ng-0.6.3-setpcap.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The libcap-ng library should make programming with posix capabilities easier. The library has some utilities to help you analyse a system for apps that may have too much privileges. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel The libcap-ng library should make programming with posix capabilities easier. The library has some utilities to help you analyse a system for apps that may have too much privileges. This package contains libraries and header files need for development. %package -n python-libcap-ng Group: Development/Libraries Summary: Python bindings for libcap-ng library Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-libcap-ng The libcap-ng library should make programming with posix capabilities easier. The library has some utilities to help you analyse a system for apps that may have too much privileges. This package contains the bindings so that libcap-ng and can be used by python applications. %package -n python3-libcap-ng Group: Development/Libraries Summary: Python 3 bindings for libcap-ng library Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python3-libcap-ng The libcap-ng library should make programming with posix capabilities easier. The library has some utilities to help you analyse a system for apps that may have too much privileges. This package contains the bindings so that libcap-ng and can be used by python applications. %package utils Group: Development/Libraries Summary: Utilities for analysing and setting file capabilities %description utils The libcap-ng library should make programming with posix capabilities easier. The library has some utilities to help you analyse a system for apps that may have too much privileges. This package contains applications to analyse the posix capabilities of all the program running on a system. It also lets you set the file system based capabilities. %prep %setup -q #%patch0 -p1 #%patch1 -p1 %build %configure \ --libdir=/%{_lib} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall pkgconfigdir=%{_libdir}/pkgconfig # Remove static libraries rm -f %{buildroot}/%{_lib}/libcap-ng.a rm -f %{buildroot}/%{python_sitearch}/_capng.a rm -f %{buildroot}/%{python_sitearch}/_capng.la %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %attr(755,root,root) /%{_lib}/libcap-ng.so.* %doc AUTHORS COPYING.LIB %files devel %defattr(-,root,root) %attr(644,root,root) %{_datadir}/aclocal/cap-ng.m4 %attr(644,root,root) %{_includedir}/cap-ng.h %attr(755,root,root) /%{_lib}/libcap-ng.la %attr(755,root,root) /%{_lib}/libcap-ng.so %{_libdir}/pkgconfig/libcap-ng.pc %attr(644,root,root) %{_mandir}/man3/capng_*.3.gz %doc ChangeLog README %files -n python-libcap-ng %defattr(-,root,root) %attr(755,root,root) %{python_sitearch}/_capng.so %attr(644,root,root) %{python_sitearch}/capng.py %attr(644,root,root) %{python_sitearch}/capng.pyc %attr(644,root,root) %{python_sitearch}/capng.pyo %files -n python3-libcap-ng %defattr(-,root,root) %{python3_sitearch}/_capng.la %{python3_sitearch}/_capng.so %{python3_sitearch}/capng.py %files utils %defattr(-,root,root) %attr(755,root,root) %{_bindir}/captest %attr(755,root,root) %{_bindir}/filecap %attr(755,root,root) %{_bindir}/netcap %attr(755,root,root) %{_bindir}/pscap %attr(644,root,root) %{_mandir}/man8/*.8.gz %doc COPYING %changelog * Mon Aug 08 2016 Automatic Build System 0.7.8-1mamba - automatic version update by autodist * Mon May 18 2015 Automatic Build System 0.7.7-1mamba - automatic update by autodist * Fri Apr 25 2014 Automatic Build System 0.7.4-1mamba - automatic update by autodist * Mon Nov 12 2012 Automatic Build System 0.7.3-1mamba - automatic version update by autodist * Tue Oct 30 2012 Automatic Build System 0.7.1-1mamba - automatic version update by autodist * Mon Aug 06 2012 Automatic Build System 0.7-1mamba - automatic version update by autodist * Thu Jun 30 2011 Automatic Build System 0.6.6-1mamba - automatic update by autodist * Sun Nov 07 2010 Automatic Build System 0.6.5-1mamba - automatic update by autodist * Sun Jun 27 2010 Automatic Build System 0.6.4-1mamba - automatic update by autodist * Tue Jan 05 2010 Stefano Cotta Ramusino 0.6.2-2mamba - rebuilt * Fri Nov 27 2009 gil 0.6.2-1mamba - package created by autospec