Blob Blame History Raw
Name:           cppi
Version:        1.15
Release:        2%{?dist}
Summary:        C preprocessor directive indenter

Group:          Development/Tools
License:        GPLv3+
URL:            http://savannah.gnu.org/projects/cppi/
Source0:        http://ftp.gnu.org/gnu/cppi/cppi-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%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 --disable-silent-rules
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%check
make check


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS THANKS TODO
%{_bindir}/cppi
%{_mandir}/man1/cppi.1*


%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Thu Mar 18 2010 Kalev Lember <kalev@smartlink.ee> - 1.15-1
- Updated to cppi 1.15

* Fri Mar 05 2010 Kalev Lember <kalev@smartlink.ee> - 1.14-1
- Initial RPM release