kasumi-vl.spec 3.3 KB

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