bashdb-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define first_version 4.3
  2. %define second_version 0.91
  3. # Basic Information
  4. Name: bashdb
  5. Version: %{first_version}.%{second_version}
  6. Release: 1%{?_dist_release}
  7. License: GPLv2
  8. Group: Development/Debuggers
  9. URL: http://bashdb.sourceforge.net/
  10. Source0: %{name}-%{first_version}-%{second_version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: yasumichi
  16. Summary: a gdb-like debugger for Bash
  17. Summary(ja): Bash 用の gdb ライクなデバッガー
  18. # Dependency
  19. Requires: bash
  20. Requires(post): /sbin/install-info
  21. Requires(preun): /sbin/install-info
  22. %description
  23. bashdb is a bash script to which arranges for another bash script to be debugged.
  24. The debugger has a similar command interface as gdb.
  25. %description -l ja
  26. bashdb は、デバッグしたい他の bash スクリプトを準備するための bash スクリプトです。
  27. このデバッガーは、gdb とよく似たコマンドインターフェースを備えています。
  28. %prep
  29. %setup -q -n %{name}-%{first_version}-%{second_version}
  30. %build
  31. %configure
  32. %{__make} %{?_smp_mflags}
  33. %install
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  36. # remove unnecessary files.
  37. %{__rm} -f ${RPM_BUILD_ROOT}%{_infodir}/dir
  38. %clean
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %post
  41. /sbin/install-info %{_infodir}/bashdb.info %{_infodir}/dir 2>/dev/null || :
  42. %preun
  43. if [ $1 -eq 0 ]; then
  44. /sbin/install-info --delete %{_infodir}/bashdb.info \
  45. %{_infodir}/dir 2>/dev/null || :
  46. fi
  47. %files
  48. %defattr(-,root,root)
  49. %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
  50. %{_mandir}/man1/bashdb.1*
  51. %{_infodir}/bashdb.info*
  52. %{_datadir}/bashdb
  53. %{_bindir}/bashdb
  54. %changelog
  55. * Mon Jan 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.3.0.91-1
  56. - new upstream release
  57. - moved to Development/Debuggers Group
  58. * Sat Oct 15 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 4.2.0.8-1
  59. - initial build for Vine Linux