author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 19973 | f05dadadf325 |
child 20342 | 393ae73665bc |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package gnome-terminal |
|
3 |
# |
|
19973 | 4 |
# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
9397 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner yippi |
9397 | 9 |
# |
16429 | 10 |
|
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16429 | 12 |
|
9397 | 13 |
%include l10n.inc |
14 |
Name: gnome-terminal |
|
18050 | 15 |
License: GPLv2 |
9397 | 16 |
Group: System/GUI/GNOME |
18204 | 17 |
Version: 2.31.3 |
9397 | 18 |
Release: 1 |
19 |
Distribution: Java Desktop System |
|
17864 | 20 |
Vendor: Gnome Community |
9397 | 21 |
Summary: GNOME Terminal |
18204 | 22 |
Source: http://download.gnome.org/sources/%{name}/2.31/%{name}-%{version}.tar.bz2 |
9400 | 23 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
12031 | 24 |
%if %build_l10n |
25 |
Source2: l10n-configure.sh |
|
26 |
%endif |
|
9397 | 27 |
#owner:yippi date:2006-05-04 type:branding |
11331 | 28 |
Patch1: gnome-terminal-01-menu-entry.diff |
9397 | 29 |
URL: http://www.gnome.org |
30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
31 |
Docdir: %{_defaultdocdir}/%{name} |
|
32 |
Autoreqprov: on |
|
33 |
Prereq: GConf |
|
34 |
||
35 |
%define libglade_version 2.6.0 |
|
36 |
%define libgnomeui_version 2.4.0 |
|
37 |
%define vte_version 0.13.3 |
|
38 |
%define startup_notification_version 0.5 |
|
39 |
%define scrollkeeper_version 0.3.12 |
|
40 |
||
41 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
42 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
43 |
BuildRequires: vte-devel >= %{vte_version} |
|
44 |
BuildRequires: startup-notification-devel >= %{startup_notification_version} |
|
45 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
46 |
Requires: libglade >= %{libglade_version} |
|
47 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
48 |
Requires: vte >= %{vte_version} |
|
49 |
Requires: startup-notification >= %{startup_notification_version} |
|
50 |
||
51 |
%description |
|
52 |
GNOME Terminal application, which uses the VTE terminal emulation widget. |
|
53 |
||
54 |
%prep |
|
55 |
%setup -q |
|
56 |
%if %build_l10n |
|
9400 | 57 |
bzcat %SOURCE1 | tar xf - |
9397 | 58 |
cd po-sun; make; cd .. |
59 |
%endif |
|
60 |
%patch1 -p1 |
|
61 |
||
62 |
# dos2unix to fix 400207. |
|
9762 | 63 |
dos2unix -ascii po/be.po po/be.po |
9397 | 64 |
|
65 |
%build |
|
66 |
%ifos linux |
|
67 |
if [ -x /usr/bin/getconf ]; then |
|
68 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
69 |
fi |
|
70 |
%else |
|
71 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
72 |
%endif |
|
73 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
74 |
CPUS=1 |
|
75 |
fi |
|
76 |
||
77 |
intltoolize --force --copy --automake |
|
12031 | 78 |
|
79 |
%if %build_l10n |
|
80 |
bash -x %SOURCE2 --enable-copyright |
|
81 |
%endif |
|
82 |
||
9397 | 83 |
libtoolize --force |
84 |
aclocal $ACLOCAL_FLAGS |
|
85 |
automake -a -c -f |
|
86 |
autoconf |
|
87 |
||
88 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
89 |
./configure --prefix=%{_prefix} \ |
|
11132 | 90 |
--sysconfdir=%{_sysconfdir} \ |
91 |
--disable-scrollkeeper |
|
9397 | 92 |
make -j $CPUS |
93 |
||
94 |
%install |
|
95 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
96 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
97 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
98 |
chmod 644 $RPM_BUILD_ROOT%{_datadir}/gnome/help/gnome-terminal/*/*.xml |
|
99 |
rm -rf $RPM_BUILD_ROOT/usr/var/scrollkeeper |
|
100 |
||
101 |
#Copy zh_HK from zh_TW |
|
102 |
#Fixes bug 4930405 |
|
103 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
|
104 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
105 |
||
106 |
%clean |
|
107 |
rm -rf $RPM_BUILD_ROOT |
|
108 |
||
109 |
%post |
|
110 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
111 |
SCHEMAS="gnome-terminal.schemas" |
|
112 |
for S in $SCHEMAS; do |
|
113 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
114 |
done |
|
115 |
||
116 |
%files |
|
117 |
%defattr (-, root, root) |
|
118 |
%{_datadir}/applications/gnome-terminal.desktop |
|
119 |
%{_datadir}/gnome/help/gnome-terminal |
|
120 |
%{_datadir}/omf/gnome-terminal |
|
121 |
%{_datadir}/locale/*/LC_MESSAGES/gnome-terminal.mo |
|
122 |
%{_libdir}/bonobo/servers/gnome-terminal.server |
|
123 |
%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas |
|
124 |
%{_datadir}/pixmaps/gnome-terminal.png |
|
125 |
%{_datadir}/gnome-terminal/glade/gnome-terminal.glade2 |
|
126 |
%{_bindir}/gnome-terminal |
|
127 |
%{_mandir}/man1/* |
|
128 |
||
129 |
%changelog |
|
18204 | 130 |
* Mon Jul 5 2010 - [email protected] |
131 |
- Bump to 2.31.3. |
|
18153 | 132 |
* Mon Jun 21 2010 - [email protected] |
133 |
- Bump to 2.30.2. |
|
18120 | 134 |
* Fri Jun 11 2010 - [email protected] |
135 |
- Add patch gnome-terminal-02-encoding.diff to fix doo bug #16186. |
|
17933 | 136 |
* Mon Apr 26 2010 - [email protected] |
137 |
- Bump to 2.30.1. |
|
17781 | 138 |
* Tue Mar 30 2010 - [email protected] |
139 |
- Bump to 2.30.0. |
|
17699 | 140 |
* Sat Mar 13 2010 - [email protected] |
141 |
- Bump to 2.29.92. |
|
17378 | 142 |
* Mon Jan 18 2010 - [email protected] |
17394 | 143 |
- Bump to 2.29.6. |
144 |
* Mon Jan 18 2010 - [email protected] |
|
17378 | 145 |
- Bump to 2.29.1. |
16818 | 146 |
* Tue Oct 20 2009 - [email protected] |
147 |
- Bump to 2.28.1. |
|
16610 | 148 |
* Tue Sep 22 2009 - [email protected] |
149 |
- Bump to 2.28.0. |
|
16500 | 150 |
* Tue Sep 08 2009 - [email protected] |
151 |
- Bump to 2.27.92. |
|
16355 | 152 |
* Tue Aug 25 2009 - [email protected] |
153 |
- Bump to 2.27.91. |
|
16142 | 154 |
* Tue Jul 28 2009 - [email protected] |
155 |
- Bump to 2.26.3.1. |
|
15785 | 156 |
* Wed May 20 2009 - [email protected] |
157 |
- Bump to 2.26.2. |
|
15617 | 158 |
* Tue Apr 14 2009 - [email protected] |
159 |
- Bump to 2.26.1. |
|
15421 | 160 |
* Wed Mar 18 2009 - [email protected] |
161 |
- Bump to 2.26.0. |
|
15115 | 162 |
* Tue Feb 17 2009 - [email protected] |
163 |
- Bump to 2.25.91 |
|
164 |
- Removed upstreamed patch 02-gthread.diff. |
|
14945 | 165 |
* Tue Jan 20 2009 - [email protected] |
166 |
- Bump to 2.25.5. Remove upstream patch gnome-terminal-02-aa-no-xrender.diff. |
|
167 |
Add patch gnome-terminal-02-gthread.diff needed for code to compile. |
|
13742 | 168 |
* Wed Sep 24 2008 - [email protected] |
169 |
- Bump to 2.24.0. |
|
170 |
- Rework gnome-terminal-01-menu-entry.diff. |
|
13649 | 171 |
* Wed Sep 17 2008 - [email protected] |
172 |
- Add gnome-terminal-02-aa-no-xrender.diff patch so that anti-aliasing is |
|
173 |
turned on when Xrender is not present. Otherwise gnome-terminal looks |
|
174 |
really bad with Xsun, which normally doesn't have Xrender. Partially |
|
175 |
fixes bug #6712204. |
|
13347 | 176 |
* Mon Sep 01 2008 - [email protected] |
177 |
- Bumped to 2.23.91. |
|
13110 | 178 |
* Wed Aug 13 2008 - [email protected] |
179 |
- Add root-terminal.desktop according to UI spec of OpenSolaris 2008.11. |
|
13020 | 180 |
* Tue Aug 05 2008 - [email protected] |
181 |
- Bump to 2.23.6. |
|
12692 | 182 |
* Wed Jun 18 2008 - [email protected] |
183 |
- Bump to 2.23.4.2. |
|
12682 | 184 |
* Tue Jun 17 2008 - [email protected] |
12684 | 185 |
- Bump to 2.23.4.1. |
186 |
* Tue Jun 17 2008 - [email protected] |
|
12682 | 187 |
- Bump to 2.23.4. |
12601 | 188 |
* Thu Jun 05 2008 - [email protected] |
189 |
- Bump to 2.23.3.1. |
|
12570 | 190 |
* Tue Jun 03 2008 - [email protected] |
191 |
- Bump to 2.23.3. |
|
12372 | 192 |
* Tue May 27 2008 - [email protected] |
193 |
- Bump to 2.22.2. |
|
11844 | 194 |
* Tue Mar 11 2008 - [email protected] |
195 |
- Bump to 2.22.0. |
|
11742
99a669a8bfa1
Commit files missed earlier. ChangeLog entries already present.
dcarbery
parents:
11629
diff
changeset
|
196 |
* Wed Feb 27 2008 - [email protected] |
99a669a8bfa1
Commit files missed earlier. ChangeLog entries already present.
dcarbery
parents:
11629
diff
changeset
|
197 |
- Bump to 2.21.92. |
11629 | 198 |
* Wed Feb 13 2008 - [email protected] |
199 |
- Bump to 2.21.91.1. |
|
11619 | 200 |
* Tue Feb 12 2008 - [email protected] |
201 |
- Bump to 2.21.91. |
|
11563 | 202 |
* Wed Jan 30 2008 - [email protected] |
203 |
- Bump to 2.21.90. |
|
11455 | 204 |
* Tue Jan 15 2008 - [email protected] |
205 |
- Bump to 2.21.5. |
|
11350 | 206 |
* Sun Dec 23 2007 - [email protected] |
207 |
- Bump to 2.21.4 because glib 2.15.0 has been released. |
|
11337 | 208 |
* Wed Dec 19 2007 - [email protected] |
209 |
- Unbump to 2.21.3 because 2.21.4 requires glib 2.15.0 which has not yet been |
|
210 |
released. |
|
11330 | 211 |
* Tue Dec 18 2007 - [email protected] |
11331 | 212 |
- Bump to 2.21.4. Remove upstream patch 01-encodings. Rename remainder. |
11284 | 213 |
* Wed Dec 05 2007 - [email protected] |
214 |
- Bump to 2.21.3. Remove patch gnome-terminal-03-fix-focus.diff and |
|
215 |
gnome-terminal-04-window-resizing.diff. I verified that the bugster bugs |
|
216 |
#6462305 and #6463098 are no longer issues with the latest gnome-terminal, |
|
217 |
so these patches are no longer needed. |
|
11247 | 218 |
* Tue Nov 27 2007 - [email protected] |
219 |
- Bump to 2.18.3. |
|
11132 | 220 |
* Tue Nov 06 2007 - [email protected] |
221 |
- Add --disable-scrollkeeper to configure. |
|
10518 | 222 |
* Tue Sep 18 2007 - [email protected] |
223 |
- Bump to 2.18.2. |
|
9762 | 224 |
* Thu Apr 19 2007 - [email protected] |
225 |
- add -ascii option to dos2unix so that utf8 strings are not messed up |
|
9541 | 226 |
* Tue Mar 13 2007 - [email protected] |
227 |
- Bump to 2.18.0. |
|
9437 | 228 |
* Mon Mar 05 2007 - [email protected] |
229 |
- Bump to 2.17.92. |
|
9397 | 230 |
* Tue Feb 13 2007 - [email protected] |
231 |
- Add l10n tarball. |
|
232 |
* Tue Feb 13 2007 - [email protected] |
|
233 |
- Bump to 2.17.91. |
|
234 |
* Wed Jan 24 2007 - [email protected] |
|
235 |
- dos2unix be.po to fix 400207. Uncomment patch4 - reworked by dkenny. |
|
236 |
* Tue Jan 23 2007 - [email protected] |
|
237 |
- Bump to 2.17.90. Comment out patch4, asking owner (dkenny) to rework it. |
|
238 |
* Wed Nov 22 2006 - [email protected] |
|
239 |
- Backport CVS HEAD fix for bugzilla bug#342968 and bugster#6463098 |
|
240 |
* Tue Oct 10 2006 - [email protected] |
|
241 |
- Add patch gnome-terminal-03-fix-focus.diff for bug 6462305 |
|
242 |
* Tue Oct 03 2006 - [email protected] |
|
243 |
- Bump to 2.16.1. |
|
244 |
* Tue Sep 05 2006 - [email protected] |
|
245 |
- Bump to 2.16.0. |
|
246 |
* Tue Aug 01 2006 - [email protected] |
|
247 |
- Bump to 2.15.4. |
|
248 |
* Tue Jul 25 2006 - [email protected] |
|
249 |
- Bump to 2.15.3. |
|
250 |
* Fri Jul 21 2006 - [email protected] |
|
251 |
- Bump to 2.15.2 for GNOME 2.15. |
|
252 |
- Remove patch gnome-terminal-02-xft-pangoxft.diff as its change |
|
253 |
is already present. |
|
254 |
* Fri Jun 23 2006 - [email protected] |
|
255 |
- Bump to 2.14.2. |
|
256 |
* Fri May 05 2006 - [email protected] |
|
257 |
- Move terminal to system tools rather than accessories. |
|
258 |
* Mon Apr 10 2006 - [email protected] |
|
259 |
- Bump to 2.14.1. |
|
260 |
* Mon Mar 13 2006 - [email protected] |
|
261 |
- Bump to 2.14.0. |
|
262 |
* Sun Mar 5 2006 - [email protected] |
|
263 |
- Bump to 2.13.93. |
|
264 |
* Fri Feb 17 2006 - [email protected] |
|
265 |
- Add patch, 02-xft-pangoxft, to get build info for Xrender. |
|
266 |
* Mon Feb 13 2006 - [email protected] |
|
267 |
- Bump to 2.13.91. |
|
268 |
* Tue Jan 31 2006 - [email protected] |
|
269 |
- Bump to 2.13.90. |
|
270 |
* Fri Jan 20 2006 - [email protected] |
|
271 |
- Bump to 2.13.3 |
|
272 |
* Tue Jan 17 2006 - [email protected] |
|
273 |
- Bump to 2.13.2 |
|
274 |
* Sun Jan 15 2006 - [email protected] |
|
275 |
- Bump to 2.13.1. |
|
276 |
* Sat Jan 07 2006 - [email protected] |
|
277 |
- Call intltoolize to process intltool-update/merge. |
|
278 |
* Tue Dec 20 2005 - [email protected] |
|
279 |
- Bump to 2.13.0 |
|
280 |
* Tue Nov 29 2005 - laca.com |
|
281 |
- remove javahelp stuff |
|
282 |
* Sat Sep 17 2005 - [email protected] |
|
283 |
- Bump to 2.12.0 |
|
284 |
* Mon Sep 05 2005 - [email protected] |
|
285 |
- Bump to 2.11.3. |
|
286 |
* Mon Aug 15 2005 - [email protected] |
|
287 |
- Bump to 2.11.2. |
|
288 |
* Fri May 13 2005 - [email protected] |
|
289 |
- Bump 2.10.1 |
|
290 |
* Tue Jan 25 2005 - [email protected] |
|
291 |
- Incorporate Linux specific docs tarball from [email protected]. |
|
292 |
* Fri Jan 14 2005 - [email protected] |
|
293 |
- Updated l10n help tarball for cinnabar-linux |
|
294 |
* Thu Oct 28 2004 - [email protected] |
|
295 |
- Updated l10n help tarball and added pt_BR |
|
296 |
* Wed Aug 25 2004 - [email protected] |
|
297 |
- Updated l10n help contents with patch |
|
298 |
* Mon Aug 16 2004 - [email protected] |
|
299 |
- Updated /usr/share/gnome/help/gnome-terminal/*/*.xml to 0644 for Solaris |
|
300 |
integration. |
|
301 |
* Thu Aug 05 2004 [email protected] |
|
302 |
- Incorporate new docs tarball from [email protected]. |
|
303 |
* Thu Jul 08 2004 - [email protected] |
|
304 |
- Updated l10n content to gnome-terminal-l10n-po-1.2.tar.bz2 |
|
305 |
* Wed Jul 07 2004 - [email protected] |
|
306 |
- added "-j $CPUS" to make to speed up builds |
|
307 |
* Fri Jun 25 2004 [email protected] |
|
308 |
- Modified gnome-terminal-04-encodings.diff to correct the |
|
309 |
encoding names. |
|
310 |
* Wed Jun 09 2004 [email protected] |
|
311 |
- Added gnome-terminal-04-encodings.diff to fix the problem of |
|
312 |
encodings not being listed on Solaris. Bug #5043182. |
|
313 |
Uploaded the patch in bugzilla - bug #144000. |
|
314 |
* Wed Jun 02 2004 [email protected] |
|
315 |
- Incorporate new docs tarball from [email protected]. |
|
316 |
* Tue May 25 2004 - [email protected] |
|
317 |
- Added gnome-terminal-03-g11n-potfiles.diff |
|
318 |
* Wed May 12 2004 - [email protected] |
|
319 |
- Updated l10n content to gnome-terminal-l10n-po-1.1.tar.bz2 |
|
320 |
* Fri May 07 2004 - [email protected] |
|
321 |
- Updated tarball to 2.6.1 |
|
322 |
* Sun Apr 18 2004 - [email protected] |
|
323 |
- enable javahelp conversion on Solaris |
|
324 |
* Fri Apr 02 2004 - [email protected] |
|
325 |
- Updated tarball to 2.6.0 |
|
326 |
* Thu Apr 01 2004 - [email protected] |
|
327 |
- Javahelp conversion |
|
328 |
* Mon Mar 29 2004 - [email protected] |
|
329 |
- Updated l10n content to gnome-terminal-l10n-po-1.0.tar.bz2 |
|
330 |
* Tue Mar 16 2004 - [email protected] |
|
331 |
- Added gnome-terminal-01-g11n-schemas.diff to fix 4980332 |
|
332 |
- Added gnome-terminal-02-g11n-potfiles.diff |
|
333 |
* Wed Feb 18 2004 - <[email protected]> |
|
334 |
- Bump to 2.5.5 |
|
335 |
* Tue Dec 16 2003 - <[email protected]> |
|
336 |
- Bump to 2.5.1 |
|
337 |
* Fri Oct 31 2003 - <[email protected]> |
|
338 |
- Remove the Sun Supported keyword, since we're removing |
|
339 |
Extras now. |
|
340 |
* Fri Oct 17 2003 - <[email protected]> |
|
341 |
- Upgraded to 2.4.0 for Quicksilver build. |
|
342 |
removed patch gnome-terminal-01-config-add-1l0n-help.diff |
|
343 |
and modified patch gnome-terminal-02-menu-entry.diff |
|
344 |
to make it gnome-terminal-01-menu-entry.diff |
|
345 |
* Fri Sep 26 2003 Laszlo Peter <[email protected]> |
|
346 |
- Intergate Sun docs |
|
347 |
* Tue Aug 26 2003 Michael Twomey <[email protected]> |
|
348 |
- Updated to 0.2 l10n docs tarball to fix seriesid issues. |
|
349 |
- Added GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL to make install. |
|
350 |
* Fri Aug 01 2003 - [email protected] |
|
351 |
- Add supported menu category |
|
352 |
* Fri Jul 25 2003 - [email protected] |
|
353 |
- uses scrollkeeper for postinstall - add a dependency |
|
354 |
* Wed Jul 09 2003 - <[email protected]> |
|
355 |
- add in sun po files |
|
356 |
* Wed May 14 2003 - [email protected] |
|
357 |
- Created new spec file for gnome-terminal |
|
358 |