Name: cppi Version: 1.16 Release: 1 Summary: C preprocessor directive indenter Group: Development/Tools License: GPLv3+ URL: http://savannah.gnu.org/projects/cppi/ Source0: http://ftp.gnu.org/gnu/cppi/%{name}-%{version}.tar.bz2 Source1: http://ftp.gnu.org/gnu/cppi/%{name}-%{version}.tar.xz.sig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gettext Requires: gettext %description cppi indents the C preprocessor directives to reflect their nesting and ensures that there is exactly one space character between each #if, #elif, #define directive and the following token. %prep %setup -q %build ./configure \ --prefix=%{_prefix} #%configure --disable-silent-rules make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS ChangeLog COPYING NEWS THANKS TODO %{_bindir}/* %{_mandir}/man?/* %{_datadir}/locale/*/*/* /usr/bin/* %changelog * Fri Jan 27 2012 Michael Perzl - 1.16-1 - first version for AIX V5.1 and higher