automatic version update by autodist [release 2.25-1mamba;Wed Feb 17 2016]
This commit is contained in:
parent
591fc820b8
commit
86cbde613a
44
libcap.spec
44
libcap.spec
@ -1,5 +1,5 @@
|
|||||||
Name: libcap
|
Name: libcap
|
||||||
Version: 2.24
|
Version: 2.25
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: POSIX 1003.1e capabilities
|
Summary: POSIX 1003.1e capabilities
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -15,7 +15,7 @@ BuildRequires: ldconfig
|
|||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
%ifarch x86_64
|
%ifarch x86_64_disabled
|
||||||
BuildRequires: gcc-multilib
|
BuildRequires: gcc-multilib
|
||||||
BuildRequires: glibc-multilib-devel
|
BuildRequires: glibc-multilib-devel
|
||||||
BuildRequires: lib32-libattr-devel
|
BuildRequires: lib32-libattr-devel
|
||||||
@ -28,14 +28,22 @@ POSIX 1003.1e capabilities.
|
|||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Static libraries and headers for %{name}
|
Summary: Static libraries and headers for %{name}
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Obsoletes: libcap1-devel
|
Obsoletes: libcap1-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
POSIX 1003.1e capabilities
|
POSIX 1003.1e capabilities
|
||||||
|
|
||||||
This package contains static libraries and header files need for development.
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Group: System/Tools
|
||||||
|
Summary: Tools for %{name}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
POSIX 1003.1e capabilities
|
||||||
|
This package contains tools for %{name}.
|
||||||
|
|
||||||
%package -n lib32-%{name}
|
%package -n lib32-%{name}
|
||||||
Summary: POSIX 1003.1e capabilities
|
Summary: POSIX 1003.1e capabilities
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -70,13 +78,13 @@ mkdir -p %{buildroot}%{_mandir}/man8
|
|||||||
%makeinstall \
|
%makeinstall \
|
||||||
FAKEROOT=%{buildroot} \
|
FAKEROOT=%{buildroot} \
|
||||||
RAISE_SETFCAP=no \
|
RAISE_SETFCAP=no \
|
||||||
LIBDIR=%{buildroot}/%{_lib}
|
LIBDIR=/%{_lib}
|
||||||
|
|
||||||
# remove conflicting man pages
|
# remove conflicting man pages
|
||||||
rm -f %{buildroot}%{_mandir}/man2/capset*
|
rm -f %{buildroot}%{_mandir}/man2/capset*
|
||||||
rm -f %{buildroot}%{_mandir}/man2/capget*
|
rm -f %{buildroot}%{_mandir}/man2/capget*
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64_disabled
|
||||||
# x86_64 lib64 support
|
# x86_64 lib64 support
|
||||||
make clean
|
make clean
|
||||||
make \
|
make \
|
||||||
@ -113,16 +121,8 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/sbin/capsh
|
|
||||||
/sbin/getcap
|
|
||||||
/sbin/getpcaps
|
|
||||||
/sbin/setcap
|
|
||||||
/%{_lib}/libcap.so.*
|
/%{_lib}/libcap.so.*
|
||||||
/%{_lib}/security/pam_cap.so
|
/%{_lib}/security/pam_cap.so
|
||||||
%{_mandir}/man1/capsh.1.gz
|
|
||||||
%{_mandir}/man8/getcap.8.gz
|
|
||||||
%{_mandir}/man8/setcap.8.gz
|
|
||||||
%doc README
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -132,7 +132,18 @@ fi
|
|||||||
%{_mandir}/man3/*.3.gz
|
%{_mandir}/man3/*.3.gz
|
||||||
%{_libdir}/pkgconfig/libcap.pc
|
%{_libdir}/pkgconfig/libcap.pc
|
||||||
|
|
||||||
%ifarch x86_64
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/sbin/capsh
|
||||||
|
/sbin/getcap
|
||||||
|
/sbin/getpcaps
|
||||||
|
/sbin/setcap
|
||||||
|
%{_mandir}/man1/capsh.1*
|
||||||
|
%{_mandir}/man8/getcap.8*
|
||||||
|
%{_mandir}/man8/setcap.8*
|
||||||
|
%doc README
|
||||||
|
|
||||||
|
%ifarch x86_64_disabled
|
||||||
%files -n lib32-%{name}
|
%files -n lib32-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/lib/libcap.so.*
|
/lib/libcap.so.*
|
||||||
@ -144,6 +155,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 17 2016 Automatic Build System <autodist@mambasoft.it> 2.25-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Thu Jan 09 2014 Automatic Build System <autodist@mambasoft.it> 2.24-1mamba
|
* Thu Jan 09 2014 Automatic Build System <autodist@mambasoft.it> 2.24-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user