[5588] | 1 | Name: bash-completion |
---|
[11197] | 2 | Version: 2.7 |
---|
[8066] | 3 | Release: 2%{?_dist_release} |
---|
[5588] | 4 | License: GPLv2+ |
---|
| 5 | Group: System Environment/Shells |
---|
| 6 | URL: http://bash-completion.alioth.debian.org/ |
---|
[11197] | 7 | Source0: %{name}-%{version}.tar.xz |
---|
[6638] | 8 | Source3: %{name}-2.0-redefine_filedir.bash |
---|
[5588] | 9 | Patch0: %{name}-1.99-noblacklist.patch |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[8066] | 11 | Distribution: Vine Linux |
---|
[5588] | 12 | Vendor: Project Vine |
---|
[8066] | 13 | Packager: TANAKA hiroaki<mosaicist@jcom.home.ne.jp |
---|
[5588] | 14 | |
---|
| 15 | Summary: Programmable completion for Bash |
---|
| 16 | Summary(ja): bash のプログラム可能な補完拡張 |
---|
| 17 | |
---|
| 18 | BuildArch: noarch |
---|
| 19 | |
---|
| 20 | # Dependency |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | bash-completion is a collection of shell functions that take advantage of |
---|
| 24 | the programmable completion feature of bash. |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | bash-completion は bash のプログラム可能な補完機能を利用し、 |
---|
| 28 | 高機能な補完機能を bash に提供するシェル関数集です。 |
---|
| 29 | |
---|
| 30 | 使用にあたっては ~/.bashrc に以下の行を追加してください。 |
---|
| 31 | . /etc/profile.d/bash_completion.sh |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | %patch0 -p1 |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | %configure |
---|
| 41 | %{__make} %{?_smp_mflags} |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 46 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 47 | |
---|
[7699] | 48 | #remove for vine |
---|
| 49 | rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/{cowsay,cowthink} |
---|
| 50 | %if "%{?_dist_release}" >= "vl7" |
---|
[11197] | 51 | if [ -f $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nmcli ]; then |
---|
| 52 | rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nmcli |
---|
| 53 | fi |
---|
[7699] | 54 | %endif |
---|
| 55 | |
---|
[5588] | 56 | install -Dpm 644 %{SOURCE3} \ |
---|
| 57 | $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/redefine_filedir |
---|
| 58 | |
---|
| 59 | %clean |
---|
| 60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %files |
---|
| 64 | %defattr(-,root,root) |
---|
[11197] | 65 | %doc AUTHORS COPYING doc/*.txt |
---|
[5588] | 66 | %config %{_sysconfdir}/profile.d/bash_completion.sh |
---|
| 67 | %{_sysconfdir}/bash_completion.d/ |
---|
| 68 | %{_datadir}/bash-completion/ |
---|
| 69 | %{_datadir}/pkgconfig/bash-completion.pc |
---|
| 70 | |
---|
| 71 | %changelog |
---|
[11197] | 72 | * Fri Oct 6 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7-2 |
---|
| 73 | - new upstream release |
---|
| 74 | (2.7-1 was used for vl6) |
---|
| 75 | - fix incorrect changelog date.... |
---|
| 76 | |
---|
[8066] | 77 | * Fri Dec 27 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.1-2 |
---|
| 78 | - rebuild with gcc-4.8 |
---|
| 79 | |
---|
[11197] | 80 | * Tue May 28 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.1-1 |
---|
[7699] | 81 | - source update |
---|
| 82 | - Don't install nmcli completion >= Vine7 |
---|
| 83 | |
---|
[6638] | 84 | * Wed Jul 25 2012 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.0-1 |
---|
| 85 | - source update |
---|
| 86 | - merge bash-completion-2.0-redefine_filedir.bash from bash-completion-2.0-1.fc17 |
---|
| 87 | |
---|
[5588] | 88 | * Tue Feb 7 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.99-1 |
---|
| 89 | - initial build for Vine Linux based on bash-completion-1.99-1.fc17.src.rpm |
---|