Репозитории ALT
S: | 2.11-alt3.git.157.g59d2322e |
5.1: | 20060301-alt06 |
4.1: | 20060301-alt05 |
4.0: | 20060301-alt03 |
3.0: | 20050712-alt01 |
Группа :: Интерпретаторы команд
Пакет: bash-completion
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: bash-completion
Version: 20050712
Release: alt01
Summary: bash-completion offers programmable completion for bash
License: GPL
Group: Shells
URL: http://www.caliban.org/bash/
Source0: http://www.caliban.org/files/bash/%name-%version.tar.bz2
Patch0: bash-completion-20050103-alt-rsync.patch.gz
Requires: bash >= 2.05
BuildArch: noarch
%description
bash-completion is a collection of shell functions that take advantage
of the programmable completion feature of bash 2.04 and later.
%prep
%setup -q -n bash_completion
%patch0 -p0
%install
%__install -d %buildroot%_sysconfdir/bash_completion.d
%__install bash_completion %buildroot%_sysconfdir
%__mkdir_p %buildroot%_sysconfdir/profile.d/
%__cat <<__PROFILE__ > %buildroot%_sysconfdir/profile.d/%name.sh
bash=\${BASH_VERSION%.*}; bmajor=\${bash%.*}; bminor=\${bash#*.}
if [ "\$PS1" ] && [ "\$bmajor" -eq 2 ] && [ "\$bminor" '>' 04 ] \\
&& [ -f %_sysconfdir/bash_completion ]; then # interactive shell
# Source completion code
. %_sysconfdir/bash_completion
fi
unset bash bmajor bminor
__PROFILE__
%files
%doc README Changelog contrib BUGS
%_sysconfdir/bash_completion
%dir %_sysconfdir/bash_completion.d
%attr(0755,root,root) %_sysconfdir/profile.d/%name.sh
%changelog
…
Полный changelog можно просмотреть здесь
Version: 20050712
Release: alt01
Summary: bash-completion offers programmable completion for bash
License: GPL
Group: Shells
URL: http://www.caliban.org/bash/
Source0: http://www.caliban.org/files/bash/%name-%version.tar.bz2
Patch0: bash-completion-20050103-alt-rsync.patch.gz
Requires: bash >= 2.05
BuildArch: noarch
%description
bash-completion is a collection of shell functions that take advantage
of the programmable completion feature of bash 2.04 and later.
%prep
%setup -q -n bash_completion
%patch0 -p0
%install
%__install -d %buildroot%_sysconfdir/bash_completion.d
%__install bash_completion %buildroot%_sysconfdir
%__mkdir_p %buildroot%_sysconfdir/profile.d/
%__cat <<__PROFILE__ > %buildroot%_sysconfdir/profile.d/%name.sh
bash=\${BASH_VERSION%.*}; bmajor=\${bash%.*}; bminor=\${bash#*.}
if [ "\$PS1" ] && [ "\$bmajor" -eq 2 ] && [ "\$bminor" '>' 04 ] \\
&& [ -f %_sysconfdir/bash_completion ]; then # interactive shell
# Source completion code
. %_sysconfdir/bash_completion
fi
unset bash bmajor bminor
__PROFILE__
%files
%doc README Changelog contrib BUGS
%_sysconfdir/bash_completion
%dir %_sysconfdir/bash_completion.d
%attr(0755,root,root) %_sysconfdir/profile.d/%name.sh
%changelog
…
Полный changelog можно просмотреть здесь