Summary: GNU cppi - checks the indentation of C and C++ preprocessor directives
Summary(pl.UTF-8): GNU cppi - narzędzie sprawdzające wcięcia dyrektyw preprocesora C i C++
Name: cppi
-Version: 1.12
+Version: 1.16
Release: 1
-License: GPL
+License: GPL v3+
Group: Development/Tools
-Source0: http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.bz2
-# Source0-md5: 3a9b8fa70cae2fb36b089a5f2ef4326f
-BuildRequires: automake
+Source0: http://ftp.gnu.org/gnu/cppi/%{name}-%{version}.tar.xz
+# Source0-md5: 10b657cf639df0950a34b091ae5a8cd8
+URL: http://www.gnu.org/software/cppi/
+BuildRequires: help2man
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%setup -q
%build
-cp -f /usr/share/automake/config.sub .
-%configure
+%configure \
+ --disable-silent-rules
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS NEWS README THANKS TODO
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man?/*
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/cppi
+%{_mandir}/man1/cppi.1*