bash-completion-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Name: bash-completion
  2. Summary: Programmable completion for Bash
  3. Summary(ja): bash のプログラム可能な補完拡張
  4. Version: 2.16.0
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Distribution: Vine Linux
  8. Vendor: Project Vine
  9. License: GPLv2+
  10. URL: https://github.com/scop/bash-completion
  11. Source0: https://github.com/scop/bash-completion/releases/download/%{version}/bash-completion-%{version}.tar.xz
  12. # patch for apt-rpm
  13. Patch1000: bash-completion-2.11-apt-cache.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildArch: noarch
  16. %description
  17. bash-completion is a collection of shell functions that take advantage of
  18. the programmable completion feature of bash.
  19. %description -l ja
  20. bash-completion は bash のプログラム可能な補完機能を利用し、
  21. 高機能な補完機能を bash に提供するシェル関数集です。
  22. 使用にあたっては ~/.bashrc に以下の行を追加してください。
  23. . /etc/profile.d/bash_completion.sh
  24. %prep
  25. %setup -q
  26. %patch1000 -p1
  27. %build
  28. autoreconf -fiv
  29. %configure
  30. %make_build
  31. %install
  32. %{__rm} -rf %{buildroot}
  33. %{__make} install DESTDIR=%{buildroot}
  34. #remove for vine
  35. rm %{buildroot}%{_datadir}/bash-completion/completions/{cowsay,cowthink}
  36. # Bug 1819867 - conflict over the makepkg name with pacman
  37. rm %{buildroot}%{_datadir}/bash-completion/completions/makepkg
  38. # Bug 2088307 - Remove completions for prelink
  39. rm %{buildroot}%{_datadir}/bash-completion/completions/prelink
  40. # Bug 2188865 - Remove bash completions for javaws as it's not shipped with Fedora
  41. rm %{buildroot}%{_datadir}/bash-completion/completions/javaws
  42. %files
  43. %license COPYING
  44. %doc AUTHORS CHANGELOG.md CONTRIBUTING.md README.md
  45. %doc doc/configuration.md doc/styleguide.md
  46. %config %{_sysconfdir}/profile.d/bash_completion.sh
  47. %{_sysconfdir}/bash_completion.d/
  48. %{_datadir}/bash-completion/
  49. %{_datadir}/pkgconfig/bash-completion.pc
  50. %{_datadir}/cmake/bash-completion
  51. %changelog
  52. * Sat May 17 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.16.0-1
  53. - new upstream release.
  54. * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11-1
  55. - new upstream release.
  56. - dropped Source3.
  57. - added Patch3 for apt-rpm.
  58. * Fri Oct 6 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7-2
  59. - new upstream release
  60. (2.7-1 was used for vl6)
  61. - fix incorrect changelog date....
  62. * Fri Dec 27 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.1-2
  63. - rebuild with gcc-4.8
  64. * Tue May 28 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.1-1
  65. - source update
  66. - Don't install nmcli completion >= Vine7
  67. * Wed Jul 25 2012 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.0-1
  68. - source update
  69. - merge bash-completion-2.0-redefine_filedir.bash from bash-completion-2.0-1.fc17
  70. * Tue Feb 7 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.99-1
  71. - initial build for Vine Linux based on bash-completion-1.99-1.fc17.src.rpm