libcap 2.76
This commit is contained in:
commit
b026526d62
1 changed files with 41 additions and 0 deletions
41
libcap.spec
Normal file
41
libcap.spec
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
Name: libcap
|
||||||
|
Version: 2.76
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Library for getting and setting POSIX.1e capabilities
|
||||||
|
|
||||||
|
License: BSD-3
|
||||||
|
URL: https://sites.google.com/site/fullycapable/
|
||||||
|
Source0: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
Requires: bash
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build sbin=%{_sbindir} lib=%{_libdir}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install sbin=%{_sbindir} lib=%{_libdir}
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
%{?ldconfig_scriptlets}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}
|
||||||
|
%{_libdir}
|
||||||
|
%{_includedir}
|
||||||
|
%{_datadir}
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Oct 01 2025 Dmitrii Tochanskii <tochansky@tochlab.ru>
|
||||||
|
-
|
||||||
Loading…
Add table
Add a link
Reference in a new issue