%{!?uclibc: %define uclibc 0} Summary: PaX utilities Name: pax-utils Version: 0.1.3 Release: 1 License: GPL Group: System Environment/Base Source: http://www.gentoo.org/distfiles//%{name}-%{version}.tar.bz2 Buildroot: %{_tmppath}/%{name}-%{version}-root %description PaX utilities. %if "%{uclibc}" == "1" %package docs Summary: Manuals, info and documentation Group: Documentation %description docs Manuals, info files and documentation for %name. %endif %prep %setup -q %build make CFLAGS="$RPM_OPT_FLAGS -Wall" %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* %if "%{uclibc}" == "1" %files docs %defattr(-,root,root) %endif %doc README %{_mandir}/man*/* %changelog