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