%define name chpax %define version 0.6 %define release 1mdk Name: %{name} Summary: Tool that allows PaX flags to be modified on a per-binary basis Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-autotools.patch.bz2 URL: http://pax.grsecurity.net/ Group: System/Configuration/Other BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot License: Public Domain BuildRequires: autoconf2.5 automake1.7 %description A tool that allows PaX flags to be modified on a per-binary basis. PaX is part of common security-enhancing kernel patches, like GrSecurity. Your system needs to be running an appropriately patched kernel, like the one provided by the kernel-secure package, for this program to have any effect. %prep %setup -q %patch0 -p1 %build aclocal-1.7 autoheader-2.5x autoconf-2.5x automake-1.7 --foreign -a %configure %make %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,0755) %doc README ChangeLog %{_mandir}/man1/chpax.1* %{_sbindir}/chpax %changelog * Tue Jan 06 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.6-1mdk - from Omer Shenker <chpax@omershenker.net> : - New version * Tue Dec 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.5-1mdk - from Omer Shenker <chpax@omershenker.net> : - Specfile for Mandrake - gz to bz2 compression