add 48x48 spinner back

epel9
Matthias Clasen 16 years ago
parent 62bc72b84e
commit 4a33e14af1

@ -1,16 +1,17 @@
Summary: GNOME icon theme Summary: GNOME icon theme
Name: gnome-icon-theme Name: gnome-icon-theme
Version: 2.25.91 Version: 2.25.91
Release: 2%{?dist} Release: 3%{?dist}
Source0: http://download.gnome.org/sources/gnome-icon-theme/2.25/%{name}-%{version}.tar.bz2 Source0: http://download.gnome.org/sources/gnome-icon-theme/2.25/%{name}-%{version}.tar.bz2
Source1: gnome-icon-theme-extra-device-icons-5.tar.bz2 Source1: gnome-icon-theme-extra-device-icons-5.tar.bz2
Source2: legacy-icon-mapping.xml Source2: legacy-icon-mapping.xml
# gnome-packagekit needs this
Source3: process-working.png
License: GPL+ License: GPL+
BuildArch: noarch BuildArch: noarch
Group: User Interface/Desktops Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: icon-naming-utils >= 0.8.7 BuildRequires: icon-naming-utils >= 0.8.7
BuildRequires: perl(XML::Parser)
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: gettext BuildRequires: gettext
BuildRequires: librsvg2 BuildRequires: librsvg2
@ -78,16 +79,29 @@ done
tar xj -C $RPM_BUILD_ROOT/usr/share/icons/gnome -f %{SOURCE1} tar xj -C $RPM_BUILD_ROOT/usr/share/icons/gnome -f %{SOURCE1}
# add a 48x48 spinner back
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/gnome/48x48/animations
cp %{SOURCE3} $RPM_BUILD_ROOT/usr/share/icons/gnome/48x48/animations
sed -i -e "s#^Directories=#Directories=48x48/animations,#" $RPM_BUILD_ROOT/usr/share/icons/gnome/index.theme
cat >>$RPM_BUILD_ROOT/usr/share/icons/gnome/index.theme <<EOF
[48x48/animations]
Size=48
Context=Animations
Type=Fixed
EOF
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post
for dir in /usr/share/icons/*; do for dir in /usr/share/icons/*; do
if test -d "$dir"; then if test -d "$dir"; then
if test -f "$dir/index.theme"; then if test -f "$dir/index.theme"; then
/usr/bin/gtk-update-icon-cache --quiet "$dir" /usr/bin/gtk-update-icon-cache --quiet "$dir" || :
fi fi
fi fi
done done
@ -100,6 +114,9 @@ done
%{_datadir}/pkgconfig/gnome-icon-theme.pc %{_datadir}/pkgconfig/gnome-icon-theme.pc
%changelog %changelog
* Sat Mar 7 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.91-3
- Add a 48x48 spinner back
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Loading…
Cancel
Save