author | dcarbery |
Tue, 03 Jun 2008 14:14:42 +0000 | |
changeset 12570 | a1b3a4defa67 |
parent 12317 | 3fcd4711a274 |
child 12657 | e57a13ed8c60 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package yelp |
|
3 |
# |
|
11411 | 4 |
# Copyright (c) 2008 Sun Microsystems, Inc. |
9397 | 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: mattman |
|
9 |
# |
|
10 |
Name: yelp |
|
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
12570 | 13 |
Version: 2.23.1 |
9397 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Summary: The GNOME Help Browser |
|
12570 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.23/%{name}-%{version}.tar.bz2 |
12031 | 19 |
%if %build_l10n |
20 |
Source1: l10n-configure.sh |
|
21 |
%endif |
|
10647 | 22 |
# date:2007-09-18 owner:dcarbery type:bug |
10506 | 23 |
Patch1: yelp-01-va-args.diff |
11221
f763c651113d
* base-specs/bug-buddy.spec : Update patch meta-data
mattman
parents:
10670
diff
changeset
|
24 |
# date:2007-10-18 owner:mattman type:bug bugster:6610215 bugzilla:493751 |
10670
ca9bce01934a
* base-specs/yelp.spec : Add patch yelp-02-search-crash.diff to fix
mattman
parents:
10647
diff
changeset
|
25 |
Patch2: yelp-02-search-crash.diff |
12174
1efbf64d652c
* base-specs/yelp.spec, patches/yelp-04-using-firefox3-gecko.diff: build
hawklu
parents:
12071
diff
changeset
|
26 |
# date:2008-04-20 owner:hawklu type:bug |
12570 | 27 |
##Patch3: yelp-03-using-firefox3-gecko.diff |
12174
1efbf64d652c
* base-specs/yelp.spec, patches/yelp-04-using-firefox3-gecko.diff: build
hawklu
parents:
12071
diff
changeset
|
28 |
|
9397 | 29 |
URL: www.gnome.org |
30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
31 |
Autoreqprov: on |
|
32 |
||
33 |
%define gconf_version 2.6.0 |
|
34 |
%define libxml2_version 2.6.5 |
|
35 |
%define gtk2_version 2.5.3 |
|
36 |
%define libgtkhtml_version 2.6.0 |
|
37 |
%define gnome_vfs_version 2.6.0 |
|
38 |
%define libgnomeui_version 2.6.0 |
|
39 |
%define libbonobo_version 2.6.0 |
|
40 |
%define libglade_version 2.5.1 |
|
41 |
%define libxslt_version 1.1.14 |
|
42 |
%define gail_version 1.8.4 |
|
43 |
%define pango_version 1.8.1 |
|
44 |
%define gnome_doc_utils_version 0.1.1 |
|
45 |
%define mozilla_version 1.7 |
|
46 |
%define mozilla_nspr_version 4.5.0 |
|
47 |
||
48 |
Requires: gtk2 >= %{gtk2_version} |
|
49 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
50 |
Requires: libgtkhtml >= %{libgtkhtml_version} |
|
51 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
52 |
Requires: libbonobo >= %{libbonobo_version} |
|
53 |
Requires: libxslt >= %{libxslt_version} |
|
54 |
Requires: libglade >= %{libglade_version} |
|
55 |
Requires: libxml2 >= %{libxml2_version} |
|
56 |
Requires: mozilla >= %{mozilla_version} |
|
57 |
Requires: mozilla-nspr >= %{mozilla_nspr_version} |
|
58 |
||
59 |
BuildRequires: pango-devel >= %{pango_version} |
|
60 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
61 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
62 |
BuildRequires: libgtkhtml-devel >= %{libgtkhtml_version} |
|
63 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
64 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
65 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
66 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
67 |
BuildRequires: gail-devel >= %{gail_version} |
|
68 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
|
69 |
BuildRequires: GConf >= %{gconf_version} |
|
70 |
BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version} |
|
71 |
BuildRequires: mozilla >= %{mozilla_version} |
|
72 |
BuildRequires: mozilla-nspr-devel >= %{mozilla_nspr_version} |
|
73 |
||
74 |
%description |
|
75 |
"Yelp" is the help browser for the GNOME 2.2 Desktop. It features man, info and docbook document sources. |
|
76 |
||
77 |
%prep |
|
78 |
%setup -q |
|
10506 | 79 |
%patch1 -p1 |
10670
ca9bce01934a
* base-specs/yelp.spec : Add patch yelp-02-search-crash.diff to fix
mattman
parents:
10647
diff
changeset
|
80 |
%patch2 -p1 |
12570 | 81 |
##%patch3 -p1 |
9397 | 82 |
|
83 |
%build |
|
84 |
%ifos linux |
|
85 |
if [ -x /usr/bin/getconf ]; then |
|
86 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
87 |
fi |
|
88 |
%else |
|
89 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
90 |
%endif |
|
91 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
92 |
CPUS=1 |
|
93 |
fi |
|
94 |
||
95 |
libtoolize --force |
|
96 |
glib-gettextize -f |
|
97 |
intltoolize --force --copy |
|
12031 | 98 |
|
99 |
%if %build_l10n |
|
100 |
bash -x %SOURCE1 --enable-copyright |
|
101 |
%endif |
|
102 |
||
9397 | 103 |
aclocal $ACLOCAL_FLAGS |
104 |
autoheader |
|
105 |
automake -a -c -f |
|
106 |
autoconf |
|
107 |
||
108 |
%ifos solaris |
|
109 |
NO_RTTI=--enable-cpp-rtti |
|
110 |
%endif |
|
111 |
||
112 |
./configure \ |
|
113 |
--prefix=%{_prefix} \ |
|
114 |
--datadir=%{_datadir} \ |
|
115 |
--sysconfdir=%{_sysconfdir} \ |
|
116 |
--libexecdir=%{_libexecdir} \ |
|
12317 | 117 |
--with-gecko=firefox \ |
9397 | 118 |
--localstatedir=/var/lib $NO_RTTI |
119 |
make -j $CPUS |
|
120 |
||
121 |
%install |
|
122 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
123 |
#Copy zh_HK from zh_TW |
|
124 |
#Fixes bug 4930405 |
|
125 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
|
126 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
11510 | 127 |
|
128 |
%post |
|
129 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
130 |
SCHEMAS="yelp.schemas" |
|
131 |
for S in $SCHEMAS; do |
|
132 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
133 |
done |
|
134 |
||
9397 | 135 |
%clean |
136 |
rm -rf $RPM_BUILD_ROOT |
|
137 |
||
138 |
%files |
|
139 |
%defattr (-, root, root) |
|
140 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
141 |
%{_bindir}/* |
|
142 |
%{_datadir}/icons |
|
143 |
%{_datadir}/yelp |
|
144 |
%{_datadir}/applications/yelp.desktop |
|
145 |
%{_libdir}/* |
|
146 |
%{_mandir}/man1/* |
|
147 |
%{_sysconfdir}/gconf/schemas/yelp.schemas |
|
148 |
||
149 |
%changelog |
|
12570 | 150 |
* Tue Jun 03 2008 - [email protected] |
151 |
- Bump to 2.23.1. Remove upstream patch 03-g11n-cast-iteration. Renumber |
|
152 |
remainder. |
|
153 |
||
12317 | 154 |
* Fri May 16 2008 - [email protected] |
155 |
- Disable Brian's patch, 04-using-firefox3-gecko, to build against firefox 2 |
|
156 |
because FF3 is not stable enough to be the default broswer in Nevada. |
|
157 |
||
12181
c5d2f3abc686
Add missing ChangeLog entry; fix date in %changelog entry.
dcarbery
parents:
12174
diff
changeset
|
158 |
* Mon Apr 21 2008 - [email protected] |
12174
1efbf64d652c
* base-specs/yelp.spec, patches/yelp-04-using-firefox3-gecko.diff: build
hawklu
parents:
12071
diff
changeset
|
159 |
- Add patch yelp-04-using-firefox3-gecko.diff: |
1efbf64d652c
* base-specs/yelp.spec, patches/yelp-04-using-firefox3-gecko.diff: build
hawklu
parents:
12071
diff
changeset
|
160 |
build yelp with firefox3 devel package |
1efbf64d652c
* base-specs/yelp.spec, patches/yelp-04-using-firefox3-gecko.diff: build
hawklu
parents:
12071
diff
changeset
|
161 |
|
12071 | 162 |
* Wed Apr 09 2008 - [email protected] |
163 |
- Bump to 2.22.1. |
|
164 |
||
11883 | 165 |
* Thu Mar 20 2008 - [email protected] |
166 |
- Add yelp-03-g11n-cast-iteration.diff to avoid fr crash. CR 6656484. |
|
167 |
||
11829 | 168 |
* Mon Mar 10 2008 - [email protected] |
169 |
- Bump to 2.22.0. |
|
170 |
||
11546 | 171 |
* Tue Jan 29 2008 - [email protected] |
11553 | 172 |
- Bump to 2.21.90. Remove upstream patch 03-search-crash-v2. |
11546 | 173 |
|
11510 | 174 |
* Thu Jan 24 2008 - [email protected] |
175 |
- Fix up gconf schema install. |
|
176 |
||
177 |
* Tue Jan 08 2008 - [email protected] |
|
11411 | 178 |
- Bump to 2.21.2. |
179 |
||
11282
40382983a644
* base-specs/yelp.spec : Add patch to fix yelp search crasher :
mattman
parents:
11280
diff
changeset
|
180 |
* Tue Dec 04 2007 - [email protected] |
40382983a644
* base-specs/yelp.spec : Add patch to fix yelp search crasher :
mattman
parents:
11280
diff
changeset
|
181 |
- Add patch 03-search-crash-v2 fix bugster:6630773 bugzilla:501559 |
40382983a644
* base-specs/yelp.spec : Add patch to fix yelp search crasher :
mattman
parents:
11280
diff
changeset
|
182 |
|
11280 | 183 |
* Tue Dec 04 2007 - [email protected] |
184 |
- Bump to 2.21.1. |
|
185 |
||
10670
ca9bce01934a
* base-specs/yelp.spec : Add patch yelp-02-search-crash.diff to fix
mattman
parents:
10647
diff
changeset
|
186 |
* Thu Oct 18 2007 - [email protected] |
ca9bce01934a
* base-specs/yelp.spec : Add patch yelp-02-search-crash.diff to fix
mattman
parents:
10647
diff
changeset
|
187 |
- Add patch 02-search-crash fix bugster:6610215 bugzilla:480876 |
ca9bce01934a
* base-specs/yelp.spec : Add patch yelp-02-search-crash.diff to fix
mattman
parents:
10647
diff
changeset
|
188 |
|
10498 | 189 |
* Tue Sep 18 2007 - [email protected] |
190 |
- Bump to 2.20.0. |
|
10506 | 191 |
- Add patch 01-va-args to fix compilation issue. |
10498 | 192 |
|
10327 | 193 |
* Wed Aug 15 2007 - [email protected] |
194 |
- Bump to 2.19.90. Remove upstream patches, 01-macro-reference-crash and |
|
195 |
02-std-solaris. |
|
196 |
||
10243 | 197 |
* Wed Aug 01 2007 - [email protected] |
198 |
- Add patch, 02-std-solaris, to fix 462440. |
|
199 |
||
10238 | 200 |
* Tue Jul 31 2007 - [email protected] |
201 |
- Bump to 2.19.1. Remove obsolete patches, 01-null-frag-id and |
|
202 |
02-empty-contents-list. |
|
203 |
||
10051
5022f953487c
* base-specs/yelp.spec : Add patch to fix bugster:6560664, bugzilla:447107
mattman
parents:
9731
diff
changeset
|
204 |
* Wed Jun 13 2007 - [email protected] |
5022f953487c
* base-specs/yelp.spec : Add patch to fix bugster:6560664, bugzilla:447107
mattman
parents:
9731
diff
changeset
|
205 |
- Fix crash for #6560664 patch in bugzilla #447107 |
5022f953487c
* base-specs/yelp.spec : Add patch to fix bugster:6560664, bugzilla:447107
mattman
parents:
9731
diff
changeset
|
206 |
|
9731 | 207 |
* Thu Apr 12 2007 - [email protected] |
208 |
- Bump to 2.18.1. |
|
209 |
||
210 |
* Tue Apr 10 2007 - [email protected] |
|
9711
b9cb010bc817
* base-specs/yelp.spec : fix bugster:6534411 bugzilla:428273, uninstalled
mattman
parents:
9538
diff
changeset
|
211 |
- New patch for 6534411, empty contents_list for locales throws critcal |
b9cb010bc817
* base-specs/yelp.spec : fix bugster:6534411 bugzilla:428273, uninstalled
mattman
parents:
9538
diff
changeset
|
212 |
- gnome-vfs warnings. |
b9cb010bc817
* base-specs/yelp.spec : fix bugster:6534411 bugzilla:428273, uninstalled
mattman
parents:
9538
diff
changeset
|
213 |
|
9538 | 214 |
* Tue Mar 13 2007 - [email protected] |
215 |
- Bump to 2.18.0. |
|
216 |
||
9397 | 217 |
* Mon Nov 27 2006 - [email protected] |
218 |
- Bump to 2.16.2. |
|
219 |
||
220 |
* Tue Oct 03 2006 - [email protected] |
|
221 |
- Bump to 2.16.1. |
|
222 |
||
223 |
* Mon Sep 04 2006 - [email protected] |
|
224 |
- Bug Bugster:6471853 / Bugzilla:318996 - Null frag_id crash, add local patch |
|
225 |
||
226 |
* Mon Sep 04 2006 - [email protected] |
|
227 |
- Bump to 2.16.0. |
|
228 |
||
229 |
* Tue Aug 08 2006 - [email protected] |
|
230 |
- Bump to 2.15.91. |
|
231 |
||
232 |
* Mon Jul 24 2006 - [email protected] |
|
233 |
- Bump to 2.15.5. |
|
234 |
||
235 |
* Fri Apr 10 2006 - [email protected] |
|
236 |
- Bump to 2.14.1. |
|
237 |
||
238 |
* Mon Mar 13 2006 - [email protected] |
|
239 |
- Bump to 2.14.0. |
|
240 |
||
241 |
* Mon Feb 27 2006 - [email protected] |
|
242 |
- Bump to 2.13.6. |
|
243 |
||
244 |
* Mon Feb 13 2006 - [email protected] |
|
245 |
- Bump to 2.13.5. |
|
246 |
||
247 |
* Tue Jan 31 2006 - [email protected] |
|
248 |
- Bump to 2.13.4. |
|
249 |
- Remove upstream patch, 01-build-xlibs. |
|
250 |
||
251 |
* Mon Jan 19 2005 - [email protected] |
|
252 |
- Add yelp-01-build-xlibs.diff so we can link |
|
253 |
against -lX11 |
|
254 |
||
255 |
* Mon Jan 19 2005 - [email protected] |
|
256 |
- Bump to 2.13.3 |
|
257 |
||
258 |
* Tue Dec 20 2005 - [email protected] |
|
259 |
- Bump to 2.13.2 |
|
260 |
||
261 |
* Tue Nov 29 2005 - [email protected] |
|
262 |
- Bump to 2.12.2. |
|
263 |
||
264 |
* Sat Sep 17 2005 - [email protected] |
|
265 |
- Bump to 2.12.0 |
|
266 |
||
267 |
* Mon Sep 05 2005 - [email protected] |
|
268 |
- Bump to 2.11.92. |
|
269 |
||
270 |
* Tue Aug 16 2005 - [email protected] |
|
271 |
- Bump to 2.11.1. |
|
272 |
||
273 |
* Tue Jun 21 2005 - [email protected] |
|
274 |
- Add requires for mozilla |
|
275 |
||
276 |
* Wed Jun 08 2005 - [email protected] |
|
277 |
- port to 2.10 |
|
278 |
- Remove patch yelp-01-empty-struct-build-fix.diff |
|
279 |
- Remove patch yelp-03-session-save.diff |
|
280 |
- Rename patch yelp-04-yelp-sections.diff to yelp-01-yelp-sections.diff |
|
281 |
- Remove patch yelp-06-yelp-pager.diff |
|
282 |
||
283 |
* Fri Feb 25 2005 - [email protected] |
|
284 |
- #6233172, Add Actions section, change Development Section |
|
285 |
||
286 |
* Thu Feb 17 2005 - [email protected] |
|
287 |
- #6228279, yelp crash viewing jdsoverview.xml |
|
288 |
||
289 |
* Fri Dec 24 2004 - [email protected] |
|
290 |
- Bug fix for 6186542, added zh_HK entry in l10n.xml |
|
291 |
||
292 |
* Mon Nov 15 2004 - [email protected] |
|
293 |
- #6182913, patch yelp-04-help-sections.diff |
|
294 |
||
295 |
* Thu Jul 08 2004 - [email protected] |
|
296 |
- Updated l10n content to yelp-l10n-po-1.2.tar.bz2 |
|
297 |
||
298 |
* Wed Jul 07 2004 - [email protected] |
|
299 |
- added "-j $CPUS" to make to speed up builds |
|
300 |
||
301 |
* Thu May 20 2004 - [email protected] |
|
302 |
- added yelp-03-session-save.diff. Yelp is session aware now! |
|
303 |
||
304 |
* Wed May 12 2004 - [email protected] |
|
305 |
- Updated l10n content to yelp-l10n-po-1.1.tar.bz2 |
|
306 |
||
307 |
* Thu May 06 2004 - [email protected] |
|
308 |
- Bump to 2.6.1 |
|
309 |
||
310 |
* Mon Mar 29 2004 - [email protected] |
|
311 |
- Updated l10n content to yelp-l10n-po-1.0.tar.bz2 |
|
312 |
||
313 |
* Wed Mar 24 2004 - [email protected] |
|
314 |
- Bump to 2.6.0. Remove the sed build fixes, rename the |
|
315 |
empty struct diff, and update the potfiles patch. |
|
316 |
||
317 |
* Mon Mar 22 2004 - [email protected] |
|
318 |
- fix non-portable sed commands (bugzilla #134534) |
|
319 |
||
320 |
* Thu Mar 18 2004 - [email protected] |
|
321 |
- Bump to 2.5.91 |
|
322 |
||
323 |
* Thu Mar 11 2004 - [email protected] |
|
324 |
- added yelp-03-g11n-potfiles.diff |
|
325 |
||
326 |
* Tue Feb 24 2004 - [email protected] |
|
327 |
- Bump to 2.5.5 |
|
328 |
||
329 |
* Tue Feb 17 2004 - [email protected] |
|
330 |
- two patches two fix a solaris build issues |
|
331 |
- add ACLOCAL_FLAGS to aclocal |
|
332 |
||
333 |
* Fri Feb 06 2004 - [email protected] |
|
334 |
- Bump to 2.5.4, remove two patches, update l10n tarball |
|
335 |
||
336 |
* Tue Dec 16 2003 - [email protected] |
|
337 |
- Bump to 2.5.1 |
|
338 |
||
339 |
* Fri Oct 31 2003 - [email protected] |
|
340 |
- Removed the Sun Supported menu entry since we're |
|
341 |
removing the Extras menu. |
|
342 |
||
343 |
* Mon Oct 13 2003 - [email protected] |
|
344 |
- New 2.4 Tarball |
|
345 |
||
346 |
* Tue Oct 07 2003 - [email protected] |
|
347 |
- Second Change For Help Section for Java Desktop System |
|
348 |
||
349 |
* Fri Sep 26 2003 - [email protected] |
|
350 |
- Modified Help Section for Java Desktop System |
|
351 |
||
352 |
* Fri Aug 22 2003 - [email protected] |
|
353 |
- categorycode patch |
|
354 |
||
355 |
* Mon Aug 18 2003 - [email protected] |
|
356 |
- Help sections patch |
|
357 |
||
358 |
* Fri Aug 01 2003 - [email protected] |
|
359 |
- Add menu categorization. |
|
360 |
||
361 |
* Wed Jul 23 2003 - [email protected] |
|
362 |
- Add back window icon. |
|
363 |
||
364 |
* Thu Jul 10 2003 - [email protected] |
|
365 |
- Added .po tarball |
|
366 |
||
367 |
* Wed Jun 25 2003 - [email protected] |
|
368 |
- Add libexec/* to %files |
|
369 |
||
370 |
* Wed Jun 25 2003 - [email protected] |
|
371 |
- Update the version of Yelp |
|
372 |
||
373 |
* Wed May 14 2003 - [email protected] |
|
374 |
- Initial Sun release |