Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37334108
en ru br
Репозитории ALT
S:1.10.3-alt6
D:1.10-alt0.2
5.1: 1.10.2-alt2
4.1: 1.10.1-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: automake_1.10

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

%define realname automake
%define dialect _1.10
%define dialect_regex _1\.10
%define suff -1.10
%define altver 1101

Name: %realname%dialect
Version: 1.10.2
Release: alt2
Epoch: 1

%add_findreq_skiplist %_datadir/%realname%suff/config.guess
%set_compress_method gzip
%define _perl_lib_path %perl_vendor_privlib:%_datadir/%realname%suff

Summary: A GNU tool for automatically creating Makefiles
License: GPLv2+
Group: Development/Other
Url: http://www.gnu.org/software/automake/
Packager: Dmitry V. Levin <ldv at altlinux.org>
BuildArch: noarch

%define srcname %realname-%version-%release

# ftp://ftp.gnu.org/gnu/%realname/%srcname.tar.bz2

Source: %srcname.tar

Provides: %realname = %epoch:%version-%release
Provides: aclocal(libtool)
Obsoletes: %realname
PreReq: automake-common, alternatives >= 0:0.4
Requires: autoconf_2.60

BuildPreReq: autoconf >= 2:2.58, texinfo >= 4.7

%description
Automake is a tool for automatically generating Makefiles compliant with the
GNU Coding Standards.

You should install Automake if you are developing software and would like to
use its capabilities of automatically generating GNU standard Makefiles.  If
you install Automake, you will also need to install GNU Autoconf package.

%prep
%setup -q -n %srcname
bzip2 -9fk ChangeLog NEWS TODO

# patch texinfo file

sed -i '/ at direntry/,/ at end direntry/ s/^\(\*[[:space:]]\+[[:alnum:].]\+\)\(:[[:space:]]\+\)(%realname)/\1%suff\2(%realname%suff)/' \
doc/automake.texi

%build
# prevent very recent configure from running "config.sub noarch-alt-linux".
%undefine _configure_target
%configure
%make_build MAKEINFOFLAGS=--no-split

%check
%make_build -k check

%install
%makeinstall MAKEINFOFLAGS=--no-split

mv %buildroot%_infodir/%realname.info %buildroot%_infodir/%realname%suff.info

mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d
cat <<EOF >%buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
^/usr/share/aclocal(%dialect_regex)?/.+\.m4$
EOF

mkdir -p %buildroot%_sysconfdir/buildreqs/packages/substitute.d
echo %realname >%buildroot%_sysconfdir/buildreqs/packages/substitute.d/%name

mkdir -p %buildroot%_altdir
cat <<EOF >%buildroot%_altdir/%name
%_bindir/%realname-default %_bindir/%realname%suff %altver
%_bindir/aclocal-default %_bindir/aclocal%suff %_bindir/%realname%suff
%_datadir/%realname %_datadir/%realname%suff %_bindir/%realname%suff
%_infodir/%realname.info.gz %_infodir/%realname%suff.info.gz %_bindir/%realname%suff
EOF

%files
%config %_sysconfdir/buildreqs/packages/substitute.d/%name
%config %_sysconfdir/buildreqs/files/ignore.d/*
%_altdir/%name
%_bindir/*%suff
%_datadir/aclocal%suff
%_datadir/%realname%suff
%_infodir/*.info*
%doc AUTHORS README THANKS ChangeLog.bz2 NEWS.bz2 TODO.bz2

%changelog

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

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