bash-completion-vl.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Name: bash-completion
  2. Version: 1.99
  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}-1.99-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. * Tue Feb 7 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.99-1
  47. - initial build for Vine Linux based on bash-completion-1.99-1.fc17.src.rpm