Add a window icon

epel9
Matthias Clasen 16 years ago
parent 684fd52c9d
commit 6aa25e2701

@ -1,10 +1,11 @@
Summary: GNOME icon theme Summary: GNOME icon theme
Name: gnome-icon-theme Name: gnome-icon-theme
Version: 2.26.0 Version: 2.26.0
Release: 1%{?dist} Release: 2%{?dist}
Source0: http://download.gnome.org/sources/gnome-icon-theme/2.26/%{name}-%{version}.tar.bz2 Source0: http://download.gnome.org/sources/gnome-icon-theme/2.26/%{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
Source3: window.png
License: GPL+ License: GPL+
BuildArch: noarch BuildArch: noarch
Group: User Interface/Desktops Group: User Interface/Desktops
@ -34,30 +35,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
## remove these bogus files ## remove these bogus files
rm -rf $RPM_BUILD_ROOT/usr/share/locale/* rm -rf $RPM_BUILD_ROOT/usr/share/locale/*
## create symlinks so the all icon themes know some extra icons we've added
%if 0
# don't do this in unstable rawhide, so we can gauge how much of this
# is actually needed
for i in 24x24; do
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps
cd $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps
ln -s ../../../gnome/$i/categories/applications-development.png redhat-programming.png
ln -s ../../../gnome/$i/categories/applications-multimedia.png redhat-sound_video.png
ln -s ../../../gnome/$i/categories/applications-accessories.png redhat-accessories.png
ln -s ../../../gnome/$i/categories/applications-graphics.png redhat-graphics.png
ln -s ../../../gnome/$i/categories/applications-internet.png redhat-internet.png
ln -s ../../../gnome/$i/categories/applications-office.png redhat-office.png
ln -s ../../../gnome/$i/categories/applications-games.png redhat-games.png
ln -s ../../../gnome/$i/categories/preferences-desktop.png redhat-preferences.png
ln -s ../../../gnome/$i/categories/preferences-system.png redhat-system_settings.png
ln -s ../../../gnome/$i/categories/preferences-system.png redhat-server_settings.png
ln -s ../../../gnome/$i/categories/preferences-system.png redhat-system_tools.png
ln -s ../../../gnome/$i/places/start-here.png redhat-starthere.png
ln -s ../../../gnome/$i/places/user-home.png redhat-home.png
done
%endif
# create symlinks for gtk stock icons, these are not really 'legacy' # create symlinks for gtk stock icons, these are not really 'legacy'
# this uses the legacy-icon-mapping.xml file in cvs # this uses the legacy-icon-mapping.xml file in cvs
cd $RPM_BUILD_ROOT/usr/share/icons/gnome cd $RPM_BUILD_ROOT/usr/share/icons/gnome
@ -77,6 +54,8 @@ 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}
cp %{SOURCE3} $RPM_BUILD_ROOT/usr/share/icons/gnome/16x16/apps
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -97,6 +76,9 @@ done
%{_datadir}/pkgconfig/gnome-icon-theme.pc %{_datadir}/pkgconfig/gnome-icon-theme.pc
%changelog %changelog
* Tue Mar 17 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-2
- Add a window icon so we don't show missing icons in window frames
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1 * Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
- Update to 2.26.0 - Update to 2.26.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Loading…
Cancel
Save