rpms/gnome-icon-theme/devel process-working.png, NONE, 1.1 gnome-icon-theme.spec, 1.99, 1.100

Matthias Clasen mclasen at fedoraproject.org
Sun Mar 8 03:42:13 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/gnome-icon-theme/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25632

Modified Files:
	gnome-icon-theme.spec 
Added Files:
	process-working.png 
Log Message:
add 48x48 spinner back



Index: gnome-icon-theme.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-icon-theme/devel/gnome-icon-theme.spec,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- gnome-icon-theme.spec	24 Feb 2009 22:58:09 -0000	1.99
+++ gnome-icon-theme.spec	8 Mar 2009 03:41:41 -0000	1.100
@@ -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 @@
 
 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 @@
 %{_datadir}/pkgconfig/gnome-icon-theme.pc
 
 %changelog
+* Sat Mar  7 2009 Matthias Clasen <mclasen at redhat.com> - 2.25.91-3
+- Add a 48x48 spinner back
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.25.91-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list