Репозиторий Sisyphus
Последнее обновление: 26 ноября 2021 | Пакетов: 17418 | Посещений: 22392114
en ru br
Репозитории ALT
5.1: 2.13-alt11
4.1: 2.13-alt9
4.0: 2.13-alt9
3.0: 2.13-alt9

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

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

%define realname autoconf
%define dialect _2.13
%define suff -2.13

Name: %realname%dialect
Version: 2.13
Release: alt13
Serial: 2

%set_compress_method xz

Summary: A GNU tool for automatically configuring source code
License: GPLv2+
Group: Development/Other
Url: http://www.gnu.org/software/%realname/
BuildArch: noarch

%define srcname %realname-%version
Source: ftp://ftp.gnu.org/gnu/%realname/%srcname.tar.bz2
Source1: %realname-2.13-manpages.tar

Patch0: %realname-2.13-up-autoscan.patch
Patch1: %realname-2.13-alt-tmp.patch
Patch2: %realname-2.13-alt-c++exit.patch
Patch3: %realname-2.13-alt-headers.patch
Patch4: %realname-2.13-alt-autoscan.patch
Patch5: %realname-2.13-alt-exit.patch
Patch6: %realname-2.13-alt-noelf.patch
Patch7: %realname-2.13-alt-texinfo.patch
Patch8: %realname-2.13-alt-acdatadir.patch
Patch9: %realname-2.13-alt-dnet.patch
Patch10: %realname-2.13-alt-ac_extension.patch
Patch11: %realname-2.13-alt-autoscan-perl.patch

PreReq: autoconf-common
Requires: m4 >= 1.4, mktemp >= 1:1.3.1
BuildRequires: makeinfo

GNU's Autoconf is a tool for configuring source code and Makefiles.
Using Autoconf, programmers can create portable and configurable
packages, since the person building the package is allowed to
specify various configuration options.

You should install Autoconf if you are developing software and you'd
like to use it to create shell scripts which will configure your
source code packages. If you are installing Autoconf, you will also
need to install the GNU m4 package.

Note that the Autoconf package is not required for the end user who
may be configuring software with an Autoconf-generated script;
Autoconf is only required for the generation of the scripts, not
their use.

%setup -n %srcname -a1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1

find -type f -print0 |
xargs -r0 grep -FZl 'mawk gawk' |
xargs -r0 sed -i 's/mawk gawk/gawk mawk/g'

# patch texinfo file

sed -i 's/(%realname)/(%realname%suff)/g;s/\(\* \([Aa]utoconf\|configure\)\):/\1%suff:/g' %realname.texi

%configure --program-suffix=%suff


# We don't want to include the standards.info stuff in the package,

# since it comes from binutils.
rm %buildroot%_infodir/standards*

# Install manpages.

for f in [a-z]*.1; do
install -pD -m644 "$f" "%buildroot%_man1dir/${f%%.1}%suff.1"

# Some more helpful scripts.

install -pm755 *-sh %buildroot%_datadir/%realname%suff/
rm -f %buildroot%_datadir/%realname%suff/INSTALL

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

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

%if 0
# rename binaries
for f in %buildroot%_bindir/*; do
sed -e's at %_datadir/%realname at %_datadir/%realname%suff at ' <"$f" >"${f}%suff"
rm "$f"
chmod a+x "${f}%suff"
# rename man files
for f in %buildroot%_man1dir/*; do
mv $f ${f%%.1}%suff.1

for f in %buildroot%_bindir/*%suff; do
ln -s "${f##*/}" "${f%%%suff}%dialect"

%config %_sysconfdir/buildreqs/packages/substitute.d/%name


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

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