|
@@ -2,7 +2,7 @@ Summary: customizable image viewer that specifically designed to handle comic bo
|
|
|
Summary(ja): 漫画向けに特化してデザインされたカスタム可能なイメージビューワ
|
|
|
Name: mcomix
|
|
|
Version: 0.90.2
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Source0: MComix-%{version}.tar.bz2
|
|
|
Source1: mcomix_ja.po
|
|
|
|
|
@@ -49,17 +49,18 @@ msgfmt -o messages/ja/LC_MESSAGES/mcomix.mo messages/ja/LC_MESSAGES/mcomix.po
|
|
|
%clean
|
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
-
|
|
|
%post
|
|
|
-touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
-update-desktop-database > /dev/null 2>&1 || :
|
|
|
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
%postun
|
|
|
-touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
-update-desktop-database > /dev/null 2>&1 || :
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
+fi
|
|
|
+
|
|
|
+%posttrans
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
@@ -73,5 +74,10 @@ update-desktop-database > /dev/null 2>&1 || :
|
|
|
%{_mandir}/man1/%{name}.1.gz
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Nov 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.90.2-2
|
|
|
+- updated source1
|
|
|
+- probed %%post and %%postun
|
|
|
+ - added %%posttrans
|
|
|
+
|
|
|
* Sat Oct 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.90.2-1
|
|
|
- initial build for VineSeed
|