Lines Matching +full:- +full:- +full:root
1 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_…
4 Name: libcap-ng
9 URL: http://people.redhat.com/sgrubb/libcap-ng
10 Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12 BuildRequires: kernel-headers >= 2.6.11
13 BuildRequires: libattr-devel
16 Libcap-ng is a library that makes using posix capabilities easier
19 Summary: Header files for libcap-ng library
22 Requires: kernel-headers >= 2.6.11
23 Requires: %{name} = %{version}-%{release}
27 The libcap-ng-devel package contains the files needed for developing
28 applications that need to use the libcap-ng library.
31 Summary: Python bindings for libcap-ng library
34 BuildRequires: python-devel swig
35 Requires: %{name} = %{version}-%{release}
38 The libcap-ng-python package contains the bindings so that libcap-ng
47 The libcap-ng-utils package contains applications to analyze the
52 %setup -q
55 %configure --libdir=/%{_lib}
59 rm -rf $RPM_BUILD_ROOT
63 rm -f $RPM_BUILD_ROOT/%{_lib}/%{name}.so
64 mkdir -p $RPM_BUILD_ROOT%{_libdir}
67 ln -s ../../%{_lib}/$LIBNAME $RPM_BUILD_ROOT%{_libdir}/%{name}.so
73 rm -f $RPM_BUILD_ROOT/%{_lib}/libcap-ng.la
74 rm -f $RPM_BUILD_ROOT/%{_lib}/libcap-ng.a
75 rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_capng.a
76 rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_capng.la
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
90 %defattr(-,root,root,-)
92 %attr(0755,root,root) /%{_lib}/libcap-ng.so.*
95 %defattr(-,root,root,-)
96 %attr(0644,root,root) %{_mandir}/man3/*
97 %attr(0644,root,root) %{_includedir}/cap-ng.h
98 %attr(0755,root,root) %{_libdir}/libcap-ng.so
99 %attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4
100 %{_libdir}/pkgconfig/libcap-ng.pc
103 %defattr(-,root,root,-)
104 %attr(755,root,root) /%{_libdir}/python?.?/site-packages/_capng.so
108 %defattr(-,root,root,-)
110 %attr(0755,root,root) %{_bindir}/*
111 %attr(0644,root,root) %{_mandir}/man8/*
114 * Tue Jul 24 2012 Steve Grubb <sgrubb@redhat.com> 0.7-1
115 - New upstream release