bash-completion-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Name: bash-completion
  2. Version: 2.0
  3. Release: 1%{?_dist_release}
  4. License: GPLv2+
  5. Group: System Environment/Shells
  6. URL: http://bash-completion.alioth.debian.org/
  7. Source0: %{name}-%{version}.tar.bz2
  8. Source3: %{name}-2.0-redefine_filedir.bash
  9. Patch0: %{name}-1.99-noblacklist.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Summary: Programmable completion for Bash
  14. Summary(ja): bash のプログラム可能な補完拡張
  15. BuildArch: noarch
  16. # Dependency
  17. %description
  18. bash-completion is a collection of shell functions that take advantage of
  19. the programmable completion feature of bash.
  20. %description -l ja
  21. bash-completion は bash のプログラム可能な補完機能を利用し、
  22. 高機能な補完機能を bash に提供するシェル関数集です。
  23. 使用にあたっては ~/.bashrc に以下の行を追加してください。
  24. . /etc/profile.d/bash_completion.sh
  25. %prep
  26. %setup -q
  27. %patch0 -p1
  28. %build
  29. %configure
  30. %{__make} %{?_smp_mflags}
  31. %install
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  34. install -Dpm 644 %{SOURCE3} \
  35. $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/redefine_filedir
  36. %clean
  37. %{__rm} -rf ${RPM_BUILD_ROOT}
  38. %files
  39. %defattr(-,root,root)
  40. %doc AUTHORS COPYING README
  41. %config %{_sysconfdir}/profile.d/bash_completion.sh
  42. %{_sysconfdir}/bash_completion.d/
  43. %{_datadir}/bash-completion/
  44. %{_datadir}/pkgconfig/bash-completion.pc
  45. %changelog
  46. * Wed Jul 25 2012 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.0-1
  47. - source update
  48. - merge bash-completion-2.0-redefine_filedir.bash from bash-completion-2.0-1.fc17
  49. * Tue Feb 7 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.99-1
  50. - initial build for Vine Linux based on bash-completion-1.99-1.fc17.src.rpm