- Update scriptlets

epel9
Bastien Nocera 15 years ago
parent 0822a04707
commit ca6cb83b01

@ -1,7 +1,7 @@
Summary: GNOME icon theme
Name: gnome-icon-theme
Version: 2.29.2
Release: 2%{?dist}
Release: 3%{?dist}
#VCS: git:git://git.gnome.org/gnome-icon-theme
Source0: http://download.gnome.org/sources/gnome-icon-theme/2.29/%{name}-%{version}.tar.bz2
Source1: gnome-icon-theme-extra-device-icons-5.tar.bz2
@ -18,7 +18,8 @@ BuildRequires: librsvg2
BuildRequires: intltool
Requires: hicolor-icon-theme
Requires: pkgconfig
Requires(post): gtk2 >= 2.6.2
Requires(posttrans): gtk2 >= 2.6.2
Requires(postun): gtk2 >= 2.6.2
%description
This package contains the default icon theme used by the GNOME desktop.
@ -93,14 +94,11 @@ EOF
%clean
rm -rf $RPM_BUILD_ROOT
%post
for dir in /usr/share/icons/*; do
if test -d "$dir"; then
if test -f "$dir/index.theme"; then
/usr/bin/gtk-update-icon-cache --quiet "$dir" || :
fi
fi
done
%posttrans
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/gnome || :
%postun
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/gnome || :
%files
%defattr(-,root,root)
@ -110,6 +108,9 @@ done
%changelog
* Tue Mar 23 2010 Bastien Nocera <bnocera@redhat.com> 2.29.2-3
- Update scriptlets
* Tue Mar 16 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.2-2
- Add gtk-missing-image to legacy mapping

Loading…
Cancel
Save