@ -1,12 +1,13 @@
Summary: GNOME icon theme
Name: gnome-icon-theme
Version: 2.29.0
Release: 1 %{?dist}
Release: 2 %{?dist}
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
Source2: legacy-icon-mapping.xml
Source3: window.png
Source4: gtk_print_icons.tar.bz2
Source5: lost-icons.tar.bz2
License: GPL+
BuildArch: noarch
Group: User Interface/Desktops
@ -25,7 +26,7 @@ This package contains the default icon theme used by the GNOME desktop.
%setup -q
%build
%configure --disable-hicolor-check
%configure
%install
rm -rf $RPM_BUILD_ROOT
@ -52,10 +53,41 @@ for size in 8x8 16x16 22x22 24x24 32x32 48x48 256x256; do
done
tar xj -C $RPM_BUILD_ROOT/usr/share/icons/gnome -f %{SOURCE1}
cp %{SOURCE3} $RPM_BUILD_ROOT/usr/share/icons/gnome/16x16/apps
tar xj -C $RPM_BUILD_ROOT/usr/share/icons/gnome -f %{SOURCE4}
tar xj -C $RPM_BUILD_ROOT/usr/share/icons/gnome -f %{SOURCE5}
sed -i -e 's#^\(Directories=.*\)$#\1;scalable/apps,scalable/actions,scalable/devices,scalable/status#' $RPM_BUILD_ROOT/usr/share/icons/gnome/index.theme
cat >>$RPM_BUILD_ROOT/usr/share/icons/gnome/index.theme <<EOF
[scalable/apps]
Size=48
MinSize=32
MaxSize=256
Context=Applications
Type=Scalable
[scalable/actions]
Size=48
MinSize=32
MaxSize=256
Context=Actions
Type=Scalable
[scalable/devices]
Size=48
MinSize=32
MaxSize=256
Context=Devices
Type=Scalable
[scalable/status]
Size=48
MinSize=32
MaxSize=256
Context=Status
Type=Scalable
EOF
%clean
rm -rf $RPM_BUILD_ROOT
@ -75,6 +107,9 @@ done
%{_datadir}/icons/gnome
%changelog
* Sun Feb 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.0-2
- Fix up some issues with icons that got lost
* Fri Feb 26 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.0-1
- Update to 2.29.0