howm-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Name: howm
  2. Version: 1.3.9.1
  3. Release: 2%{?_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 Jan 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.1-2
  69. - updated howm-init.el
  70. - output "Loading vine-default-howm ..." to the buffer *Messages*
  71. * Sun Jan 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.1-1
  72. - new upstream release
  73. - dropped howm-1.3.9-check-make-local-hook.patch
  74. - this patch merged into upstream
  75. - changed to Requires(post,preun): emacsen
  76. - Prereq tag is already deprecated
  77. - supported vine-default
  78. * Sun Jan 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9-1
  79. - new upstream release
  80. - supported emacs-24.0.50
  81. - applied howm-1.3.9-check-make-local-hook.patch
  82. * Fri Jan 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.8-1
  83. - new upstream release
  84. - use %%{emacsen_pkgdir}
  85. * Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.7-1
  86. - new upstream release
  87. * Sat Nov 01 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.6-1
  88. - apply new versioning policy
  89. - spec in utf-8
  90. - source update
  91. # * Sat Aug 30 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.6-0vl1
  92. # - new upstream
  93. * Tue Jan 09 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.3.4-0vl1
  94. - New upstream version.
  95. - Change Group.
  96. * Sun May 15 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2.3-0vl1
  97. - New upstream version.
  98. * Sun Nov 21 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2-0vl2
  99. - Fix howm-en-dir and howm-ja-dir.
  100. * Fri Oct 01 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2-0vl1
  101. - New upstream version.
  102. * Mon Jun 14 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.2.1-0vl1
  103. - New upstream version.
  104. * Tue Feb 24 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.1-0vl1
  105. - New upstream version.
  106. * Wed Feb 11 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.0.4-0vl1
  107. - Initial build.