Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37569966
en ru br
ALT Linux repos
S:2.2.11-alt3
5.0: 2.2.9-alt5
4.1: 2.2.9-alt5
4.0: 2.2.9-alt5
3.0: 2.2.9-alt3

Group :: Development/C
RPM: indent

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: indent
Version: 2.2.9
Release: alt3

Summary: A GNU program for formatting C code
License: GPL
Group: Development/C
Url: http://home.hccnet.nl/d.ingamells/beautify.html

Source: ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.bz2

Patch1: %name-2.2.7-alt-texinfo.patch
Patch2: %name-2.2.8-alt-i18n.patch
Patch3: %name-2.2.9-alt-makefile.patch
Patch4: %name-2.2.9-alt-fixes.patch
Patch5: %name-2.2.9-deb-check_lab_size.patch

Requires(post): %install_info
Requires(preun): %uninstall_info

# Automatically added by buildreq on Mon Feb 24 2003

BuildRequires: tetex-core tetex-dvips

%description
Indent is a GNU program for beautifying C code, so that it is easier to read.
Indent can also convert from one C writing style to a different one.
Indent understands correct C syntax and tries to handle incorrect C syntax.

%prep
%setup -q
%__rm -f po/*.*mo
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1

%build
%configure
%make_build CFLAGS="$RPM_OPT_FLAGS -Werror"

%install
%makeinstall
%find_lang %name

%post
%install_info %name.info

%preun
%uninstall_info %name.info

%files -f %name.lang
%_bindir/%name
%_mandir/man?/%name.*
%_infodir/*.info*
%doc README NEWS ChangeLog AUTHORS

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin