Fix broken symlinks

epel9
Matthias Clasen 19 years ago
parent b1f10bee99
commit dc198bc505

@ -1,8 +1,9 @@
Summary: Base gnome icons
Name: gnome-icon-theme
Version: 2.16.0.1
Release: 1%{?dist}
Release: 2%{?dist}
Source0: %{name}-%{version}.tar.bz2
Source1: extra-icons.tar.bz2
License: GPL
BuildArch: noarch
Group: User Interface/Desktops
@ -31,24 +32,27 @@ make install DESTDIR=$RPM_BUILD_ROOT
## remove these bogus files
rm -rf $RPM_BUILD_ROOT/usr/share/locale/*
rm -rf $RPM_BUILD_ROOT/usr/share/icons/gnome/*/apps/susehelpcenter.*
## create symlinks so the all icon themes know some extra icons we've added
for i in 48x48 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/apps/gnome-util.png redhat-accessories.png
ln -s ../../../gnome/$i/apps/gnome-joystick.png redhat-games.png
ln -s ../../../gnome/$i/apps/gnome-graphics.png redhat-graphics.png
ln -s ../../../../pixmaps/gnome-home.png redhat-home.png
ln -s ../../../gnome/$i/apps/gnome-globe.png redhat-internet.png
ln -s ../../../gnome/$i/apps/gnome-desktop-config.png redhat-preferences.png
ln -s ../../../gnome/$i/apps/gnome-applications.png redhat-office.png
ln -s ../../../gnome/$i/apps/gnome-devel.png redhat-programming.png
ln -s ../../../gnome/$i/apps/gnome-server-config.png redhat-server_settings.png
ln -s ../../../gnome/$i/apps/gnome-multimedia.png redhat-sound_video.png
ln -s ../../../gnome/$i/apps/gnome-starthere.png redhat-starthere.png
ln -s ../../../gnome/$i/apps/gnome-system-config.png redhat-system_settings.png
ln -s ../../../gnome/$i/apps/gnome-system.png redhat-system_tools.png
ln -s ../../../gnome/$i/apps/applications-development.png redhat-programming.png
ln -s ../../../gnome/$i/apps/applications-multimedia.png redhat-sound_video.png
ln -s ../../../gnome/$i/apps/applications-accessories.png redhat-accessories.png
ln -s ../../../gnome/$i/apps/applications-graphics.png redhat-graphics.png
ln -s ../../../gnome/$i/apps/applications-internet.png redhat-internet.png
ln -s ../../../gnome/$i/apps/applications-office.png redhat-office.png
ln -s ../../../gnome/$i/apps/applications-games.png redhat-games.png
ln -s ../../../gnome/$i/apps/preferences-desktop.png redhat-preferences.png
ln -s ../../../gnome/$i/apps/preferences-system.png redhat-system_settings.png
ln -s ../../../gnome/$i/apps/preferences-system.png redhat-server_settings.png
ln -s ../../../gnome/$i/apps/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
%clean
@ -70,6 +74,9 @@ done
%{_datadir}/pkgconfig/gnome-icon-theme.pc
%changelog
* Wed Oct 4 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0.1-2
- Fix broken symlinks (#208399)
* Mon Sep 4 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0.1-1
- Update to 2.16.0.1

Loading…
Cancel
Save