]> git.pld-linux.org Git - packages/chpax.git/blob - chpax.spec
f956efe78b9399c3a804e5c87140011328cc864c
[packages/chpax.git] / chpax.spec
1 Summary:        Manage PaX flags for ELF and a.out binaries
2 Summary(pl):    Zarz±dca znaczników PaX dla binarek ELF oraz a.out
3 Name:           chpax
4 Version:        0.5
5 Release:        1
6 License:        Public Domain
7 Group:          Applications/System
8 Source0:        http://pageexec.virtualave.net/%{name}-%{version}.tar.gz
9 # Source0-md5:  aeb0c1aae2c087df369a4c30e0f1adbd
10 Patch0:         %{name}-elf.patch
11 URL:            http://pageexec.virtualave.net/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _sbindir        /sbin
15
16 %description
17 This program manages various PaX related flags for ELF and a.out
18 binaries. The flags only have effect when running the patched Linux
19 kernel.
20
21 %description -l pl
22 Program zarz±dzaj±cy flagami zwi±zanymi z PaX w binarkach ELF oraz
23 a.out. Znaczniki te s± brane pod uwagê tylko w momencie u¿ywania
24 odpowiednio za³atanego j±dra systemu.
25
26 %prep
27 %setup -q
28 %patch0 -p2
29
30 %build
31 %{__make} \
32         CC="%{__cc}" \
33         CFLAGS="%{rpmcflags}"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_sbindir}
38
39 install chpax $RPM_BUILD_ROOT%{_sbindir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_sbindir}/*
This page took 0.141763 seconds and 3 git commands to generate.