1 # 2 # spec file for package gnome-terminal 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: yippi 9 # 10 Name: gnome-terminal 11 License: GPL 12 Group: System/GUI/GNOME 13 Version: 2.16.1 14 Release: 1 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: GNOME Terminal 18 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2 19 Source1: gnome-terminal.1.gz 20 Patch1: gnome-terminal-01-encodings.diff 21 Patch2: gnome-terminal-02-menu-entry.diff 22 Patch3: gnome-terminal-03-fix-focus.diff 23 #owner:dkenny date:2006-11-22 type:bug bugster:6463098 bugzilla:342968 24 Patch4: gnome-terminal-04-window-resizing.diff 25 URL: http://www.gnome.org 26 BuildRoot: %{_tmppath}/%{name}-%{version}-build 27 Docdir: %{_defaultdocdir}/%{name} 28 Autoreqprov: on 29 Prereq: GConf 30 31 %define libglade_version 2.6.0 32 %define libgnomeui_version 2.4.0 33 %define vte_version 0.13.3 34 %define startup_notification_version 0.5 35 %define scrollkeeper_version 0.3.12 36 37 BuildRequires: libglade-devel >= %{libglade_version} 38 BuildRequires: libgnomeui-devel >= %{libgnomeui_version} 39 BuildRequires: vte-devel >= %{vte_version} 40 BuildRequires: startup-notification-devel >= %{startup_notification_version} 41 BuildRequires: scrollkeeper >= %{scrollkeeper_version} 42 Requires: libglade >= %{libglade_version} 43 Requires: libgnomeui >= %{libgnomeui_version} 44 Requires: vte >= %{vte_version} 45 Requires: startup-notification >= %{startup_notification_version} 46 47 %description 48 GNOME Terminal application, which uses the VTE terminal emulation widget. 49 50 %prep 51 %setup -q 52 %patch1 -p1 53 %patch2 -p1 54 %patch3 -p1 55 %patch4 -p1 56 57 %build 58 %ifos linux 59 if [ -x /usr/bin/getconf ]; then 60 CPUS=`getconf _NPROCESSORS_ONLN` 61 fi 62 %else 63 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 64 %endif 65 if test "x$CPUS" = "x" -o $CPUS = 0; then 66 CPUS=1 67 fi 68 69 intltoolize --force --copy --automake 70 libtoolize --force 71 aclocal $ACLOCAL_FLAGS 72 automake -a -c -f 73 autoconf 74 75 CFLAGS="$RPM_OPT_FLAGS" \ 76 ./configure --prefix=%{_prefix} \ 77 --sysconfdir=%{_sysconfdir} 78 make -j $CPUS 79 80 %install 81 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 82 make DESTDIR=$RPM_BUILD_ROOT install 83 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 84 install -d $RPM_BUILD_ROOT%{_mandir}/man1 85 install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 86 chmod 644 $RPM_BUILD_ROOT%{_datadir}/gnome/help/gnome-terminal/*/*.xml 87 rm -rf $RPM_BUILD_ROOT/usr/var/scrollkeeper 88 89 #Copy zh_HK from zh_TW 90 #Fixes bug 4930405 91 install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES 92 install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ 93 94 95 %clean 96 rm -rf $RPM_BUILD_ROOT 97 98 %post 99 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 100 SCHEMAS="gnome-terminal.schemas" 101 for S in $SCHEMAS; do 102 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null 103 done 104 105 %files 106 %defattr (-, root, root) 107 %{_datadir}/applications/gnome-terminal.desktop 108 %{_datadir}/gnome/help/gnome-terminal 109 %{_datadir}/omf/gnome-terminal 110 %{_datadir}/locale/*/LC_MESSAGES/gnome-terminal.mo 111 %{_libdir}/bonobo/servers/gnome-terminal.server 112 %{_sysconfdir}/gconf/schemas/gnome-terminal.schemas 113 %{_datadir}/pixmaps/gnome-terminal.png 114 %{_datadir}/gnome-terminal/glade/gnome-terminal.glade2 115 %{_bindir}/gnome-terminal 116 %{_mandir}/man1/* 117 118 %changelog 119 * Wed Nov 22 2006 - darren.kenny@sun.com 120 - Backport CVS HEAD fix for bugzilla bug#342968 and bugster#6463098 121 * Tue Oct 10 2006 - padraig.obriain@sun.com 122 - Add patch gnome-terminal-03-fix-focus.diff for bug 6462305 123 * Tue Oct 03 2006 - damien.carbery@sun.com 124 - Bump to 2.16.1. 125 * Tue Sep 05 2006 - damien.carbery@sun.com 126 - Bump to 2.16.0. 127 * Tue Aug 01 2006 - damien.carbery@sun.com 128 - Bump to 2.15.4. 129 * Tue Jul 25 2006 - damien.carbery@sun.com 130 - Bump to 2.15.3. 131 * Fri Jul 21 2006 - brian.cameron@sun.com 132 - Bump to 2.15.2 for GNOME 2.15. 133 - Remove patch gnome-terminal-02-xft-pangoxft.diff as its change 134 is already present. 135 * Fri Jun 23 2006 - brian.cameron@sun.com 136 - Bump to 2.14.2. 137 * Fri May 05 2006 - glynn.foster@sun.com 138 - Move terminal to system tools rather than accessories. 139 * Mon Apr 10 2006 - damien.carbery@sun.com 140 - Bump to 2.14.1. 141 * Mon Mar 13 2006 - damien.carbery@sun.com 142 - Bump to 2.14.0. 143 * Sun Mar 5 2006 - damien.carbery@sun.com 144 - Bump to 2.13.93. 145 * Fri Feb 17 2006 - damien.carbery@sun.com 146 - Add patch, 02-xft-pangoxft, to get build info for Xrender. 147 * Mon Feb 13 2006 - damien.carbery@sun.com 148 - Bump to 2.13.91. 149 * Tue Jan 31 2006 - damien.carbery@sun.com 150 - Bump to 2.13.90. 151 * Fri Jan 20 2006 - damien.carbery@sun.com 152 - Bump to 2.13.3 153 * Tue Jan 17 2006 - damien.carbery@sun.com 154 - Bump to 2.13.2 155 * Sun Jan 15 2006 - damien.carbery@sun.com 156 - Bump to 2.13.1. 157 * Sat Jan 07 2006 - damien.carbery@sun.com 158 - Call intltoolize to process intltool-update/merge. 159 * Tue Dec 20 2005 - dermot.mccluskey@sun.com 160 - Bump to 2.13.0 161 * Tue Nov 29 2005 - laca.com 162 - remove javahelp stuff 163 * Sat Sep 17 2005 - glynn.foster@sun.com 164 - Bump to 2.12.0 165 * Mon Sep 05 2005 - damien.carbery@sun.com 166 - Bump to 2.11.3. 167 * Mon Aug 15 2005 - damien.carbery@sun.com 168 - Bump to 2.11.2. 169 * Fri May 13 2005 - balamurali.viswanathan@wipro.com 170 - Bump 2.10.1 171 * Tue Jan 25 2005 - damien.carbery@sun.com 172 - Incorporate Linux specific docs tarball from maeve.anslow@sun.com. 173 * Fri Jan 14 2005 - kazuhiko.maekawa@sun.com 174 - Updated l10n help tarball for cinnabar-linux 175 * Thu Oct 28 2004 - kazuhiko.maekawa@sun.com 176 - Updated l10n help tarball and added pt_BR 177 * Wed Aug 25 2004 - Kazuhiko.Maekawa@sun.com 178 - Updated l10n help contents with patch 179 * Mon Aug 16 2004 - damien.carbery@sun.com 180 - Updated /usr/share/gnome/help/gnome-terminal/*/*.xml to 0644 for Solaris 181 integration. 182 * Thu Aug 05 2004 damien.carbery@sun.com 183 - Incorporate new docs tarball from breda.mccolgan@sun.com. 184 * Thu Jul 08 2004 - damien.donlon@sun.com 185 - Updated l10n content to gnome-terminal-l10n-po-1.2.tar.bz2 186 * Wed Jul 07 2004 - dermot.mccluskey@sun.com 187 - added "-j $CPUS" to make to speed up builds 188 * Fri Jun 25 2004 muktha.narayan@wipro.com 189 - Modified gnome-terminal-04-encodings.diff to correct the 190 encoding names. 191 * Wed Jun 09 2004 muktha.narayan@wipro.com 192 - Added gnome-terminal-04-encodings.diff to fix the problem of 193 encodings not being listed on Solaris. Bug #5043182. 194 Uploaded the patch in bugzilla - bug #144000. 195 * Wed Jun 02 2004 damien.carbery@sun.com 196 - Incorporate new docs tarball from breda.mccolgan@sun.com. 197 * Tue May 25 2004 - yuriy.kuznetsov@sun.com 198 - Added gnome-terminal-03-g11n-potfiles.diff 199 * Wed May 12 2004 - damien.donlon@sun.com 200 - Updated l10n content to gnome-terminal-l10n-po-1.1.tar.bz2 201 * Fri May 07 2004 - matt.keenan@sun.com 202 - Updated tarball to 2.6.1 203 * Sun Apr 18 2004 - laca@sun.com 204 - enable javahelp conversion on Solaris 205 * Fri Apr 02 2004 - ghee.teo@sun.com 206 - Updated tarball to 2.6.0 207 * Thu Apr 01 2004 - matt.keenan@sun.com 208 - Javahelp conversion 209 * Mon Mar 29 2004 - damien.donlon@sun.com 210 - Updated l10n content to gnome-terminal-l10n-po-1.0.tar.bz2 211 * Tue Mar 16 2004 - takao.fujiwara@sun.com 212 - Added gnome-terminal-01-g11n-schemas.diff to fix 4980332 213 - Added gnome-terminal-02-g11n-potfiles.diff 214 * Wed Feb 18 2004 - <matt.keenan@sun.com> 215 - Bump to 2.5.5 216 * Tue Dec 16 2003 - <glynn.foster@sun.com> 217 - Bump to 2.5.1 218 * Fri Oct 31 2003 - <glynn.foster@sun.com> 219 - Remove the Sun Supported keyword, since we're removing 220 Extras now. 221 * Fri Oct 17 2003 - <ghee.teo (at] sun.com> 222 - Upgraded to 2.4.0 for Quicksilver build. 223 removed patch gnome-terminal-01-config-add-1l0n-help.diff 224 and modified patch gnome-terminal-02-menu-entry.diff 225 to make it gnome-terminal-01-menu-entry.diff 226 * Fri Sep 26 2003 Laszlo Peter <laca (at] sun.com> 227 - Intergate Sun docs 228 * Tue Aug 26 2003 Michael Twomey <michael.twomey (at] sun.com> 229 - Updated to 0.2 l10n docs tarball to fix seriesid issues. 230 - Added GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL to make install. 231 * Fri Aug 01 2003 - glynn.foster (at] sun.com 232 - Add supported menu category 233 * Fri Jul 25 2003 - niall.power (at] sun.com 234 - uses scrollkeeper for postinstall - add a dependency 235 * Wed Jul 09 2003 - <michael.twomey (at] sun.com> 236 - add in sun po files 237 * Wed May 14 2003 - ghee.teo (at] Sun.COM 238 - Created new spec file for gnome-terminal 239 240