howm-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Name: howm
  2. Version: 1.3.9.2
  3. Release: 1%{?_dist_release}
  4. Summary: a note-taking tool on Emacs
  5. Summary(ja): Emacs で断片的なメモをどんどんとるための環境
  6. License: GPL
  7. Group: Applications/Editors/Emacs
  8. URL: http://howm.sourceforge.jp/
  9. Source0: %{name}-%{version}.tar.gz
  10. Source1: %{name}-install.sh
  11. Source2: %{name}-remove.sh
  12. Source3: %{name}-init.el
  13. Source4: vine-default-%{name}.el
  14. BuildRoot: %{_tmppath}/%{name}-root
  15. BuildArch: noarch
  16. Requires(post,preun): emacsen
  17. %description
  18. Howm is a note-taking tool on Emacs. It is similar to emacs-wiki;
  19. you can enjoy hyperlinks and full-text search easily. It is not
  20. similar to emacs-wiki; it can be combined with any format.
  21. %description -l ja
  22. Emacs で断片的なメモをどんどんとるための環境です. 分類機能はあえてつけ
  23. ません. かわりに, 全文検索とメモ間リンクが手軽にできるようにしました.
  24. 自由書式なので改宗も不要 :-)
  25. %prep
  26. %setup -q
  27. %build
  28. %__rm -rf */Makefile.am */Makefile.in
  29. %install
  30. %__rm -rf %{buildroot}
  31. %__mkdir_p %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
  32. %__mkdir_p %{buildroot}%{emacsen_pkgdir}/install
  33. %__mkdir_p %{buildroot}%{emacsen_pkgdir}/remove
  34. #
  35. # install el files
  36. #
  37. %__install -m 0644 *.el %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
  38. %__install -m 0644 %{SOURCE3} %{SOURCE4} \
  39. ${RPM_BUILD_ROOT}/%{_datadir}/emacs/site-lisp/%{name}/
  40. #
  41. # install script (bytecompile el and install elc, remove)
  42. #
  43. %_installemacsenscript %{name} %{SOURCE1}
  44. %_removeemacsenscript %{name} %{SOURCE2}
  45. %clean
  46. %__rm -rf %{buildroot}
  47. %post
  48. #
  49. # bytecompile and install
  50. #
  51. if [ "$1" = 2 ]; then
  52. %_emacsenPackageRemove %{name}
  53. fi
  54. %_addemacsenlist %{name}
  55. %_emacsenPackageInstall %{name}
  56. %preun
  57. if [ "$1" = 0 ]; then
  58. %_emacsenPackageRemove %{name}
  59. %_removeemacsenlist %{name}
  60. fi
  61. %files
  62. %defattr(-,root,root)
  63. %doc COPYING ChangeLog doc en ext ja sample
  64. %{_datadir}/emacs/site-lisp/%{name}/
  65. %{emacsen_pkgdir}/install/%{name}
  66. %{emacsen_pkgdir}/remove/%{name}
  67. %changelog
  68. * Sat Mar 31 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.2-1
  69. - new upstream release
  70. * Sat Jan 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.1-2
  71. - updated howm-init.el
  72. - output "Loading vine-default-howm ..." to the buffer *Messages*
  73. * Sun Jan 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.1-1
  74. - new upstream release
  75. - dropped howm-1.3.9-check-make-local-hook.patch
  76. - this patch merged into upstream
  77. - changed to Requires(post,preun): emacsen
  78. - Prereq tag is already deprecated
  79. - supported vine-default
  80. * Sun Jan 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9-1
  81. - new upstream release
  82. - supported emacs-24.0.50
  83. - applied howm-1.3.9-check-make-local-hook.patch
  84. * Fri Jan 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.8-1
  85. - new upstream release
  86. - use %%{emacsen_pkgdir}
  87. * Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.7-1
  88. - new upstream release
  89. * Sat Nov 01 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.6-1
  90. - apply new versioning policy
  91. - spec in utf-8
  92. - source update
  93. # * Sat Aug 30 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.6-0vl1
  94. # - new upstream
  95. * Tue Jan 09 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.3.4-0vl1
  96. - New upstream version.
  97. - Change Group.
  98. * Sun May 15 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2.3-0vl1
  99. - New upstream version.
  100. * Sun Nov 21 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2-0vl2
  101. - Fix howm-en-dir and howm-ja-dir.
  102. * Fri Oct 01 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2-0vl1
  103. - New upstream version.
  104. * Mon Jun 14 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.2.1-0vl1
  105. - New upstream version.
  106. * Tue Feb 24 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.1-0vl1
  107. - New upstream version.
  108. * Wed Feb 11 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.0.4-0vl1
  109. - Initial build.