Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046632
en ru br
Репозитории ALT
S:1.18.0.36.4f20-alt1
www.altlinux.org/Changes

Группа :: Development/Tools
Пакет: cppi

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

Name: cppi
Version: 1.18.0.36.4f20
Release: alt1

Summary: C preprocessor directive indenter
License: GPLv3+
Group: Development/Tools
Url: https://www.gnu.org/software/cppi/

%define srcname %name-%version-%release
# git://git.altlinux.org/gears/c/cppi.git
Source: %srcname.tar

BuildRequires: flex gperf help2man gnulib >= 0.1.4170.b0728

%description
cppi indents the C preprocessor directives to reflect their nesting
and ensure that there is exactly one space character between each #if,
#elif, #define directive and the following token, and write the result
to standard output.  The number of spaces between the `#' and the
following directive must correspond to the level of nesting of that
directive.

%prep
%setup -n %srcname

# Build scripts expect to find the cppi version in this file.

echo -n %version > .tarball-version

# Generate LINGUAS file.

ls po/*.po | sed 's|.*/||; s|\.po$||' > po/LINGUAS

# git, makeinfo, and rsync aren't needed for build.

sed -i '/^\(git\|makeinfo\|rsync\)[[:space:]]/d' bootstrap.conf

%build
./bootstrap --skip-po --gnulib-srcdir=%_datadir/gnulib

%configure \
--disable-silent-rules \
--enable-gcc-warnings \
#
%make_build

%install
%makeinstall_std

%find_lang %name

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%check
%make_build -k check

%files -f %name.lang
%_bindir/*
%_mandir/man?/*
%doc AUTHORS NEWS README THANKS TODO

%changelog

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

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