howm-vl.spec 4.1 KB

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