|
@@ -2,7 +2,7 @@ Summary: personal dictionary management tool for Anthy
|
|
Summary(ja): Anthy 個人辞書管理ツール
|
|
Summary(ja): Anthy 個人辞書管理ツール
|
|
Name: kasumi
|
|
Name: kasumi
|
|
Version: 2.5
|
|
Version: 2.5
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
URL: http://kasumi.sourceforge.jp/
|
|
URL: http://kasumi.sourceforge.jp/
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source0: %{name}-%{version}.tar.gz
|
|
License: GPL2
|
|
License: GPL2
|
|
@@ -10,6 +10,7 @@ Group: Applications/System
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: pkgconfig gtk2-devel >= 2.6.0 glib2-devel
|
|
BuildRequires: pkgconfig gtk2-devel >= 2.6.0 glib2-devel
|
|
BuildRequires: anthy-devel
|
|
BuildRequires: anthy-devel
|
|
|
|
+BuildRequires(install): desktop-file-utils
|
|
|
|
|
|
%description
|
|
%description
|
|
personal dictionary management tool for Anthy
|
|
personal dictionary management tool for Anthy
|
|
@@ -35,9 +36,20 @@ desktop-file-install --delete-original \
|
|
--add-category X-GNOME-PersonalSettings \
|
|
--add-category X-GNOME-PersonalSettings \
|
|
${RPM_BUILD_ROOT}%{_datadir}/applications/kasumi.desktop
|
|
${RPM_BUILD_ROOT}%{_datadir}/applications/kasumi.desktop
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
%__rm -rf %{buildroot}
|
|
%__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
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
@@ -47,6 +59,10 @@ desktop-file-install --delete-original \
|
|
%{_mandir}/man1/kasumi.1*
|
|
%{_mandir}/man1/kasumi.1*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 2.5-2
|
|
|
|
+- add BuildRequires(install): desktop-file-utils
|
|
|
|
+- execute update-desktop-database in post, postun
|
|
|
|
+
|
|
* Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.5-1
|
|
* Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.5-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- add Categories=X-GNOME-PersonalSettings for kasumi.desktop
|
|
- add Categories=X-GNOME-PersonalSettings for kasumi.desktop
|