]> git.pld-linux.org Git - SPECS.git/blob - lcap.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / lcap.spec
1 Summary:        Linux Capability Remover
2 Summary(pl.UTF-8):      Program do usuwania "capabilities" w kernelu
3 Summary(pt_BR.UTF-8):   Utilitário para alterar as capabilities do kernel
4 Name:           lcap
5 Version:        0.0.6
6 Release:        4
7 License:        GPL
8 Group:          Base
9 #Source0:       http://pweb.netcom.com/~spoon/lcap/download/%{name}-%{version}.tar.bz2
10 Source0:        %{name}-%{version}.tar.bz2
11 # Source0-md5:  3d6e7c160960b1621a6664c143757244
12 #URL:           http://pweb.netcom.com/~spoon/lcap/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sbindir        /sbin
16
17 %description
18 Removes "capabilities" in the kernel making the operating system more
19 secure.
20
21 %description -l pl.UTF-8
22 Usuwa "capabilities" z kernela, czyniąc system operacyjny bardziej
23 bezpiecznym.
24
25 %description -l pt_BR.UTF-8
26 Este utilitário permite que se altere as capabilities do kernel.
27
28 %prep
29 %setup -q
30
31 %build
32 %{__make} \
33         CFLAGS="%{rpmcflags} -Wall -DVERSION=%{version}" \
34         CC="%{__cc}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_mandir}/man8
39
40 %{__make} install \
41         prefix=$RPM_BUILD_ROOT
42
43 install lcap.8 $RPM_BUILD_ROOT%{_mandir}/man8
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README
51 %attr(755,root,root) %{_sbindir}/lcap
52 %{_mandir}/man?/*
This page took 0.62354 seconds and 3 git commands to generate.