howm-vl.spec 4.0 KB

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