|
@@ -1,6 +1,6 @@
|
|
Name: glabels
|
|
Name: glabels
|
|
Version: 3.0.0
|
|
Version: 3.0.0
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
Summary: A program for creating labels and business cards for GNOME
|
|
Summary: A program for creating labels and business cards for GNOME
|
|
Summary(ja): GNOME 用のラベルと名刺を作成するためのプログラム
|
|
Summary(ja): GNOME 用のラベルと名刺を作成するためのプログラム
|
|
|
|
|
|
@@ -9,7 +9,7 @@ License: GPLv3+
|
|
URL: http://glabels.sf.net
|
|
URL: http://glabels.sf.net
|
|
|
|
|
|
Source0: http://dl.sf.net/%{name}/%{name}-%{version}.tar.bz2
|
|
Source0: http://dl.sf.net/%{name}/%{name}-%{version}.tar.bz2
|
|
-#Patch0: %{name}-libxml-XML_PARSE_HUGE.patch
|
|
|
|
|
|
+Patch0: glabels-fix-child-schemas.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -119,7 +119,8 @@ This package contains the template database for %{name}.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-#%patch0 -p1 -b .libxml-XML_PARSE_HUGE
|
|
|
|
|
|
+%patch0 -p1 -b .fix-child-schemas
|
|
|
|
+
|
|
sed -i 's/Icon=glabels-3.0.png/Icon=glabels-3.0/g' \
|
|
sed -i 's/Icon=glabels-3.0.png/Icon=glabels-3.0/g' \
|
|
data/desktop/glabels-3.0.desktop.in
|
|
data/desktop/glabels-3.0.desktop.in
|
|
|
|
|
|
@@ -155,6 +156,11 @@ if [ $1 -eq 0 ]; then
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
@@ -169,6 +175,7 @@ scrollkeeper-update -q ||:
|
|
|
|
|
|
%posttrans
|
|
%posttrans
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
|
|
|
|
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
@@ -219,6 +226,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Aug 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.0-2
|
|
|
|
+- added Patch0 from Fedora
|
|
|
|
+- run gtk-update-icon-cache in %%posttrans, %%postun
|
|
|
|
+
|
|
* Sat Sep 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.0-1
|
|
* Sat Sep 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.0-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- changed License: GPLv2+ to GPLv3+
|
|
- changed License: GPLv2+ to GPLv3+
|