Blob Blame History Raw
Summary: Base gnome icons
Name: gnome-icon-theme
Version: 2.12.0
Release: 1
Source0: %{name}-%{version}.tar.bz2
Source1: external-icons-2.10.1-2.tar.gz
License: GPL
BuildArch: noarch
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-root
Requires: hicolor-icon-theme
Prereq: gtk2 >= 2.6.2

%description
Contains the base icons needed by the Gnome desktop environment.

%prep
%setup -q

%build
%configure --disable-hicolor-check

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

#install the extra icons
tar xzvf %{SOURCE1}
cd external-icons
cp -rf 16x16 $RPM_BUILD_ROOT%{_datadir}/icons/gnome/
cp -rf 24x24 $RPM_BUILD_ROOT%{_datadir}/icons/gnome/
cp -rf 32x32 $RPM_BUILD_ROOT%{_datadir}/icons/gnome/
cp -rf 48x48 $RPM_BUILD_ROOT%{_datadir}/icons/gnome/
cp -rf hicolor $RPM_BUILD_ROOT%{_datadir}/icons/

## remove these bogus files
rm -rf $RPM_BUILD_ROOT/usr/share/locale/*

## create symlinks so the gnome theme covers some extra icons we've added
cd $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps

ln -s gnome-util.png redhat-accessories.png
#ln -s %{_datadir}/pixmaps/.png redhat-extras.png
ln -s gnome-joystick.png redhat-games.png
ln -s gnome-graphics.png redhat-graphics.png
ln -s ../../../../pixmaps/gnome-home.png redhat-home.png
ln -s gnome-globe.png redhat-internet.png
ln -s gnome-desktop-config.png redhat-preferences.png
ln -s gnome-applications.png redhat-office.png
ln -s gnome-devel.png redhat-programming.png
ln -s gnome-server-config.png redhat-server_settings.png
ln -s gnome-multimedia.png redhat-sound_video.png
ln -s gnome-starthere.png redhat-starthere.png
ln -s gnome-system-config.png redhat-system_settings.png
ln -s gnome-system.png redhat-system_tools.png
#ln -s %{_datadir}/pixmaps/.png redhat-tools.png

cd $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/filesystems

rm -f gnome-fs-locally-shared.png
rm -f gnome-fs-share-private.png
ln -s ../stock/net/stock_shared-by-me.png gnome-fs-locally-shared.png
ln -s ../stock/net/stock_shared-to-me.png gnome-fs-share-private.png

cd $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/filesystems

rm -f gnome-fs-locally-shared.png rm -f gnome-fs-share-private.png
ln -s ../stock/net/stock_shared-by-me.png gnome-fs-locally-shared.png
ln -s ../stock/net/stock_shared-to-me.png gnome-fs-share-private.png

mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig/
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gnome-icon-theme.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig

%clean
rm -rf $RPM_BUILD_ROOT

%post 
for dir in /usr/share/icons/*; do 
  if test -d "$dir"; then
    /usr/bin/gtk-update-icon-cache --quiet $dir 
  fi
done

%files
%defattr(-,root,root)
%{_datadir}/icons/gnome
%{_datadir}/icons/hicolor
%{_datadir}/pkgconfig/gnome-icon-theme.pc

%changelog
* Thu Sep  8 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.0-1
- update to 2.12.0

* Fri Jul 08 2005 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-6
- update the redone icons with new ones from dfong

* Tue Jul 05 2005 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-5
- replace some upstream icons with redone ones 

* Wed Apr 13 2005 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-4
- Fix redhat-office link

* Wed Apr 13 2005 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-3
- More relative symlink fixes

* Tue Apr 12 2005 Matthias Clasen <mclasen@redhat.com> - 2.10.1-2
- Use relative symlinks instead of absolute ones, 
  which the build system no longer accepts.

* Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> - 2.10.1-1
- Update to upstream version 2.10.1

* Thu Mar 17 2005 John (J5) Palmieri <johnp@redhat.com> - 2.9.92-1
- Update to upstream version 2.9.92

* Sun Mar  7 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.91-2
- Fix %%post 

* Wed Feb  9 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.91-1
- Update to 2.9.91

* Fri Feb  4 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-3
- Silence %%post

* Fri Jan 28 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-2
- Prereq gtk2 since we use gtk-update-icon-cache in %%post

* Thu Jan 27 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
- Update to 2.9.90
- Update icon caches in %%post

* Wed Sep 22 2004 Alexander Larsson <alexl@redhat.com> - 2.8.0-1
- Update to 2.8.0

* Wed Sep  1 2004 Alexander Larsson <alexl@redhat.com> - 2.7.90-2
- Import copies of fallback icon in other packages (#128800, #114534)

* Tue Aug 31 2004 Alex Larsson <alexl@redhat.com> 2.7.90-1
- update to 2.7.90

* Wed Aug  4 2004 Owen Taylor <otaylor@redhat.com> - 1.3.6-1
- Update to 1.3.6

* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Thu Apr  1 2004 Alex Larsson <alexl@redhat.com> 1.2.0-1
- update to 1.2.0

* Wed Mar 10 2004 Alexander Larsson <alexl@redhat.com> 1.1.90-1
- update to 1.1.90

* Wed Mar  3 2004 Alexander Larsson <alexl@redhat.com> 1.1.8-2
- remove redhat-main-menu symlink (#100407)

* Mon Feb 23 2004 Alexander Larsson <alexl@redhat.com> 1.1.8-1
- update to 1.1.8

* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Mon Jan 19 2004 Alexander Larsson <alexl@redhat.com> 1.1.5-1
- 1.1.5
- Removed hidden patch. Why should gnome not be visible?
  Its not like you don't see all the kde themes from Gnome, and
  they don't work well in Gnome.

* Thu Oct  9 2003 Alexander Larsson <alexl@redhat.com> 1.0.9-2
- Fix symlinks for redhat menu icons

* Fri Oct  3 2003 Alexander Larsson <alexl@redhat.com> 1.0.9-1
- update to 1.0.9

* Tue Jul 15 2003 Matt Wilson <msw@redhat.com> 1.0.6-1
- update to 1.0.6

* Wed Jul  9 2003 Alexander Larsson <alexl@redhat.com> 1.0.5-1.E
- Rebuild

* Tue Jul  1 2003 Alexander Larsson <alexl@redhat.com> 1.0.5-1
- Update to 1.0.5

* Fri Jun 13 2003 Elliot Lee <sopwithredhat.com> 1.0.2-3
- Update evolution icon link again

* Fri May 16 2003 Alexander Larsson <alexl@redhat.com> 1.0.2-2
- Update evolution icon link (#90050)

* Mon Mar 31 2003 Alexander Larsson <alexl@redhat.com> 1.0.2-1
- Update to 1.0.2

* Sun Feb 16 2003 Than Ngo <than@redhat.com> 1.0.0-4
- remove kde hicolor patch, it's not required anymore
- add patch to make gnome icon theme hidden in KDE

* Mon Feb 10 2003 Alexander Larsson <alexl@redhat.com> 1.0.0-3
- inherit from hicolor to make kde work

* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt

* Tue Jan 21 2003 Alexander Larsson <alexl@redhat.com> 1.0.0-1
- Update to 1.0.0

* Fri Jan 17 2003 Havoc Pennington <hp@redhat.com> 0.1.5-2
- make the gnome theme contain some symlinks to cover 
  the redhat-*.png names

* Mon Dec 16 2002 Alexander Larsson <alexl@redhat.com> 0.1.5-1
- Update to 0.1.5

* Wed Dec  4 2002 Alexander Larsson <alexl@redhat.com> 0.1.3-1
- Initial build.