|
|
|
@ -1,16 +1,17 @@
|
|
|
|
|
Summary: GNOME icon theme
|
|
|
|
|
Name: gnome-icon-theme
|
|
|
|
|
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
|
|
|
|
|
Source1: gnome-icon-theme-extra-device-icons-5.tar.bz2
|
|
|
|
|
Source2: legacy-icon-mapping.xml
|
|
|
|
|
# gnome-packagekit needs this
|
|
|
|
|
Source3: process-working.png
|
|
|
|
|
License: GPL+
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: icon-naming-utils >= 0.8.7
|
|
|
|
|
BuildRequires: perl(XML::Parser)
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: librsvg2
|
|
|
|
@ -78,16 +79,29 @@ done
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
for dir in /usr/share/icons/*; do
|
|
|
|
|
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"
|
|
|
|
|
/usr/bin/gtk-update-icon-cache --quiet "$dir" || :
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
@ -100,6 +114,9 @@ done
|
|
|
|
|
%{_datadir}/pkgconfig/gnome-icon-theme.pc
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|