kasumi-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Summary: personal dictionary management tool for Anthy
  2. Summary(ja): Anthy 個人辞書管理ツール
  3. Name: kasumi
  4. Version: 2.5
  5. Release: 2%{?_dist_release}
  6. URL: http://kasumi.sourceforge.jp/
  7. Source0: %{name}-%{version}.tar.gz
  8. License: GPL2
  9. Group: Applications/System
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: pkgconfig gtk2-devel >= 2.6.0 glib2-devel
  12. BuildRequires: anthy-devel
  13. BuildRequires(install): desktop-file-utils
  14. %description
  15. personal dictionary management tool for Anthy
  16. %description -l ja
  17. Anthy 個人辞書管理ツール
  18. %prep
  19. %setup -q
  20. %build
  21. %configure
  22. %__make
  23. %install
  24. %__rm -rf %{buildroot}
  25. %makeinstall
  26. %{find_lang} %{name}
  27. # install desktop file
  28. desktop-file-install --delete-original \
  29. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  30. --add-category X-GNOME-PersonalSettings \
  31. ${RPM_BUILD_ROOT}%{_datadir}/applications/kasumi.desktop
  32. %clean
  33. %__rm -rf %{buildroot}
  34. %post
  35. if [ -x %{_bindir}/update-desktop-database ] ; then
  36. %{_bindir}/update-desktop-database %{_datadir}/applications
  37. fi
  38. %postun
  39. if [ -x %{_bindir}/update-desktop-database ] ; then
  40. %{_bindir}/update-desktop-database %{_datadir}/applications
  41. fi
  42. %files -f %{name}.lang
  43. %defattr(-,root,root)
  44. %doc AUTHORS COPYING ChangeLog NEWS README
  45. %{_bindir}/kasumi
  46. %{_datadir}/pixmaps/kasumi.png
  47. %{_datadir}/applications/kasumi.desktop
  48. %{_mandir}/man1/kasumi.1*
  49. %changelog
  50. * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 2.5-2
  51. - add BuildRequires(install): desktop-file-utils
  52. - execute update-desktop-database in post, postun
  53. * Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.5-1
  54. - new upstream release
  55. - add Categories=X-GNOME-PersonalSettings for kasumi.desktop
  56. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.3-1vl5
  57. - applied new versioning policy, spec in utf-8
  58. * Fri Dec 28 2007 IWAI, Masaharu <iwai@alib.jp> 2.3-0vl1
  59. - new upstream release
  60. * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-0vl2
  61. - rebuild with new environment/toolchain
  62. * Sat Dec 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2-0vl1
  63. - upstream release
  64. - add required version of gtk2
  65. - update %%files
  66. - use original desktop file
  67. - drop obsolete patch0
  68. * Wed Aug 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl3
  69. - add BuildRequires: anthy-devel
  70. - add Patch0 to allow empty private dictionary
  71. (http://kasumi.sourceforge.jp/index.php?%A5%D0%A5%B0%CA%F3%B9%F0%2F75)
  72. * Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl2
  73. - changed Group to Applications/System
  74. * Sun Jul 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0.1-0vl1
  75. - [SECURITY] upstream release
  76. - an arbitrary text can be accepted as printf()-style format string
  77. * Fri Jun 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl1
  78. - upstream release
  79. * Fri Dec 09 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0-0vl1
  80. - upstream release
  81. * Thu Nov 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10-0vl3
  82. - fix typo in kasumi.desktop
  83. * Mon Oct 24 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10-0vl2
  84. - import and modify kasumi.desktop (Source1) from momonga
  85. * Mon Oct 10 2005 IWAI, Masaharu <iwai@alib.jp> 0.10-0vl1
  86. - Initial build.