author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8564 | df62c23d2955 |
child 8709 | b1d6def4fe33 |
permissions | -rw-r--r-- |
8564 | 1 |
# |
5518 | 2 |
# spec file for package vte |
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 |
# |
|
8564 | 8 |
# Owner: yippi |
9 |
# |
|
59 | 10 |
Name: vte |
156 | 11 |
License: LGPL |
223 | 12 |
Group: System/Libraries |
8248 | 13 |
Version: 0.14.1 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
575 | 16 |
Vendor: Sun Microsystems, Inc. |
223 | 17 |
Summary: Terminal Emulation Widget Library |
8063 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.14/%{name}-%{version}.tar.bz2 |
5518 | 19 |
Source1: vte.1.gz |
20 |
Source2: libvte.3.gz |
|
3100 | 21 |
Patch1: vte-01-vtefc.diff |
7509 | 22 |
Patch2: vte-02-fcconfig.diff |
23 |
Patch3: vte-03-inputmethod-spotlocation.diff |
|
24 |
Patch4: vte-04-cut-copy-paste-handle.diff |
|
7752 | 25 |
Patch5: vte-05-utf8-ambiguous.diff |
26 |
Patch6: vte-06-get-text.diff |
|
27 |
Patch7: vte-07-selection-perf-improve.diff |
|
223 | 28 |
URL: http://www.gnome.org |
59 | 29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
223 | 30 |
Docdir: %{_defaultdocdir}/doc |
156 | 31 |
AutoReqProv: on |
1080 | 32 |
Prereq: /sbin/ldconfig |
156 | 33 |
|
7686 | 34 |
%define gtk2_version 2.10.0 |
6193 | 35 |
%define python_version 2.4 |
156 | 36 |
|
224 | 37 |
Requires: gtk2 >= %{gtk2_version} |
156 | 38 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
6193 | 39 |
BuildRequires: python >= %{python_version} |
59 | 40 |
|
41 |
%description |
|
223 | 42 |
VTE is a terminal emulation widget for GTK+, used in GNOME Terminal. |
59 | 43 |
|
44 |
%package devel |
|
223 | 45 |
Summary: Terminal Emulation Widget Development Library |
46 |
Group: Development/Libraries |
|
47 |
Requires: %{name} = %{version}-%{release} |
|
224 | 48 |
Requires: gtk2-devel >= %{gtk2_version} |
59 | 49 |
|
50 |
%description devel |
|
223 | 51 |
VTE is a terminal emulation widget for GTK+, used in GNOME Terminal. |
59 | 52 |
|
53 |
%prep |
|
156 | 54 |
%setup -q |
1632 | 55 |
%patch1 -p1 |
3134
a437d393fd90
* vte.spec: Add patch to specify libglib-2.0.so in src/Makefile.am
dc144907
parents:
3120
diff
changeset
|
56 |
%patch2 -p1 |
3179 | 57 |
%patch3 -p1 |
3394 | 58 |
%patch4 -p1 |
3778 | 59 |
%patch5 -p1 |
4134 | 60 |
%patch6 -p1 |
4195 | 61 |
%patch7 -p1 |
4455 | 62 |
|
59 | 63 |
%build |
3100 | 64 |
%ifos linux |
3263 | 65 |
if [ -x /usr/bin/getconf ]; then |
66 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
67 |
fi |
|
68 |
%else |
|
3846 | 69 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 70 |
%endif |
71 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
72 |
CPUS=1 |
|
73 |
fi |
|
74 |
||
1632 | 75 |
libtoolize --force |
5518 | 76 |
aclocal $ACLOCAL_FLAGS -I . |
1632 | 77 |
autoheader |
78 |
automake -a -c -f |
|
79 |
autoconf |
|
80 |
||
223 | 81 |
CFLAGS="$RPM_OPT_FLAGS" \ |
82 |
./configure --prefix=%{_prefix} \ |
|
1693 | 83 |
--sysconfdir=%{_sysconfdir} \ |
8201 | 84 |
--datadir=%{_datadir} \ |
3723 | 85 |
--libexecdir=%{_libexecdir} \ |
8501 | 86 |
%{gtk_doc_option} |
6193 | 87 |
make -j $CPUS \ |
88 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
89 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
59 | 90 |
|
91 |
%install |
|
6193 | 92 |
make DESTDIR=$RPM_BUILD_ROOT install \ |
93 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
94 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
1445 | 95 |
#Copy zh_HK from zh_TW |
96 |
#Fixes bug 4930405 |
|
1522 | 97 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
98 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
4357 | 99 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
100 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
|
5518 | 101 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
102 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
3628 | 103 |
# Clean up unpackaged files |
104 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
105 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
6193 | 106 |
rm $RPM_BUILD_ROOT%{_libdir}/python2.4/vendor-packages/gtk-2.0/*.a |
107 |
rm $RPM_BUILD_ROOT%{_libdir}/python2.4/vendor-packages/gtk-2.0/*.la |
|
5591
8d174028da2b
* vte.spec: Add python build dependency and add python modules back into %files.
dc144907
parents:
5572
diff
changeset
|
108 |
|
59 | 109 |
|
110 |
%clean |
|
111 |
rm -rf $RPM_BUILD_ROOT |
|
112 |
||
223 | 113 |
%post |
114 |
/sbin/ldconfig |
|
59 | 115 |
|
223 | 116 |
%postun |
117 |
/sbin/ldconfig |
|
59 | 118 |
|
119 |
%files |
|
120 |
%defattr(-,root,root) |
|
5518 | 121 |
%{_bindir}/* |
122 |
%{_libdir}/*.so* |
|
156 | 123 |
%attr(2711,root,utmp) %{_libexecdir}/gnome-pty-helper |
59 | 124 |
%{_datadir}/%{name} |
1921 | 125 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
4357 | 126 |
%{_mandir}/man1/* |
127 |
%{_mandir}/man3/* |
|
59 | 128 |
|
129 |
%files devel |
|
130 |
%defattr(-,root,root) |
|
131 |
%{_datadir}/gtk-doc/html/%{name} |
|
132 |
%{_includedir}/* |
|
133 |
%{_libdir}/*.so |
|
5518 | 134 |
%dir %{_libdir}/%{name} |
135 |
%{_libdir}/%{name}/* |
|
59 | 136 |
%{_libdir}/pkgconfig/* |
6193 | 137 |
%{_libdir}/python2.4/vendor-packages/gtk-2.0/vtemodule.so |
59 | 138 |
|
139 |
%changelog |
|
8501 | 140 |
* Fri Nov 3 2006 - [email protected] |
141 |
- use %gtk_doc_option in configure so that it can be disabled using |
|
142 |
--without-gtk-doc |
|
8248 | 143 |
* Tue Oct 03 2006 - [email protected] |
144 |
- Bump to 0.14.1. |
|
8137
49d99390765c
Bugs : 6463098, 6465619 fixed by removing this patch, does not re-introduce original solaris only bug of 6193929.
mattk
parents:
8063
diff
changeset
|
145 |
* Thu Sep 14 2006 - [email protected] |
49d99390765c
Bugs : 6463098, 6465619 fixed by removing this patch, does not re-introduce original solaris only bug of 6193929.
mattk
parents:
8063
diff
changeset
|
146 |
- Remove patch vte-08-pre-edit-crash-on-close.diff, as causing |
49d99390765c
Bugs : 6463098, 6465619 fixed by removing this patch, does not re-introduce original solaris only bug of 6193929.
mattk
parents:
8063
diff
changeset
|
147 |
two bugs, 6453098, and 6465619, and removing does not re-introduce 6193929. |
8063 | 148 |
* Tue Sep 05 2006 - [email protected] |
149 |
- Bump to 0.14.0. |
|
7981 | 150 |
* Fri Aug 25 2006 - [email protected] |
8063 | 151 |
- Bump to 0.13.7. |
7939 | 152 |
* Mon Aug 21 2006 - [email protected] |
153 |
- Bump to 0.13.6. |
|
7839 | 154 |
* Tue Aug 01 2006 - [email protected] |
155 |
- Bump to 0.13.5. |
|
7749 | 156 |
* Tue Jul 25 2006 - [email protected] |
7752 | 157 |
- Remove upstream patch, 05-update-logout-record. Rename remaining. |
158 |
* Tue Jul 25 2006 - [email protected] |
|
7749 | 159 |
- Bump to 0.13.4. |
7686 | 160 |
* Fri Jul 21 2006 - [email protected] |
161 |
- Bump to 0.13.3 for gnome 2.15. |
|
162 |
- Remove patch vte-07-g11n-word-char.diff as this issue is addressed, |
|
163 |
slightly differently, in vte code. |
|
7509 | 164 |
* Fri Jun 23 2006 - [email protected] |
165 |
- Bump to 0.12.2. |
|
7150 | 166 |
* Thu Apr 27 2006 - [email protected] |
7169 | 167 |
- Remove upstream patch, vte-12-msgfmt-no-c-param.diff. |
168 |
* Thu Apr 27 2006 - [email protected] |
|
7150 | 169 |
- Bump to 1.12.1. |
6937 | 170 |
* Tue Mar 14 2006 - [email protected] |
171 |
- Add patch, 12-msgfmt-no-c-param, to remove '-c' param from msgfmt call. That |
|
172 |
switch breaks Solaris build. |
|
6913 | 173 |
* Mon Mar 13 2006 - [email protected] |
174 |
- Bump to 1.12.0. |
|
6897 | 175 |
* Thu Mar 9 2006 - [email protected] |
176 |
- Bump to 0.11.21. |
|
6851 | 177 |
* Sun Feb 26 2006 - [email protected] |
178 |
- Bump to 0.11.20. |
|
6852 | 179 |
- Remove upstream patch, 08-logname. Renumber 12-g11n-word-char to 08. |
6765 | 180 |
* Tue Feb 14 2006 - [email protected] |
181 |
- Enable freetype test in configure. Somehow this makes it build. |
|
6736 | 182 |
* Mon Feb 13 2006 - [email protected] |
183 |
- Bump to 0.11.18. |
|
6684 | 184 |
* Sun Jan 29 2006 - [email protected] |
185 |
- Bump to 0.11.17 |
|
6566
03f3b9642812
* vte.spec: Remove upstream patch 08-fix-crash; rename 13-logname to 08-logname.
dc144907
parents:
6564
diff
changeset
|
186 |
* Mon Jan 16 2006 - [email protected] |
03f3b9642812
* vte.spec: Remove upstream patch 08-fix-crash; rename 13-logname to 08-logname.
dc144907
parents:
6564
diff
changeset
|
187 |
- Remove upstream patch 08-fix-crash; rename 13-logname to 08-logname. |
6564
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6200
diff
changeset
|
188 |
* Sun Jan 15 2006 - [email protected] |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6200
diff
changeset
|
189 |
- Bump to 0.11.16 |
6200 | 190 |
* Thu Oct 27 2005 - [email protected] |
191 |
- move the python stuff from site-packages to vendor-packages |
|
5726
5037bad22620
* vte.spec: Remove upstream patch, vte-04-a11y-selection.diff.
dc144907
parents:
5719
diff
changeset
|
192 |
* Tue Sep 06 2005 - [email protected] |
5037bad22620
* vte.spec: Remove upstream patch, vte-04-a11y-selection.diff.
dc144907
parents:
5719
diff
changeset
|
193 |
- Remove upstream patch, vte-04-a11y-selection.diff. Reorder remaining. |
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5591
diff
changeset
|
194 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5591
diff
changeset
|
195 |
- Bump to 2.11.15. |
5591
8d174028da2b
* vte.spec: Add python build dependency and add python modules back into %files.
dc144907
parents:
5572
diff
changeset
|
196 |
* Thu Aug 25 2005 - [email protected] |
8d174028da2b
* vte.spec: Add python build dependency and add python modules back into %files.
dc144907
parents:
5572
diff
changeset
|
197 |
- Add python build dependency and add python modules back into %files. |
5572
2dcd5743aa67
* vte.spec: Remove python references as the module doesn't generate any.
dc144907
parents:
5565
diff
changeset
|
198 |
* Wed Aug 24 2005 - [email protected] |
2dcd5743aa67
* vte.spec: Remove python references as the module doesn't generate any.
dc144907
parents:
5565
diff
changeset
|
199 |
- Remove python references as the module doesn't generate any. |
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
200 |
* Tue Aug 16 2005 - [email protected] |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
201 |
- Bump to 0.11.14. |
5518 | 202 |
* Fri May 13 2005 - [email protected] |
203 |
- Bump to 0.11.13 |
|
5254 | 204 |
* Wed Mar 16 2005 - [email protected] |
205 |
- Added vte-14-g11n-word-char.diff fo select localized strings exactly. |
|
206 |
Fix 6241338. |
|
4629 | 207 |
* Wed Nov 24 2004 - [email protected] |
208 |
- Updated the patch vte-11-scrolling-perf-improve.diff to chnage |
|
209 |
vte input buffer size to 2K. Fixes bugtraq bug#6198452. |
|
210 |
Patch reviewed by [email protected] |
|
4553
a7efb2047b08
2004-11-12 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
4541
diff
changeset
|
211 |
* Fri Nov 12 2004 - [email protected] |
a7efb2047b08
2004-11-12 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
4541
diff
changeset
|
212 |
- Added patch vte-13-preddit-crash-on-close.diff |
a7efb2047b08
2004-11-12 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
4541
diff
changeset
|
213 |
Bugster #6193929 |
4471
67fd1b98240d
2004-11-08 Balamurali Viswanathan <[email protected]>
bviswa
parents:
4455
diff
changeset
|
214 |
* Fri Nov 05 2004 - [email protected] |
67fd1b98240d
2004-11-08 Balamurali Viswanathan <[email protected]>
bviswa
parents:
4455
diff
changeset
|
215 |
- Added patch vte-12-selection-perf-improve.diff to improve selection |
67fd1b98240d
2004-11-08 Balamurali Viswanathan <[email protected]>
bviswa
parents:
4455
diff
changeset
|
216 |
performance |
4384 | 217 |
* Fri Oct 29 2004 - [email protected] |
218 |
- Added patch vte-11-scrolling-perf-improve.diff to improve scrolling |
|
219 |
performance of gnome-terminal based on VTE. The patch improves the |
|
220 |
performance of the issues mentioned in bugtraq bug#5014824. Most of |
|
221 |
the patch is taken from the patch given to bugzilla bug#143914. |
|
4357 | 222 |
* Thu Oct 28 2004 - [email protected] |
223 |
- Add vte.1, libvte.3 man pages |
|
4334 | 224 |
* Wed Oct 27 2004 - [email protected] |
225 |
- Add patch vte-10-get-text.diff to fix bugzilla 156161. |
|
4277 | 226 |
* Mon Oct 18 2004 - [email protected] |
227 |
- Add patch vte-09-fix-crash.diff to fix bug 5107420. |
|
4212 | 228 |
* Sat Oct 09 2004 - [email protected] |
229 |
- Add patch vte-08-utf8-ambiguous.diff to fix bug 5028816 |
|
8501 | 230 |
gnome-terminal display full-width characters as half-width on UTF-8 |
4195 | 231 |
* Fri Oct 08 2004 - [email protected] |
232 |
- Added patch vte-07-update-logout-record.diff |
|
233 |
Fixes bug#5084840 |
|
4134 | 234 |
* Mon Oct 04 2004 - [email protected] |
235 |
- Added patch vte-06-cut-copy-paste-handle.diff to make Sun Cut, |
|
236 |
Copy, Paste keys work in gnome-terminal. Fixes bug#5098217 |
|
3779 | 237 |
* Thu Aug 26 2004 - [email protected] |
3778 | 238 |
- Add patch vte-05-inputmethod-spotlocation.diff for bugzilla #150052, |
8501 | 239 |
bugtraq #5080038 |
3723 | 240 |
* Wed Aug 18 2004 - [email protected] |
241 |
- added --enable-gtk-doc |
|
3394 | 242 |
* Thu Jul 22 2004 - [email protected] |
243 |
- Add patch vte-04-a11y-selection.diff for bugzilla #113590 |
|
3628 | 244 |
* Sun Jul 11 2004 - [email protected] |
245 |
- build fixup |
|
246 |
* Thu Jul 08 2004 - [email protected] |
|
247 |
- ported to rpm4 |
|
248 |
- removed auto*-jds stuff, not needed with SuSE 9.1 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3276
diff
changeset
|
249 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3276
diff
changeset
|
250 |
- Updated l10n content to vte-l10n-po-1.2.tar.bz2 |
3276 | 251 |
* Thu Jul 08 2004 - [email protected] |
252 |
- updated vte.spec to remove the ifos from around gnome-pty-helper |
|
253 |
essentially yo revert back to what it was. |
|
3263 | 254 |
* Wed Jul 07 2004 - [email protected] |
255 |
- added "-j $CPUS" to make to speed up builds |
|
3179 | 256 |
* Tue Jun 22 2004 <[email protected]> |
257 |
- Based on the 0.11.11 version, recreate the vte-03-fcconfig.diff patch |
|
258 |
* Mon Jun 14 2004 [email protected] |
|
3143 | 259 |
- Fixes stopper bug 5062671, not to use gnome-pty-helper on Solaris. |
260 |
Essentially just don't include the binary in Solaris. |
|
3134
a437d393fd90
* vte.spec: Add patch to specify libglib-2.0.so in src/Makefile.am
dc144907
parents:
3120
diff
changeset
|
261 |
* Fri Jun 11 2004 [email protected] |
a437d393fd90
* vte.spec: Add patch to specify libglib-2.0.so in src/Makefile.am
dc144907
parents:
3120
diff
changeset
|
262 |
- Added patch to add '-lglib-2.0' to src/Makefile.am to build on Solaris sparc. |
3100 | 263 |
* Thu Jun 10 2004 [email protected] |
264 |
- Changed to use correct autotools, hence no longer need autotools patch |
|
3074
0fac5b0204cf
vte.spec: Add '--disable-freetypetest' configure switch because S9x86 build
dc144907
parents:
3053
diff
changeset
|
265 |
* Wed Jun 09 2004 [email protected] |
0fac5b0204cf
vte.spec: Add '--disable-freetypetest' configure switch because S9x86 build
dc144907
parents:
3053
diff
changeset
|
266 |
- Add '--disable-freetypetest' configure switch because S9x86 build fails when |
0fac5b0204cf
vte.spec: Add '--disable-freetypetest' configure switch because S9x86 build
dc144907
parents:
3053
diff
changeset
|
267 |
configure tries to run the test app, because /opt/jds/lib not in |
0fac5b0204cf
vte.spec: Add '--disable-freetypetest' configure switch because S9x86 build
dc144907
parents:
3053
diff
changeset
|
268 |
LD_LIBRARY_PATH or -R link parameter. |
0fac5b0204cf
vte.spec: Add '--disable-freetypetest' configure switch because S9x86 build
dc144907
parents:
3053
diff
changeset
|
269 |
* Tue Jun 08 2004 [email protected] |
3053 | 270 |
- Update to 0.11.11 tarball |
2774 | 271 |
* Mon May 17 2004 - <[email protected]> |
272 |
- Fixed bug 5042257 by adding patch vte-02-fcconfig.diff |
|
273 |
[Cinnabar Linux] The CJK font rendering in gnome-terminal is not acceptable |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
274 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
275 |
- Updated l10n content to vte-l10n-po-1.1.tar.bz2 |
2350 | 276 |
* Mon Mar 29 2004 - [email protected] |
277 |
- Updated l10n content to vte-l10n-po-1.0.tar.bz2 |
|
1921 | 278 |
* Tue Feb 24 2004 - <[email protected]> |
279 |
- Update Distro, l10n tarball |
|
1657 | 280 |
* Thu Feb 12 2004 - <[email protected]> |
1632 | 281 |
- Added patch #01 to create an *-uninstalled-pc.file |
282 |
- Autotoolize the build stage |
|
1278 | 283 |
* Fri Oct 17 2003 - <[email protected]> - 0.11.10-1 |
284 |
- Uprevved to GNOME 2.4.0 version. |
|
285 |
- Changed source url. |
|
1058 | 286 |
* Thu Aug 14 2003 - <[email protected]> |
287 |
- remove *.a |
|
59 | 288 |
* Tue May 13 2003 - [email protected] |
156 | 289 |
- initial Sun release |