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