Summary: personal dictionary management tool for Anthy Summary(ja): Anthy 個人辞書管理ツール Name: kasumi Version: 2.5 Release: 2%{?_dist_release} URL: http://kasumi.sourceforge.jp/ Source0: %{name}-%{version}.tar.gz License: GPL2 Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: pkgconfig gtk2-devel >= 2.6.0 glib2-devel BuildRequires: anthy-devel BuildRequires(install): desktop-file-utils %description personal dictionary management tool for Anthy %description -l ja Anthy 個人辞書管理ツール %prep %setup -q %build %configure %__make %install %__rm -rf %{buildroot} %makeinstall %{find_lang} %{name} # install desktop file desktop-file-install --delete-original \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --add-category X-GNOME-PersonalSettings \ ${RPM_BUILD_ROOT}%{_datadir}/applications/kasumi.desktop %clean %__rm -rf %{buildroot} %post if [ -x %{_bindir}/update-desktop-database ] ; then %{_bindir}/update-desktop-database %{_datadir}/applications fi %postun if [ -x %{_bindir}/update-desktop-database ] ; then %{_bindir}/update-desktop-database %{_datadir}/applications fi %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/kasumi %{_datadir}/pixmaps/kasumi.png %{_datadir}/applications/kasumi.desktop %{_mandir}/man1/kasumi.1* %changelog * Tue Apr 5 2011 IWAI, Masaharu 2.5-2 - add BuildRequires(install): desktop-file-utils - execute update-desktop-database in post, postun * Sun Aug 09 2009 Kazutaka HARADA 2.5-1 - new upstream release - add Categories=X-GNOME-PersonalSettings for kasumi.desktop * Fri Aug 15 2008 Shu KONNO 2.3-1vl5 - applied new versioning policy, spec in utf-8 * Fri Dec 28 2007 IWAI, Masaharu 2.3-0vl1 - new upstream release * Tue May 15 2007 Daisuke SUZUKI 2.2-0vl2 - rebuild with new environment/toolchain * Sat Dec 02 2006 KAZUKI SHIMURA 2.2-0vl1 - upstream release - add required version of gtk2 - update %%files - use original desktop file - drop obsolete patch0 * Wed Aug 30 2006 Ryoichi INAGAKI 2.0.1-0vl3 - add BuildRequires: anthy-devel - add Patch0 to allow empty private dictionary (http://kasumi.sourceforge.jp/index.php?%A5%D0%A5%B0%CA%F3%B9%F0%2F75) * Sun Jul 16 2006 Ryoichi INAGAKI 2.0.1-0vl2 - changed Group to Applications/System * Sun Jul 02 2006 KAZUKI SHIMURA 2.0.1-0vl1 - [SECURITY] upstream release - an arbitrary text can be accepted as printf()-style format string * Fri Jun 02 2006 KAZUKI SHIMURA 2.0-0vl1 - upstream release * Fri Dec 09 2005 KAZUKI SHIMURA 1.0-0vl1 - upstream release * Thu Nov 17 2005 KAZUKI SHIMURA 0.10-0vl3 - fix typo in kasumi.desktop * Mon Oct 24 2005 KAZUKI SHIMURA 0.10-0vl2 - import and modify kasumi.desktop (Source1) from momonga * Mon Oct 10 2005 IWAI, Masaharu 0.10-0vl1 - Initial build.