1 # 2 # spec file for package gnome-themes 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: calumb 9 # 10 Name: gnome-themes 11 License: GPL 12 Group: System/GUI/GNOME 13 # icon-naming-utils should be bumped at the same time - it's a dependency. 14 Version: 2.16.1.1 15 Release: 3 16 Distribution: Java Desktop System 17 Vendor: Sun Microsystems, Inc. 18 Summary: GNOME themes 19 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2 20 Source1: accessibility-icons.tar.gz 21 Source2: staroffice8-accessibility-icons.tar.gz 22 #owner:calumb date:2006-11-14 23 #bugster:5072859,6255199,6484251 bugzilla:357931 type:bug 24 Patch1: gnome-themes-01-accessibility-icons.diff 25 #owner:calumb date:2005-05-27 bugster:6298139 type:bug 26 Patch2: gnome-themes-02-add-so8-a11y-icons.diff 27 #owner:damienc date:2006-07-21 bugzilla:364697 type:bug 28 Patch3: gnome-themes-03-icon-name-mapping.diff 29 URL: http://www.gnome.org/ 30 BuildRoot: %{_tmppath}/%{name}-%{version}-build 31 BuildArchitectures: noarch 32 Autoreqprov: on 33 Prereq: /sbin/ldconfig 34 35 %define gtk2_engines_version 2.2.0 36 37 BuildRequires: gtk2-engines >= %{gtk2_engines_version} 38 BuildRequires: libgnomeui-devel 39 BuildRequires: intltool 40 Requires: gtk2-engines >= %{gtk2_engines_version} 41 42 %description 43 Additional GNOME themes. 44 45 %prep 46 %setup -q 47 %patch1 -p1 48 %patch2 -p1 49 %patch3 -p1 50 gzip -dc %SOURCE1 | tar xvf - 51 gzip -dc %SOURCE2 | tar xvf - 52 53 54 %build 55 %ifos linux 56 if [ -x /usr/bin/getconf ]; then 57 CPUS=`getconf _NPROCESSORS_ONLN` 58 fi 59 %else 60 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 61 %endif 62 if test "x$CPUS" = "x" -o $CPUS = 0; then 63 CPUS=1 64 fi 65 66 glib-gettextize -f 67 libtoolize --force 68 intltoolize --copy --force --automake 69 aclocal $ACLOCAL_FLAGS 70 automake -a -c -f 71 autoconf 72 73 export CFLAGS="$RPM_OPT_FLAGS" 74 ./configure \ 75 --prefix=%{_prefix} \ 76 --libdir=%{_prefix}/%_lib \ 77 --sysconfdir=%{_sysconfdir} \ 78 --enable-all-themes 79 make -j $CPUS 80 81 %install 82 make DESTDIR=$RPM_BUILD_ROOT install 83 84 %clean 85 rm -rf $RPM_BUILD_ROOT 86 87 %post 88 /sbin/ldconfig 89 90 %postun 91 /sbin/ldconfig 92 93 %files 94 %doc AUTHORS COPYING ChangeLog NEWS README 95 %defattr(-, root, root) 96 %{_datadir}/icons/* 97 %{_datadir}/themes/* 98 %{_datadir}/locale/*/LC_MESSAGES/*.mo 99 100 %changelog 101 * Wed Nov 15 2006 - calum.benson@sun.com 102 - Add --enable-all-themes flag, as per UI spec. 103 104 * Mon Nov 14 2006 - calum.benson@sun.com 105 - Add patch owner comments to spec file, and change gnome-main-menu.png 106 to start-here.png in patch gnome-themes-01. Fixes bugzilla 357931 107 and bugster 6484251. 108 109 * Sat Oct 07 2006 - damien.carbery@sun.com 110 - Bump to 2.16.1.1. 111 112 * Mon Oct 02 2006 - damien.carbery@sun.com 113 - Bump to 2.16.1. 114 115 * Tue Sep 05 2006 - damien.carbery@sun.com 116 - Bump to 2.16.0. 117 118 * Tue Aug 22 2006 - damien.carbery@sun.com 119 - Bump to 2.15.92. 120 121 * Wed Aug 09 2006 - damien.carbery@sun.com 122 - Bump to 2.15.91.1. 123 124 * Tue Aug 08 2006 - damien.carbery@sun.com 125 - Bump to 2.15.91. 126 127 * Fri Jul 21 2006 - damien.carbery@sun.com 128 - Bump to 2.15.90. 129 130 * Fri Jul 21 2006 - damien.carbery@sun.com 131 - Bump to 2.15.4. 132 - Add patch, 01-icon-name-mapping, to remove path to icon-name-mapping. 133 134 * Fri Jun 23 2006 - brian.cameron@sun.com 135 - Bump to 2.14.2. 136 137 * Mon Mar 13 2006 - damien.carbery@sun.com 138 - Bump to 2.14.0. 139 140 * Mon Feb 27 2006 - damien.carbery@sun.com 141 - Bump to 2.13.90. 142 143 * Tue Jan 31 2006 - damien.carbery@sun.com 144 - Bump to 2.13.90. 145 146 * Wed Dec 21 2005 - damien.carbery@sun.com 147 - Bump to 2.13.2 148 149 * Tue Oct 11 2005 - damien.carbery@sun.com 150 - Bump to 2.12.1 151 152 * Sat Sep 17 2005 - glynn.foster@sun.com 153 - Bump to 2.12.0 154 155 * Mon Aug 15 2005 - damien.carbery@sun.com 156 - Bump to 2.11.91. 157 158 * Fri May 27 2005 - calum.benson@sun.com 159 - Add high contrast StarOffice8 icons, which were previously 160 installed by staroffice-menuintegration. (Any upstream version 161 of this patch should probably be tailored to OpenOffice 2.0) 162 Fixes 6273621. 163 164 * Fri May 06 2005 - glynn.foster@sun.com 165 - Bump to 2.10.1 166 167 * Wed Apr 20 2005 - calum.benson@sun.com 168 - Add high and low contrast launch menu backgrounds and spinners, 169 and fix a minor typo in patch 06 that was generating a warning. 170 Fixes 5072859, 6255199, and at the very least downgrades 171 5072848. 172 173 * Fri Apr 08 2005 - glynn.foster@sun.com 174 - Remove icons being installed into some of the icon 175 themes, when they aren't different from the original 176 hicolor theme. The correct fix was to install them into 177 hicolor theme in the panel source. 178 179 * Thu Apr 07 2005 - muktha.narayan (at] wipro.com 180 - Added gnome-themes-06-add-printer-icons.diff and 181 updated ext-sources/gnome-themes-icons.tar.gz to install 182 printer icons in order to fix #5035243. 183 184 * Wed Feb 23 2005 - calum.benson (at] sun.com 185 - Added gnome-themes-05-add-missing-hc-launch-icons.diff 186 to add some missing High Contrast and High Contrast Inverse 187 icons to the launch menu; fixes CR 6219531. 188 189 * Thu Feb 10 2005 - muktha.narayan (at] wipro.com 190 - Updated gnome-themes-04-add-panel-icons.diff and 191 ext-sources/gnome-themes-icons.tar.gz to include 192 gnome-main-menu.png. 193 194 * Fri Jan 28 2005 - muktha.narayan (at] wipro.com 195 - Added gnome-themes-04-add-panel-icons.diff and 196 ext-sources/gnome-themes-icons.tar.gz to install panel 197 icons in order to fix #5088581. 198 199 * Thu Jul 08 2004 - damien.donlon (at] sun.com 200 - Updated l10n content to gnome-themes-l10n-po-1.2.tar.bz2 201 202 * Wed Jul 07 2004 - niall.power (at] sun.com 203 - ported to rpm4 204 205 * Wed Jul 07 2004 - dermot.mccluskey (at] sun.com 206 - added "-j $CPUS" to make to speed up builds 207 208 * Fri Jun 25 2004 - hidetoshi.tajima (at] sun.com 209 - run glib-gettextize and intltoolize 210 211 * Tue Jun 8 2004 - padraig.obriain (at] sun.com 212 - Bump to 2.6.2 213 214 * Tue Jun 1 2004 - glynn.foster (at] sun.com 215 - Bump to 2.6.1 216 217 * Wed May 12 2004 - damien.donlon (at] sun.com 218 - Updated l10n content to gnome-themes-l10n-po-1.1.tar.bz2 219 220 * Mon Mar 29 2004 - damien.donlon (at] sun.com 221 - Updated l10n content to gnome-themes-l10n-po-1.0.tar.bz2 222 223 * Fri Mar 12 2004 - <niall.power (at] sun.com> 224 - remove "rm -rf" from install stage. 225 226 * Fri Feb 06 2004 - <matt.keenan (at] sun.com> 227 - Bump to 2.5.4, remove gnome-theme-02-intltool-merge.diff 228 229 * Thu Jan 29 2004 - <dermot.mccluskey (at] sun.com> 230 - add patch 02 for intltool-merge and dep. on intltool 231 232 * Mon Dec 15 2003 - glynn.foster (at] sun.com 233 - Bump to 2.5.1 234 235 * Tue Oct 20 2003 - glynn.foster (at] sun.com 236 - New tarball. Whee. 237 238 * Thu Aug 14 2003 - <laca (at] sun.com> 239 - remove *.a, *.la 240 241 * Wed Jul 09 2003 - <michael.twomey (at] sun.com> 242 - add in sun po files 243 244 * Thu Jul 03 2003 - glynn.foster (at] sun.com 245 - Actually install the engines 246 247 * Tue Jul 01 2003 - glynn.foster (at] sun.com 248 - New tarball, bump version, reset release 249 250 * Wed May 14 2003 - Stephen.Browne (at] sun.com 251 - initial release 252