Name: bash-completion Summary: Programmable completion for Bash Summary(ja): bash のプログラム可能な補完拡張 Version: 2.16.0 Release: 1%{?_dist_release} Group: system Distribution: Vine Linux Vendor: Project Vine License: GPLv2+ URL: https://github.com/scop/bash-completion Source0: https://github.com/scop/bash-completion/releases/download/%{version}/bash-completion-%{version}.tar.xz # patch for apt-rpm Patch1000: bash-completion-2.11-apt-cache.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch %description bash-completion is a collection of shell functions that take advantage of the programmable completion feature of bash. %description -l ja bash-completion は bash のプログラム可能な補完機能を利用し、 高機能な補完機能を bash に提供するシェル関数集です。 使用にあたっては ~/.bashrc に以下の行を追加してください。 . /etc/profile.d/bash_completion.sh %prep %setup -q %patch1000 -p1 %build autoreconf -fiv %configure %make_build %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=%{buildroot} #remove for vine rm %{buildroot}%{_datadir}/bash-completion/completions/{cowsay,cowthink} # Bug 1819867 - conflict over the makepkg name with pacman rm %{buildroot}%{_datadir}/bash-completion/completions/makepkg # Bug 2088307 - Remove completions for prelink rm %{buildroot}%{_datadir}/bash-completion/completions/prelink # Bug 2188865 - Remove bash completions for javaws as it's not shipped with Fedora rm %{buildroot}%{_datadir}/bash-completion/completions/javaws %files %license COPYING %doc AUTHORS CHANGELOG.md CONTRIBUTING.md README.md %doc doc/configuration.md doc/styleguide.md %config %{_sysconfdir}/profile.d/bash_completion.sh %{_sysconfdir}/bash_completion.d/ %{_datadir}/bash-completion/ %{_datadir}/pkgconfig/bash-completion.pc %{_datadir}/cmake/bash-completion %changelog * Sat May 17 2025 Tomohiro "Tomo-p" KATO 2.16.0-1 - new upstream release. * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO 2.11-1 - new upstream release. - dropped Source3. - added Patch3 for apt-rpm. * Fri Oct 6 2017 Satoshi IWAMOTO 2.7-2 - new upstream release (2.7-1 was used for vl6) - fix incorrect changelog date.... * Fri Dec 27 2013 TANAKA hiroaki 2.1-2 - rebuild with gcc-4.8 * Tue May 28 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.1-1 - source update - Don't install nmcli completion >= Vine7 * Wed Jul 25 2012 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.0-1 - source update - merge bash-completion-2.0-redefine_filedir.bash from bash-completion-2.0-1.fc17 * Tue Feb 7 2012 TANAKA hiroaki 1.99-1 - initial build for Vine Linux based on bash-completion-1.99-1.fc17.src.rpm