Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37523540
en ru br
Репозитории ALT

Группа :: Система/Настройка/Прочее
Пакет: bash-defaults

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

%set_compress_method none
%define bash_version 4

Name: bash-defaults
Version: 4.4.23
Release: alt1

Summary: %vendor setup for the GNU Bourne Again SHell (Bash)
License: None
Group: System/Configuration/Other

%description
This package provides default %summary.

%package -n sh
Summary: The GNU Bourne Again SHell (/bin/sh)
Group: Shells
BuildArch: noarch
Provides: /bin/sh, /usr/lib/bash

%description -n sh
This package provides default setup for the GNU Bourne Again SHell (/bin/sh).

%package -n bash
Summary: The GNU Bourne Again SHell (/bin/bash)
Group: Shells
BuildArch: noarch
Provides: /bin/bash
Requires: sh = %EVR

%description -n bash
This package provides default setup for the GNU Bourne Again SHell (/bin/bash).

%package -n bash-devel
Summary: Bash loadable builtins development files
Group: Development/Other
Requires: bash = %EVR

%description -n bash-devel
This package provides default setup for the GNU Bourne Again SHell (development files).

%install
mkdir -p %buildroot{/bin,/usr/lib/bash,%_bindir,%_includedir,%_infodir,%_man1dir,%_pkgconfigdir}

for i in /bin/sh /bin/bash /bin/rbash %_bindir/bashbug %_includedir/bash \
%_pkgconfigdir/bash.pc; do
ln -rs %buildroot"${i/sh/sh%bash_version}" %buildroot"$i"
done

for i in bash; do
ln -s "$i"%bash_version.info.xz %buildroot%_infodir/"$i".info.xz
done

for i in sh bash rbash bashbug bash_builtins; do
ln -s "${i/sh/sh%bash_version}".1.xz %buildroot%_man1dir/"$i".1.xz
done

# Those that conflict with real manpages from coreutils are not listed.

for i in \
. : [ alias bg bind break builtin caller cd command compgen \
complete compopt continue declare dirs disown enable eval exec \
exit export fc fg getopts hash help history jobs let local \
logout mapfile popd pushd read readonly return set shift shopt \
source suspend times trap type typeset ulimit umask unalias \
unset wait \
; do
ln -s bash_builtins.1.xz %buildroot%_man1dir/"$i".1.xz
done

%add_findreq_skiplist %_infodir/*
%add_findreq_skiplist %_man1dir/*

%files -n sh
/bin/sh
/usr/lib/bash

%files -n bash
/bin/bash
/bin/rbash
%_bindir/bashbug
%_infodir/*
%_man1dir/..1*
%_man1dir/*.1*

%files -n bash-devel
%_includedir/bash
%_pkgconfigdir/bash.pc

%changelog

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

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