cvsdist ab9945b
Summary: Base gnome icons
cvsdist ab9945b
Name: gnome-icon-theme
07971ed
Version: 2.17.5
d43a059
Release: 1%{?dist}
cvsdist ab9945b
Source0: %{name}-%{version}.tar.bz2
cvsdist ab9945b
License: GPL
cvsdist ab9945b
BuildArch: noarch
cvsdist ab9945b
Group: User Interface/Desktops
7082f76
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
09ad8d8
BuildRequires: icon-naming-utils >= 0.8.1
2939e12
BuildRequires: perl-XML-Parser
639aee4
BuildRequires: pkgconfig
f1f2f90
BuildRequires: gettext
2d12d24
BuildRequires: librsvg2
cvsdist d9ca842
Requires: hicolor-icon-theme
09ad8d8
Requires: pkgconfig
4af2d27
Prereq: gtk2 >= 2.6.2
cvsdist ab9945b
cvsdist ab9945b
%description
cvsdist ab9945b
Contains the base icons needed by the Gnome desktop environment.
cvsdist ab9945b
cvsdist ab9945b
%prep
cvsdist ab9945b
%setup -q
cvsdist ab9945b
cvsdist ab9945b
%build
cvsdist d9ca842
%configure --disable-hicolor-check
cvsdist ab9945b
cvsdist ab9945b
%install
cvsdist ab9945b
rm -rf $RPM_BUILD_ROOT
76a1cdc
make install DESTDIR=$RPM_BUILD_ROOT
327bd64
cvsdist ab9945b
## remove these bogus files
cvsdist ab9945b
rm -rf $RPM_BUILD_ROOT/usr/share/locale/*
cvsdist ab9945b
dc198bc
rm -rf $RPM_BUILD_ROOT/usr/share/icons/gnome/*/apps/susehelpcenter.*
dc198bc
7a42747
## correct some bogus symlinks created by icon-naming-utils
7a42747
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217090
7a42747
rm $RPM_BUILD_ROOT/usr/share/icons/gnome/*/emblems/stock_mail-priority-high.*
7a42747
for i in 16x16 24x24; do
7a42747
  pushd $RPM_BUILD_ROOT/usr/share/icons/gnome/$i/stock/net
7a42747
  ln -s ../../emblems/emblem-important.png stock_mail-priority-high.png
7a42747
  popd
7a42747
done
7a42747
7a42747
2d12d24
## create some missing icons
2d12d24
cd $RPM_BUILD_ROOT%{_datadir}/icons/gnome
2d12d24
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/gnome/48x48/places
2d12d24
rsvg-convert -h 48 -w 48 scalable/categories/applications-accessories.svg -o 48x48/categories/applications-accessories.png 
2d12d24
rsvg-convert -h 48 -w 48 scalable/categories/applications-games.svg -o 48x48/categories/applications-games.png 
2d12d24
rsvg-convert -h 48 -w 48 scalable/categories/applications-internet.svg -o 48x48/categories/applications-internet.png 
2d12d24
rsvg-convert -h 48 -w 48 scalable/categories/applications-development.svg -o 48x48/categories/applications-development.png 
2d12d24
rsvg-convert -h 48 -w 48 scalable/categories/preferences-system.svg -o 48x48/categories/preferences-system.png 
2d12d24
rsvg-convert -h 48 -w 48 scalable/places/start-here.svg -o 48x48/places/start-here.png 
2d12d24
a38da3c
## create symlinks so the all icon themes know some extra icons we've added
8882508
for i in 48x48 24x24; do 
a38da3c
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps
a38da3c
cd $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps
cvsdist ab9945b
2d12d24
ln -s ../../../gnome/$i/categories/applications-development.png redhat-programming.png
2d12d24
ln -s ../../../gnome/$i/categories/applications-multimedia.png redhat-sound_video.png
2d12d24
ln -s ../../../gnome/$i/categories/applications-accessories.png redhat-accessories.png
2d12d24
ln -s ../../../gnome/$i/categories/applications-graphics.png redhat-graphics.png
2d12d24
ln -s ../../../gnome/$i/categories/applications-internet.png redhat-internet.png
2d12d24
ln -s ../../../gnome/$i/categories/applications-office.png redhat-office.png
2d12d24
ln -s ../../../gnome/$i/categories/applications-games.png redhat-games.png
2d12d24
ln -s ../../../gnome/$i/categories/preferences-desktop.png redhat-preferences.png
2d12d24
ln -s ../../../gnome/$i/categories/preferences-system.png redhat-system_settings.png
2d12d24
ln -s ../../../gnome/$i/categories/preferences-system.png redhat-server_settings.png
2d12d24
ln -s ../../../gnome/$i/categories/preferences-system.png redhat-system_tools.png
dc198bc
ln -s ../../../gnome/$i/places/start-here.png redhat-starthere.png
dc198bc
ln -s ../../../gnome/$i/places/user-home.png redhat-home.png
dc198bc
a38da3c
done
b9e7a4f
cvsdist ab9945b
%clean
cvsdist ab9945b
rm -rf $RPM_BUILD_ROOT
cvsdist ab9945b
bfb8f4c
%post 
bfb8f4c
for dir in /usr/share/icons/*; do 
7d8eac3
  if test -d "$dir"; then
3afd7bd
    if test -f "$dir/index.theme"; then
e4a6a4f
      /usr/bin/gtk-update-icon-cache --quiet "$dir" 
3afd7bd
    fi
7d8eac3
  fi
bfb8f4c
done
bfb8f4c
cvsdist ab9945b
%files
cvsdist ab9945b
%defattr(-,root,root)
cvsdist ab9945b
%{_datadir}/icons/gnome
2fd8dc1
%{_datadir}/icons/hicolor
cvsdist d9ca842
%{_datadir}/pkgconfig/gnome-icon-theme.pc
cvsdist ab9945b
cvsdist ab9945b
%changelog
07971ed
* Wed Jan 10 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.5-1
07971ed
- Update to 2.17.5
07971ed
c54dd3c
* Wed Dec 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.4.1-1
c54dd3c
- Update to 2.17.4.1
c54dd3c
7082f76
* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.4-1
7082f76
- Update to 2.17.4
7082f76
d43a059
* Tue Dec  5 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.3-1
d43a059
- Update to 2.17.3
d43a059
7a42747
* Tue Nov 28 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2.1-2
7a42747
- Fix duplicate emblems in nautilus (#217090)
7a42747
6adc90e
* Sun Nov 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2.1-1
6adc90e
- Update to 2.17.2.1
6adc90e
4608f50
* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
4608f50
- Update to 2.17.2
4608f50
dc198bc
* Wed Oct  4 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0.1-2
dc198bc
- Fix broken symlinks (#208399)
dc198bc
b1f10be
* Mon Sep  4 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0.1-1
b1f10be
- Update to 2.16.0.1
b1f10be
a0bf1c6
* Sun Sep  3 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-1
a0bf1c6
- Update to 2.16.0
a0bf1c6
c2bf6ee
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> 2.15.92-1.fc6
c2bf6ee
- Update to 2.15.92
09ad8d8
- Require pkgconfig
c2bf6ee
10cca4c
* Sat Aug 12 2006 Matthias Clasen <mclasen@redhat.com> 2.15.91-1.fc6
10cca4c
- Update to 2.15.91
10cca4c
fa61dea
* Thu Aug  2 2006 Matthias Clasen <mclasen@redhat.com> 2.15.90-1.fc6
fa61dea
- Update to 2.15.90
fa61dea
8c81f76
* Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> 2.15.3-1
8c81f76
- Update to 2.15.3
8c81f76
e4a6a4f
* Wed Jun  7 2006 Matthias Clasen <mclasen@redhat.com> 2.15.2-3
e4a6a4f
- Fix a problem in %%post (#194323)
e4a6a4f
2939e12
* Tue Jun  6 2006 Matthias Clasen <mclasen@redhat.com> 2.15.2-2
2939e12
- Add BuildRequires for perl-XML-Parser
2939e12
3faa8d7
* Tue May 16 2006 Matthias Clasen <mclasen@redhat.com> 2.15.2-1
3faa8d7
- Update to 2.15.2
3faa8d7
04ebf4b
* Tue May  9 2006 Matthias Clasen <mclasen@redhat.com> 2.15.1-1
04ebf4b
- Update to 2.15.1
04ebf4b
ff0542d
* Wed Mar 22 2006 Matthias Clasen <mclasen@redhat.com> 2.14.2-2
ff0542d
- Update to 2.14.2
ff0542d
- Add symlinks to make application/xml work
ff0542d
a6968b4
* Sat Feb 25 2006 Matthias Clasen <mclasen@redhat.com> 2.14.1-1
a6968b4
- Update to 2.14.1
a6968b4
8882508
* Wed Feb 15 2006 Matthias Clasen <mclasen@redhat.com> 2.14.0-2
8882508
- Add small epiphany icon (again!!)
8882508
76a1cdc
* Sun Feb 12 2006 Ray Strode <rstrode@redhat.com> 2.14.0-1
76a1cdc
- Update to 2.14.0
76a1cdc
06085f0
* Thu Feb  9 2006 Matthias Clasen <mclasen@redhat.com> 2.13.7-4
06085f0
- Add better shutdown icon
06085f0
04ef6f1
* Thu Feb  9 2006 Matthias Clasen <mclasen@redhat.com> 2.13.7-3
04ef6f1
- Add the spinner back
04ef6f1
a38da3c
* Tue Feb  7 2006 Matthias Clasen <mclasen@redhat.com> 2.13.7-2
a38da3c
- Add back some icons that went missing
a38da3c
- Fix redhat- symlinks that were broken since FC1
a38da3c
9f22259
* Mon Feb  6 2006 Matthias Clasen <mclasen@redhat.com> 2.13.7-1
9f22259
- Update to 2.13.7
9f22259
66418ff
* Mon Jan 23 2006 Matthias Clasen <mclasen@redhat.com> 2.13.5.1-2
66418ff
- Fix a typo in index.theme
66418ff
c9ebda4
* Tue Jan 17 2006 Matthias Clasen <mclasen@redhat.com> 2.13.5.1-1
c9ebda4
- Update to 2.13.5.1
c9ebda4
- BuildRequire icon-naming-utils
1c1d9cd
8aa85ab
* Tue Jan 03 2006 Matthias Clasen <mclasen@redhat.com> 2.13.4-1
8aa85ab
- Update to 2.13.4
8aa85ab
a4ab629
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
a4ab629
- rebuilt
a4ab629
1784bfa
* Fri Dec  2 2005 Matthias Clasen <mclasen@redhat.com> - 2.13.2-1
1784bfa
- Update to 2.13.2
1784bfa
90397e5
* Thu Oct  6 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.1-2
90397e5
- Update to 2.12.1
90397e5
3afd7bd
* Sat Oct  1 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.0-2
3afd7bd
- Only call gtk-update-icon-cache on directories which have a
3afd7bd
  theme index file
3afd7bd
189f54c
* Thu Sep  8 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.0-1
189f54c
- update to 2.12.0
189f54c
2f8c9fc
* Fri Jul 08 2005 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-6
2f8c9fc
- update the redone icons with new ones from dfong
2f8c9fc
327bd64
* Tue Jul 05 2005 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-5
327bd64
- replace some upstream icons with redone ones 
327bd64
2b47f33
* Wed Apr 13 2005 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-4
2b47f33
- Fix redhat-office link
2b47f33
b9e7a4f
* Wed Apr 13 2005 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-3
b9e7a4f
- More relative symlink fixes
b9e7a4f
f5ee2c0
* Tue Apr 12 2005 Matthias Clasen <mclasen@redhat.com> - 2.10.1-2
f5ee2c0
- Use relative symlinks instead of absolute ones, 
f5ee2c0
  which the build system no longer accepts.
f5ee2c0
b61ea06
* Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> - 2.10.1-1
b61ea06
- Update to upstream version 2.10.1
b61ea06
bb3fa25
* Thu Mar 17 2005 John (J5) Palmieri <johnp@redhat.com> - 2.9.92-1
bb3fa25
- Update to upstream version 2.9.92
bb3fa25
7d8eac3
* Sun Mar  7 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.91-2
7d8eac3
- Fix %%post 
7d8eac3
27421da
* Wed Feb  9 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.91-1
27421da
- Update to 2.9.91
27421da
4af2d27
* Fri Feb  4 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-3
4af2d27
- Silence %%post
4af2d27
388fefb
* Fri Jan 28 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-2
388fefb
- Prereq gtk2 since we use gtk-update-icon-cache in %%post
388fefb
bfb8f4c
* Thu Jan 27 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
bfb8f4c
- Update to 2.9.90
bfb8f4c
- Update icon caches in %%post
bfb8f4c
2c3b9b8
* Wed Sep 22 2004 Alexander Larsson <alexl@redhat.com> - 2.8.0-1
2c3b9b8
- Update to 2.8.0
2c3b9b8
cvsdist 5ba80b5
* Wed Sep  1 2004 Alexander Larsson <alexl@redhat.com> - 2.7.90-2
cvsdist 5ba80b5
- Import copies of fallback icon in other packages (#128800, #114534)
cvsdist 5ba80b5
cvsdist 18d8159
* Tue Aug 31 2004 Alex Larsson <alexl@redhat.com> 2.7.90-1
cvsdist 18d8159
- update to 2.7.90
cvsdist 18d8159
cvsdist b4b649f
* Wed Aug  4 2004 Owen Taylor <otaylor@redhat.com> - 1.3.6-1
cvsdist b4b649f
- Update to 1.3.6
cvsdist b4b649f
cvsdist b4b649f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist b4b649f
- rebuilt
cvsdist b4b649f
cvsdist aea7a87
* Thu Apr  1 2004 Alex Larsson <alexl@redhat.com> 1.2.0-1
cvsdist aea7a87
- update to 1.2.0
cvsdist aea7a87
cvsdist aa34f2d
* Wed Mar 10 2004 Alexander Larsson <alexl@redhat.com> 1.1.90-1
cvsdist aa34f2d
- update to 1.1.90
cvsdist aa34f2d
cvsdist aa34f2d
* Wed Mar  3 2004 Alexander Larsson <alexl@redhat.com> 1.1.8-2
cvsdist aa34f2d
- remove redhat-main-menu symlink (#100407)
cvsdist aa34f2d
cvsdist aa34f2d
* Mon Feb 23 2004 Alexander Larsson <alexl@redhat.com> 1.1.8-1
cvsdist aa34f2d
- update to 1.1.8
cvsdist aa34f2d
cvsdist aa34f2d
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist aa34f2d
- rebuilt
cvsdist aa34f2d
cvsdist d9ca842
* Mon Jan 19 2004 Alexander Larsson <alexl@redhat.com> 1.1.5-1
cvsdist d9ca842
- 1.1.5
cvsdist d9ca842
- Removed hidden patch. Why should gnome not be visible?
cvsdist d9ca842
  Its not like you don't see all the kde themes from Gnome, and
cvsdist d9ca842
  they don't work well in Gnome.
cvsdist d9ca842
cvsdist a7964c0
* Thu Oct  9 2003 Alexander Larsson <alexl@redhat.com> 1.0.9-2
cvsdist a7964c0
- Fix symlinks for redhat menu icons
cvsdist a7964c0
cvsdist a7964c0
* Fri Oct  3 2003 Alexander Larsson <alexl@redhat.com> 1.0.9-1
cvsdist a7964c0
- update to 1.0.9
cvsdist a7964c0
cvsdist a7964c0
* Tue Jul 15 2003 Matt Wilson <msw@redhat.com> 1.0.6-1
cvsdist a7964c0
- update to 1.0.6
cvsdist a7964c0
cvsdist a7964c0
* Wed Jul  9 2003 Alexander Larsson <alexl@redhat.com> 1.0.5-1.E
cvsdist a7964c0
- Rebuild
cvsdist a7964c0
cvsdist a7964c0
* Tue Jul  1 2003 Alexander Larsson <alexl@redhat.com> 1.0.5-1
cvsdist a7964c0
- Update to 1.0.5
cvsdist a7964c0
cvsdist a7964c0
* Fri Jun 13 2003 Elliot Lee <sopwithredhat.com> 1.0.2-3
cvsdist a7964c0
- Update evolution icon link again
cvsdist a7964c0
cvsdist a7964c0
* Fri May 16 2003 Alexander Larsson <alexl@redhat.com> 1.0.2-2
cvsdist a7964c0
- Update evolution icon link (#90050)
cvsdist a7964c0
cvsdist a7964c0
* Mon Mar 31 2003 Alexander Larsson <alexl@redhat.com> 1.0.2-1
cvsdist a7964c0
- Update to 1.0.2
cvsdist a7964c0
cvsdist ab9945b
* Sun Feb 16 2003 Than Ngo <than@redhat.com> 1.0.0-4
cvsdist ab9945b
- remove kde hicolor patch, it's not required anymore
cvsdist ab9945b
- add patch to make gnome icon theme hidden in KDE
cvsdist ab9945b
cvsdist ab9945b
* Mon Feb 10 2003 Alexander Larsson <alexl@redhat.com> 1.0.0-3
cvsdist ab9945b
- inherit from hicolor to make kde work
cvsdist ab9945b
cvsdist ab9945b
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist ab9945b
- rebuilt
cvsdist ab9945b
cvsdist ab9945b
* Tue Jan 21 2003 Alexander Larsson <alexl@redhat.com> 1.0.0-1
cvsdist ab9945b
- Update to 1.0.0
cvsdist ab9945b
cvsdist ab9945b
* Fri Jan 17 2003 Havoc Pennington <hp@redhat.com> 0.1.5-2
cvsdist ab9945b
- make the gnome theme contain some symlinks to cover 
cvsdist ab9945b
  the redhat-*.png names
cvsdist ab9945b
cvsdist ab9945b
* Mon Dec 16 2002 Alexander Larsson <alexl@redhat.com> 0.1.5-1
cvsdist ab9945b
- Update to 0.1.5
cvsdist ab9945b
cvsdist ab9945b
* Wed Dec  4 2002 Alexander Larsson <alexl@redhat.com> 0.1.3-1
cvsdist ab9945b
- Initial build.