howm-vl.spec 2.7 KB

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