Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37478100
en ru br
Репозитории ALT
S:2.2.11-alt3
5.1: 2.2.9-alt5
4.1: 2.2.9-alt5
4.0: 2.2.9-alt5
3.0: 2.2.9-alt3
www.altlinux.org/Changes

Группа :: Разработка/C
Пакет: indent

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: indent
Version: 2.2.11
Release: alt2

Summary: A GNU program for formatting C code
License: GPLv3+
Group: Development/C
Url: http://indent.isidore-it.eu/beautify.html

# http://indent.isidore-it.eu/%name-%version.tar.gz

Source: %name-%version.tar

Patch1: indent-2.2.11-alt-i18n.patch
Patch2: indent-2.2.11-alt-man.patch
Patch3: indent-2.2.11-deb-texinfo.patch
Patch4: indent-2.2.11-alt-lfs.patch
Patch5: indent-2.2.11-rh-Do-not-split-decimal-float-suffix-from-constant.patch
Patch6: indent-2.2.11-rh-Return-non-zero-exit-code-on-tests-failure.patch
Patch7: indent-2.2.11-rh-Fix-compiler-warnings.patch
Patch8: indent-2.2.11-rh-Allow-64-bit-stat.patch
Patch9: indent-2.2.11-rh-Fix-copying-overlapping-comment.patch

BuildRequires: gperf

%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
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
rm src/gperf*.c
rm po/*.gmo
sed -i 's/^\(all-local\|install-data-local\):.*/\1:/' doc/Makefile.*

%build
%autoreconf
%configure
%make_build

%install
%makeinstall_std
rm %buildroot%_bindir/texinfo2man
%find_lang %name

%check
make -C regression

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

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin