You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnome-icon-theme/gnome-icon-theme.spec

238 lines
7.2 KiB

Summary: Base gnome icons
Name: gnome-icon-theme
Version: 2.13.7
Release: 3
Source0: %{name}-%{version}.tar.bz2
Source1: external-icons-2.13.7.tar.gz
Patch0: gnome-icon-theme-2.13.7-gnome-spinner.patch
License: GPL
BuildArch: noarch
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: icon-naming-utils >= 0.6.7
Requires: hicolor-icon-theme
Prereq: gtk2 >= 2.6.2
%description
Contains the base icons needed by the Gnome desktop environment.
%prep
%setup -q
%patch0 -p1 -b .gnome-spinner
%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 36x36 $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/*
for i in 48x48 24x24; do
## create symlinks so the all icon themes know some extra icons we've added
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
done
%clean
rm -rf $RPM_BUILD_ROOT
%post
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
fi
fi
done
%files
%defattr(-,root,root)
%{_datadir}/icons/gnome
%{_datadir}/icons/hicolor
%{_datadir}/pkgconfig/gnome-icon-theme.pc
%changelog
* Thu Feb 9 2006 Matthias Clasen <mclasen@redhat.com> 2.13.7-3
- Add the spinner back
* Tue Feb 7 2006 Matthias Clasen <mclasen@redhat.com> 2.13.7-2
- Add back some icons that went missing
- Fix redhat- symlinks that were broken since FC1
* Mon Feb 6 2006 Matthias Clasen <mclasen@redhat.com> 2.13.7-1
- Update to 2.13.7
* Mon Jan 23 2006 Matthias Clasen <mclasen@redhat.com> 2.13.5.1-2
- Fix a typo in index.theme
* Tue Jan 17 2006 Matthias Clasen <mclasen@redhat.com> 2.13.5.1-1
- Update to 2.13.5.1
- BuildRequire icon-naming-utils
* Tue Jan 03 2006 Matthias Clasen <mclasen@redhat.com> 2.13.4-1
- Update to 2.13.4
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Fri Dec 2 2005 Matthias Clasen <mclasen@redhat.com> - 2.13.2-1
- Update to 2.13.2
* Thu Oct 6 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.1-2
- Update to 2.12.1
* Sat Oct 1 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.0-2
- Only call gtk-update-icon-cache on directories which have a
theme index file
* 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.