1 # 2 # spec file for package gnome-icon-theme 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner: erwannc 9 Name: gnome-icon-theme 10 License: GPL 11 Group: System/GUI/GNOME 12 BuildArchitectures: noarch 13 Version: 2.16.0.1 14 Release: 1 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: GNOME Icon Themes 18 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2 19 Source3: branded-throbber.tar.gz 20 Source4: sun_java.png 21 Patch1: gnome-icon-theme-01-sun-java-icon.diff 22 Patch2: gnome-icon-theme-02-pkgconfig-dir.diff 23 URL: http://www.gnome.org/ 24 BuildRoot: %{_tmppath}/%{name}-%{version}-build 25 Docdir: %{_defaultdocdir}/doc 26 Autoreqprov: on 27 28 %define hicolor_icon_theme_version 0.4 29 30 Requires: hicolor-icon-theme >= %{hicolor_icon_theme_version} 31 BuildRequires: intltool 32 BuildRequires: glib2 33 BuildRequires: hicolor-icon-theme >= %{hicolor_icon_theme_version} 34 BuildRequires: automake >= 1.9 35 36 %description 37 Collection of Icon Themes for the GNOME Desktop 38 39 %prep 40 %setup -q 41 gzip -dc %SOURCE3 | tar xvf - 42 cp %SOURCE4 48x48/apps/ 43 %patch1 -p1 44 %patch2 -p1 45 46 %build 47 %ifos linux 48 if [ -x /usr/bin/getconf ]; then 49 CPUS=`getconf _NPROCESSORS_ONLN` 50 fi 51 %else 52 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 53 %endif 54 if test "x$CPUS" = "x" -o $CPUS = 0; then 55 CPUS=1 56 fi 57 58 intltoolize --copy --force 59 libtoolize --force 60 aclocal $ACLOCAL_FLAGS 61 automake -a -c -f 62 autoconf 63 64 CFLAGS="$RPM_OPT_FLAGS" \ 65 ./configure --prefix=%{_prefix} \ 66 %ifos linux 67 --sysconfdir=%{_sysconfdir} 68 %else 69 --sysconfdir=%{_sysconfdir} \ 70 --disable-hicolor-check 71 %endif 72 make -j $CPUS 73 74 %install 75 make DESTDIR=$RPM_BUILD_ROOT install 76 77 %clean 78 rm -rf $RPM_BUILD_ROOT 79 80 %files 81 %defattr(-, root, root) 82 %{_datadir}/icons/gnome 83 %{_libdir}/pkgconfig/gnome-icon-theme.pc 84 85 86 %changelog 87 * Tue Sep 05 2006 - damien.carbery@sun.com 88 - Bump to 2.16.0.1. 89 * Mon Sep 04 2006 - damien.carbery@sun.com 90 - Bump to 2.16.0. 91 * Tue Aug 22 2006 - damien.carbery@sun.com 92 - Bump to 2.15.92. 93 * Tue Aug 08 2006 - damien.carbery@sun.com 94 - Bump to 2.15.91. 95 * Mon Jul 24 2006 - damien.carbery@sun.com 96 - Bump to 2.15.90. 97 * Fri Jul 21 2006 - damien.carbery@sun.com 98 - Bump to 2.15.3. Remove obsolete patch, 03-relative-symlinks. 99 * Fri May 12 2006 - laca@sun.com 100 - add patch relative-symlinks.diff for making some absolute symlinks relative 101 * Wed Mar 15 2006 - damien.carbery@sun.com 102 - Bump to 2.14.2. 103 * Sun Feb 26 2006 - damien.carbery@sun.com 104 - Bump to 2.14.1. 105 * Mon Feb 13 2006 - damien.carbery@sun.com 106 - Bump to 2.14.0. 107 - Remove obsolete patch, 03-no-script-path. 108 * Thu Feb 9 2006 - damien.carbery@sun.com 109 - Add patch, 03-no-script-path, so not set path to icon-name-mapping script. 110 * Wed Feb 8 2006 - damien.carbery@sun.com 111 - Bump to 2.13.7. 112 * Tue Jan 17 2006 - damien.carbery@sun.com 113 - Add needed intltoolize call. 114 * Sun Jan 15 2006 - damien.carbery@sun.com 115 - Bump to 2.13.4. 116 * Wed Dec 21 2005 - glynn.foster@sun.com 117 - Bump to 2.13.2. 118 * Tue Oct 11 2005 - damien.carbery@sun.com 119 - Bump to 2.12.1 120 - Add patch, gnome-icon-theme-02-pkgconfig-dir, to undo change in 2.12.1 where 121 pc file installed into /usr/share instead of /usr/lib. Maintainer queried. 122 * Sat Sep 17 2005 - glynn.foster@sun.com 123 - Bump to 2.12.0 124 * Thu Aug 25 2005 - damien.carbery@sun.com 125 - Add automake build dependency, as it will fail for earlier automake. 126 * Mon Aug 15 2005 - damien.carbery@sun.com 127 - Bump to 2.11.91. 128 * Fri May 06 2005 - glynn.foster@sun.com 129 - Bump to 2.10.1 130 * Fri Apr 08 2005 - glynn.foster@sun.com 131 - Remove panel-icons.tar.gz from the build, since we should 132 be installing these elsewhere, rather than duplicating 133 stuff. Add back sun_java.png since it's not installed 134 elsewhere. 135 * Fri Apr 08 2005 - glynn.foster (at] sun.com 136 - Remove the staroffice icons, since now the staroffice team 137 are responsible for delivering them. 138 * Mon Feb 21 2005 - calum.benson (at] sun.com 139 - Added Source5 (branded-throbber.tar.gz) to fix 6203001. 140 * Thu Feb 10 2005 - muktha.narayan (at] wipro.com 141 - Updated gnome-icon-theme-05-add-panel-icons.diff and 142 ext-sources/panelicons.tar.gz to include gnome-main-menu.png. 143 * Fri Jan 28 2005 - muktha.narayan (at] wipro.com 144 - Added gnome-icon-theme-05-add-panel-icons.diff and 145 ext-sources/panelicons.tar.gz to install panel icons 146 in order to fix #5088581. 147 * Wed Sep 29 2004 - takao.fujiwara (at] sun.com 148 - Update gnome-icon-theme-02-g11n-potfiles.diff 149 - Add gnome-icon-theme-04-g11n-icons.diff to fix 5061956 150 * Thu Jul 08 2004 - damien.donlon (at] sun.com 151 - Updated l10n content to gnome-icon-theme-l10n-po-1.2.tar.bz2 152 * Wed Jul 07 2004 - dermot.mccluskey (at] sun.com 153 - added "-j $CPUS" to make to speed up builds 154 * Tue Jun 01 2004 - danek.duvall (at] sun.com 155 - Fixed broken symlink to shellscript mimetype icon 156 * Wed May 12 2004 - damien.donlon (at] sun.com 157 - Updated l10n content to gnome-icon-theme-l10n-po-1.1.tar.bz2 158 * Mon Mar 29 2004 - damien.donlon (at] sun.com 159 - Updated l10n content to gnome-icon-theme-l10n-po-1.0.tar.bz2 160 * Thu Mar 25 2004 - niall.power (at] sun.com 161 - Bumt to 1.2.0, add proper hicolor-icon-theme dependencies 162 * Mon Mar 22 2004 - glynn.foster (at] sun.com 163 - Bump to 1.1.91, remove weird linking patch, 164 and timezone icon patch 165 * Tue Mar 16 2004 - takao.fujiwara (at] sun.com 166 - Added gnome-icon-theme-04-g11n-icon.diff to fix 4957964 167 * Mon Feb 16 2004 - <niall.power (at] sun.com> 168 - disable-hicolor-check on Solaris. It will fail. 169 - Add ACLOCAL_FLAGS to aclocal invocation 170 * Thu Feb 12 2004 - <matt.keenan (at] sun.com> 171 - Amend files to install all hicolor icons !! 172 * Wed Feb 11 2004 - <matt.keenan (at] sun.com> 173 - Patch for install data hook to use DESTDIR 174 * Tue Feb 10 2004 - <matt.keenan (at] sun.com> 175 - Bump to 1.1.6, l10n to 0.7 176 * Thu Jan 29 2004 - <dermot.mccluskey (at] sun.com> 177 - Add dependency on intltool 178 * Fri Jan 16 2004 - matt.keenan (at] sun.com 179 - Remove reference to SOURCE4 :) 180 * Fri Jan 16 2004 - glynn.foster (at] sun.com 181 - Remove the jar icon since it's gone into HEAD 182 * Tue Jan 06 2004 - niall.power@sun.com 183 - Update to 1.1.4. Fixes build breakage. 184 * Mon Dec 15 2003 - glynn.foster@sun.com 185 - Update to 1.1.3 186 * Fri Oct 10 2003 - laca@sun.com 187 - Update to 1.0.9 188 * Thu Jul 24 2003 - glynn.foster@sun.com 189 - Add jar icon 190 * Wed Jul 23 2003 - glynn.foster@sun.com 191 - New my computer icon 192 * Wed Jul 23 2003 - glynn.foster@sun.com 193 - New timezone icon 194 * Tue Jul 08 2003 - glynn.foster@sun.com 195 - New tarball, bump version, reset release 196 * Wed Jul 01 2003 - glynn.foster@sun.com 197 - New tarball, bump version, reset release 198 * Tue Jun 30 2003 - Stephen.Browne@sun.com 199 - Add pngs for StarOffice launchers and mimetypes 200 * Tue May 13 2003 - Stephen.Browne@sun.com 201 - initial release 202