kasumi-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Name: kasumi
  2. Summary: Personal dictionary management tool for Anthy
  3. Summary(ja): Anthy 個人辞書管理ツール
  4. Version: 2.5
  5. Release: 4%{?_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. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.5-4
  55. - rebuild with gcc-5.4.0
  56. * Mon Sep 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.5-3
  57. - rebuilt for removing dependency to libpng12
  58. * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 2.5-2
  59. - add BuildRequires(install): desktop-file-utils
  60. - execute update-desktop-database in post, postun
  61. * Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.5-1
  62. - new upstream release
  63. - add Categories=X-GNOME-PersonalSettings for kasumi.desktop
  64. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.3-1vl5
  65. - applied new versioning policy, spec in utf-8
  66. * Fri Dec 28 2007 IWAI, Masaharu <iwai@alib.jp> 2.3-0vl1
  67. - new upstream release
  68. * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-0vl2
  69. - rebuild with new environment/toolchain
  70. * Sat Dec 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2-0vl1
  71. - upstream release
  72. - add required version of gtk2
  73. - update %%files
  74. - use original desktop file
  75. - drop obsolete patch0
  76. * Wed Aug 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl3
  77. - add BuildRequires: anthy-devel
  78. - add Patch0 to allow empty private dictionary
  79. (http://kasumi.sourceforge.jp/index.php?%A5%D0%A5%B0%CA%F3%B9%F0%2F75)
  80. * Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl2
  81. - changed Group to Applications/System
  82. * Sun Jul 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0.1-0vl1
  83. - [SECURITY] upstream release
  84. - an arbitrary text can be accepted as printf()-style format string
  85. * Fri Jun 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl1
  86. - upstream release
  87. * Fri Dec 09 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0-0vl1
  88. - upstream release
  89. * Thu Nov 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10-0vl3
  90. - fix typo in kasumi.desktop
  91. * Mon Oct 24 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10-0vl2
  92. - import and modify kasumi.desktop (Source1) from momonga
  93. * Mon Oct 10 2005 IWAI, Masaharu <iwai@alib.jp> 0.10-0vl1
  94. - Initial build.