44 |
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs |
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs |
45 |
Name: %{pkgname}%{api_version} |
Name: %{pkgname}%{api_version} |
46 |
Version: 3.0.11 |
Version: 3.0.11 |
47 |
Release: %mkrel 2 |
Release: %mkrel 3 |
48 |
License: LGPLv2+ |
License: LGPLv2+ |
49 |
Group: System/Libraries |
Group: System/Libraries |
50 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/%pkgname/%{pkgname}-%{version}.tar.xz |
Source0: http://ftp.gnome.org/pub/GNOME/sources/%pkgname/%{pkgname}-%{version}.tar.xz |
105 |
gtk-query-immodules-3.0-%{__isa_bits} --update-cache |
gtk-query-immodules-3.0-%{__isa_bits} --update-cache |
106 |
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
107 |
|
|
|
if [ -d %{_datadir}/icons ]; then |
|
|
for i in `/bin/ls %{_datadir}/icons` ; do |
|
|
[ -d "%{_datadir}/icons/$i" -a -e "%{_datadir}/icons/$i/icon-theme.cache" -a -e "%{_datadir}/icons/$i/index.theme" ] && gtk-update-icon-cache-%{api_version} --force --quiet %{_datadir}/icons/$i |
|
|
done |
|
|
exit 0 |
|
|
fi |
|
|
|
|
|
|
|
108 |
%files -f gtk30.lang |
%files -f gtk30.lang |
109 |
%defattr(-, root, root) |
%defattr(-, root, root) |
110 |
%doc README |
%doc README |