Group :: Development/C
RPM: indent
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: indent
Version: 2.2.9
Release: alt5
Summary: A GNU program for formatting C code
License: GPL
Group: Development/C
# http://mysite.wanadoo-members.co.uk/indent/beautify.html
Url: http://www.gnu.org/software/indent/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://ftp.gnu.org/gnu/indent/indent-%version.tar.gz
Source: indent-%version.tar
Patch1: indent-2.2.9-alt-texinfo.patch
Patch2: indent-2.2.9-alt-i18n.patch
Patch3: indent-2.2.9-alt-makefile.patch
Patch4: indent-2.2.9-alt-warnings.patch
Patch5: indent-2.2.9-deb-check_lab_size.patch
Patch6: indent-2.2.9-deb-texinfo2man.patch
Requires(post): %install_info
Requires(preun): %uninstall_info
BuildRequires: tetex-dvips
%description
Indent is a GNU program for formatting C code so that it is easier to
read. Indent can also convert from one C writing style to a different
one. This can be helpful when porting code to various 'odd' platforms.
Indent has a limited understanding of C syntax, but tries its best to
handle things properly.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
rm po/*.*mo
%build
%configure
%make_build
%install
%makeinstall
rm %buildroot%_prefix/doc/indent/indent.html
rm %buildroot%_bindir/texinfo2man
%find_lang %name
%post
%install_info indent.info
%preun
%uninstall_info indent.info
%files -f %name.lang
%_bindir/indent
%_mandir/man?/*.*
%_infodir/*.info*
%doc AUTHORS NEWS README
%changelog
…
Full changelog you can see here
Version: 2.2.9
Release: alt5
Summary: A GNU program for formatting C code
License: GPL
Group: Development/C
# http://mysite.wanadoo-members.co.uk/indent/beautify.html
Url: http://www.gnu.org/software/indent/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://ftp.gnu.org/gnu/indent/indent-%version.tar.gz
Source: indent-%version.tar
Patch1: indent-2.2.9-alt-texinfo.patch
Patch2: indent-2.2.9-alt-i18n.patch
Patch3: indent-2.2.9-alt-makefile.patch
Patch4: indent-2.2.9-alt-warnings.patch
Patch5: indent-2.2.9-deb-check_lab_size.patch
Patch6: indent-2.2.9-deb-texinfo2man.patch
Requires(post): %install_info
Requires(preun): %uninstall_info
BuildRequires: tetex-dvips
%description
Indent is a GNU program for formatting C code so that it is easier to
read. Indent can also convert from one C writing style to a different
one. This can be helpful when porting code to various 'odd' platforms.
Indent has a limited understanding of C syntax, but tries its best to
handle things properly.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
rm po/*.*mo
%build
%configure
%make_build
%install
%makeinstall
rm %buildroot%_prefix/doc/indent/indent.html
rm %buildroot%_bindir/texinfo2man
%find_lang %name
%post
%install_info indent.info
%preun
%uninstall_info indent.info
%files -f %name.lang
%_bindir/indent
%_mandir/man?/*.*
%_infodir/*.info*
%doc AUTHORS NEWS README
%changelog
…
Full changelog you can see here