[5588] | 1 | Name: bash-completion |
---|
[12562] | 2 | Summary: Programmable completion for Bash |
---|
| 3 | Summary(ja): bash のプログラム可能な補完拡張 |
---|
| 4 | Version: 2.11 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | Group: system |
---|
[8066] | 7 | Distribution: Vine Linux |
---|
[5588] | 8 | Vendor: Project Vine |
---|
| 9 | |
---|
[12562] | 10 | License: GPLv2+ |
---|
| 11 | URL: https://github.com/scop/bash-completion |
---|
| 12 | Source0: https://github.com/scop/bash-completion/releases/download/%{version}/bash-completion-%{version}.tar.xz |
---|
| 13 | Patch0: %{name}-1.99-noblacklist.patch |
---|
| 14 | # patch for apt-rpm |
---|
| 15 | Patch1000: bash-completion-2.11-apt-cache.patch |
---|
[5588] | 16 | |
---|
[12562] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5588] | 18 | BuildArch: noarch |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | bash-completion is a collection of shell functions that take advantage of |
---|
| 22 | the programmable completion feature of bash. |
---|
| 23 | |
---|
| 24 | %description -l ja |
---|
| 25 | bash-completion は bash のプログラム可能な補完機能を利用し、 |
---|
| 26 | 高機能な補完機能を bash に提供するシェル関数集です。 |
---|
| 27 | |
---|
| 28 | 使用にあたっては ~/.bashrc に以下の行を追加してください。 |
---|
| 29 | . /etc/profile.d/bash_completion.sh |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q |
---|
| 34 | %patch0 -p1 |
---|
[12562] | 35 | %patch1000 -p1 |
---|
[5588] | 36 | |
---|
| 37 | |
---|
| 38 | %build |
---|
[12562] | 39 | autoreconf -fiv |
---|
[5588] | 40 | %configure |
---|
| 41 | %{__make} %{?_smp_mflags} |
---|
| 42 | |
---|
[12562] | 43 | cat <<EOF >redefine_filedir |
---|
| 44 | # This is a copy of the _filedir function in bash_completion, included |
---|
| 45 | # and (re)defined separately here because some versions of Adobe |
---|
| 46 | # Reader, if installed, are known to override this function with an |
---|
| 47 | # incompatible version, causing various problems. |
---|
| 48 | # |
---|
| 49 | # https://bugzilla.redhat.com/677446 |
---|
| 50 | # http://forums.adobe.com/thread/745833 |
---|
| 51 | |
---|
| 52 | EOF |
---|
| 53 | sed -ne '/^_filedir\s*(/,/^}/p' bash_completion >>redefine_filedir |
---|
[5588] | 54 | |
---|
[12562] | 55 | |
---|
[5588] | 56 | %install |
---|
[12562] | 57 | %{__rm} -rf %{buildroot} |
---|
| 58 | %{__make} install DESTDIR=%{buildroot} |
---|
| 59 | install -Dpm 644 redefine_filedir \ |
---|
| 60 | %{buildroot}%{_sysconfdir}/bash_completion.d/redefine_filedir |
---|
| 61 | |
---|
[7699] | 62 | #remove for vine |
---|
[12562] | 63 | rm %{buildroot}%{_datadir}/bash-completion/completions/{cowsay,cowthink} |
---|
[7699] | 64 | |
---|
[5588] | 65 | |
---|
| 66 | %clean |
---|
[12562] | 67 | %{__rm} -rf %{buildroot} |
---|
[5588] | 68 | |
---|
| 69 | |
---|
| 70 | %files |
---|
| 71 | %defattr(-,root,root) |
---|
[12562] | 72 | %license COPYING |
---|
| 73 | %doc AUTHORS README.md doc/*.txt |
---|
[5588] | 74 | %config %{_sysconfdir}/profile.d/bash_completion.sh |
---|
| 75 | %{_sysconfdir}/bash_completion.d/ |
---|
| 76 | %{_datadir}/bash-completion/ |
---|
| 77 | %{_datadir}/pkgconfig/bash-completion.pc |
---|
[12562] | 78 | %{_datadir}/cmake/bash-completion |
---|
[5588] | 79 | |
---|
[12562] | 80 | |
---|
[5588] | 81 | %changelog |
---|
[12562] | 82 | * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11-1 |
---|
| 83 | - new upstream release. |
---|
| 84 | - dropped Source3. |
---|
| 85 | - added Patch3 for apt-rpm. |
---|
| 86 | |
---|
[11197] | 87 | * Fri Oct 6 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7-2 |
---|
| 88 | - new upstream release |
---|
| 89 | (2.7-1 was used for vl6) |
---|
| 90 | - fix incorrect changelog date.... |
---|
| 91 | |
---|
[8066] | 92 | * Fri Dec 27 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.1-2 |
---|
| 93 | - rebuild with gcc-4.8 |
---|
| 94 | |
---|
[11197] | 95 | * Tue May 28 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.1-1 |
---|
[7699] | 96 | - source update |
---|
| 97 | - Don't install nmcli completion >= Vine7 |
---|
| 98 | |
---|
[6638] | 99 | * Wed Jul 25 2012 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.0-1 |
---|
| 100 | - source update |
---|
| 101 | - merge bash-completion-2.0-redefine_filedir.bash from bash-completion-2.0-1.fc17 |
---|
| 102 | |
---|
[5588] | 103 | * Tue Feb 7 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.99-1 |
---|
| 104 | - initial build for Vine Linux based on bash-completion-1.99-1.fc17.src.rpm |
---|