1 | %define glib2_version 2.26.0 |
---|
2 | %define pango_version 1.28.3 |
---|
3 | %define gtk2_version 2.22.0 |
---|
4 | %define desktop_file_utils_version 0.17 |
---|
5 | %define gnome_doc_utils_version 0.20.0 |
---|
6 | %define rarian_version 0.7.0 |
---|
7 | %define xulrunner_version 1.9.2 |
---|
8 | %define gnome_common_version 2.28.0 |
---|
9 | |
---|
10 | Summary: A system documentation reader from the Gnome project. |
---|
11 | Summary(ja): GNOME プロジェクトのシステムドキュメントリーダ |
---|
12 | Name: yelp |
---|
13 | Version: 2.30.2 |
---|
14 | Release: 1%{?_dist_release} |
---|
15 | |
---|
16 | URL: http://live.gnome.org/Yelp |
---|
17 | Source0: %{name}-%{version}.tar.bz2 |
---|
18 | Source10: man-convert-helper |
---|
19 | # http://bugzilla.gnome.org/show_bug.cgi?id=319096 |
---|
20 | Patch1: yelp-2.15.5-fedora-docs.patch |
---|
21 | Patch2: yelp-2.13.2-add-mime-handling.patch |
---|
22 | Patch3: yelp-2.15.91-use-pango.patch |
---|
23 | # http://bugzilla.gnome.org/show_bug.cgi?id=497559 |
---|
24 | Patch6: hp.patch |
---|
25 | Patch7: yelp-libxul.patch |
---|
26 | Patch10: yelp-2.26.0-convert-euc-manpages.patch |
---|
27 | |
---|
28 | # https://bugzilla.gnome.org/show_bug.cgi?id=603561 |
---|
29 | # http://git.gnome.org/browse/yelp/commit/?id=a5588114ed94d00ca64913aa5b248e09a5e13edc |
---|
30 | Patch11: yelp-2.28.1-xul192.patch |
---|
31 | |
---|
32 | License: GPL |
---|
33 | Group: User Interface/Desktops |
---|
34 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
35 | Requires: gtk2 >= %{gtk2_version} |
---|
36 | Requires: gnome-doc-utils >= %{gnome_doc_utils_version} |
---|
37 | Requires: xulrunner >= %{xulrunner_version} |
---|
38 | Requires: nkf |
---|
39 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
40 | BuildRequires: pango-devel >= %{pango_version} |
---|
41 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
42 | BuildRequires: GConf2-devel |
---|
43 | BuildRequires: libxml2-devel >= 2.6.5 |
---|
44 | BuildRequires: libxslt-devel >= 1.1.4 |
---|
45 | BuildRequires: zlib-devel |
---|
46 | BuildRequires: lzma-devel |
---|
47 | BuildRequires: bzip2-devel |
---|
48 | BuildRequires: startup-notification-devel >= 0.8 |
---|
49 | BuildRequires: dbus-glib-devel |
---|
50 | BuildRequires: rarian-devel >= %{rarian_version} |
---|
51 | BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} |
---|
52 | BuildRequires: xulrunner-devel >= %{xulrunner_version} |
---|
53 | BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version} |
---|
54 | BuildRequires: gnome-common >= %{gnome_common_version} |
---|
55 | |
---|
56 | %description |
---|
57 | Yelp is the Gnome 2 help/documentation browser. It is designed |
---|
58 | to help you browse all the documentation on your system in |
---|
59 | one central tool. |
---|
60 | |
---|
61 | %description -l ja |
---|
62 | Yelp は Gnome 2 のヘルプ/ドキュメントブラウザです。このツール |
---|
63 | によってシステム内の全てのドキュメントを参照できることを目標に |
---|
64 | 作られています。 |
---|
65 | |
---|
66 | %prep |
---|
67 | %setup -q |
---|
68 | %patch1 -p1 -b .fedora-docs |
---|
69 | %patch2 -p1 -b .add-mime-handling |
---|
70 | %patch3 -p1 -b .use-pango |
---|
71 | %patch6 -p1 -b .hp |
---|
72 | %patch7 -p1 -b .libxul |
---|
73 | %patch10 -p1 -b .convert |
---|
74 | ## %patch11 -p1 -b .xul192 |
---|
75 | |
---|
76 | autoreconf -f -i |
---|
77 | |
---|
78 | %build |
---|
79 | %configure \ |
---|
80 | --with-gecko=libxul-embedding \ |
---|
81 | --with-search=basic \ |
---|
82 | --disable-schemas-install |
---|
83 | make |
---|
84 | |
---|
85 | %install |
---|
86 | rm -rf $RPM_BUILD_ROOT |
---|
87 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
88 | %makeinstall |
---|
89 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
90 | |
---|
91 | desktop-file-install --vendor=gnome --delete-original \ |
---|
92 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
93 | --add-only-show-in GNOME \ |
---|
94 | $RPM_BUILD_ROOT%{_datadir}/applications/* |
---|
95 | |
---|
96 | mkdir -p -m 755 $RPM_BUILD_ROOT/%{_datadir}/gnome/help |
---|
97 | |
---|
98 | install -m755 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/yelp/ |
---|
99 | |
---|
100 | %find_lang %{name} |
---|
101 | |
---|
102 | %clean |
---|
103 | rm -rf $RPM_BUILD_ROOT |
---|
104 | |
---|
105 | %post |
---|
106 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
107 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/yelp.schemas > /dev/null |
---|
108 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
109 | |
---|
110 | touch %{_datadir}/icons/hicolor |
---|
111 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
112 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
113 | fi |
---|
114 | |
---|
115 | %pre |
---|
116 | if [ "$1" -eq 0 ]; then |
---|
117 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
118 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/yelp.schemas >& /dev/null || : |
---|
119 | fi |
---|
120 | |
---|
121 | %preun |
---|
122 | if [ "$1" -eq 0 ]; then |
---|
123 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
124 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/yelp.schemas >& /dev/null || : |
---|
125 | fi |
---|
126 | |
---|
127 | %postun |
---|
128 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
129 | |
---|
130 | %files -f %{name}.lang |
---|
131 | %defattr(-,root,root) |
---|
132 | %{_sysconfdir}/gconf/schemas/yelp.schemas |
---|
133 | %{_bindir}/* |
---|
134 | %{_datadir}/applications/* |
---|
135 | %dir %{_datadir}/gnome/help |
---|
136 | %{_datadir}/icons/hicolor/* |
---|
137 | %{_datadir}/yelp |
---|
138 | |
---|
139 | |
---|
140 | %changelog |
---|
141 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
148 | - new upstream release |
---|
149 | - change Requires: gecko-libs -> xulrunner |
---|
150 | - change BuildRequires: gecko-devel -> xulrunner-devel |
---|
151 | - drop Patch11 |
---|
152 | |
---|
153 | * Mon Mar 01 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.1-1 |
---|
154 | - new upstream release |
---|
155 | - build with xulrunner-1.9.2 (gecko-1.9.2) |
---|
156 | - BR: gecko-devel instead of gecko-unstable-devel |
---|
157 | - add patch11 to fix xulrunner-1.9.2 problem |
---|
158 | - https://bugzilla.gnome.org/show_bug.cgi?id=603561 |
---|
159 | - http://git.gnome.org/browse/yelp/commit/?id=a5588114ed94d00ca64913aa5b248e09a5e13edc |
---|
160 | |
---|
161 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Tue Aug 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3 |
---|
165 | - convert manpages from euc to utf8 |
---|
166 | |
---|
167 | * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
168 | - rebuild with gecko-1.9.1 |
---|
169 | |
---|
170 | * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
171 | - new upstream release |
---|
172 | - remove BR: libgnomeprintui-devel |
---|
173 | |
---|
174 | * Mon Jun 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.1-2 |
---|
175 | - use xulrunner-1.9 for gecko libs instead of firefox |
---|
176 | - add Patch7,8,9 to build with xulrunner-1.9 |
---|
177 | |
---|
178 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
182 | - new upstream release |
---|
183 | - added Patches from Fedora Core |
---|
184 | * Mon Mar 31 2008 Jon McCann <jmccann@redhat.com> - 2.22.0-4 |
---|
185 | - Disallow launchers when running under GDM. |
---|
186 | * Thu Mar 13 2008 Matthew Barnes <mbarnes@redhat.com> - 2.22.0-2 |
---|
187 | - Add patch for RH bug #437328 (searching with Beagle broken). |
---|
188 | * Fri Nov 16 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-7 |
---|
189 | - Handle .HP tags in man pages |
---|
190 | * Wed Sep 6 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-2.fc6 |
---|
191 | - Actually apply the Pango patch |
---|
192 | * Thu Dec 15 2005 David Malcolm <dmalcolm@redhat.com> - 2.13.2-2 |
---|
193 | - Patched to include DocBook mimetype in desktop file, and added preun and |
---|
194 | post hooks to update-desktop-database (#175880) |
---|
195 | - Patched to ensure that Yelp recognizes that it can handle the mimetype of |
---|
196 | the documentation as reported by gnomevfs (also #175880) |
---|
197 | |
---|
198 | * Sat Jan 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1 |
---|
199 | - new upstream release |
---|
200 | - added BuildRequires: rarian-devel |
---|
201 | |
---|
202 | * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl2 |
---|
203 | - rebuild with new environment/toolchain |
---|
204 | |
---|
205 | * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1 |
---|
206 | - new upstream release |
---|
207 | - drop Patch20 |
---|
208 | |
---|
209 | * Thu Nov 16 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.3-0vl3 |
---|
210 | - added Patch20 (<BTS:0314>) |
---|
211 | - add BuildRequires: libgnomeprintui-devel |
---|
212 | |
---|
213 | * Wed Oct 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl2 |
---|
214 | - rebuild with firefox-2.0 |
---|
215 | |
---|
216 | * Sun Oct 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.3-0vl1 |
---|
217 | - updated to 2.14.3 |
---|
218 | - changed Group to User Interface/Desktops |
---|
219 | |
---|
220 | * Sat Jul 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2 |
---|
221 | - add Patch10 to fix corruption of help option message. |
---|
222 | - add Japanese summary and description |
---|
223 | |
---|
224 | * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1 |
---|
225 | - new upstream release |
---|
226 | |
---|
227 | * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2 |
---|
228 | - rebuild with firefox-1.5.0.2-0vl4 |
---|
229 | |
---|
230 | * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1 |
---|
231 | - new upstream release |
---|
232 | - build with firefox-1.5.0.2 |
---|
233 | |
---|
234 | * Sat Apr 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2 |
---|
235 | - run gtk-update-icon-cache in %%post script. |
---|
236 | |
---|
237 | * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1 |
---|
238 | - new upstream release |
---|
239 | |
---|
240 | * Wed Mar 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.6-0vl1 |
---|
241 | - new upstream release |
---|
242 | |
---|
243 | * Thu Feb 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl2 |
---|
244 | - rebuild with firefox-1.5.0.1 |
---|
245 | |
---|
246 | * Fri Dec 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl1 |
---|
247 | - new upstream release |
---|
248 | - build with firefox-1.5 |
---|
249 | |
---|
250 | * Sat Sep 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1 |
---|
251 | - new upstream release |
---|
252 | - build with mozilla-1.7.12 |
---|
253 | |
---|
254 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1 |
---|
255 | - new upstream release |
---|
256 | |
---|
257 | * Sat Aug 20 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.10.0-0vl4 |
---|
258 | - rebuilt with mozilla-1.7.11 (doh! 0vl3 had stupid mistake in the changelog) |
---|
259 | |
---|
260 | * Fri May 13 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl2 |
---|
261 | - rebuild with mozilla-1.7.8 |
---|
262 | |
---|
263 | * Mon May 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1 |
---|
264 | - new upstream release |
---|
265 | |
---|
266 | * Sun Apr 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl4 |
---|
267 | - rebuild with mozilla-1.7.7 |
---|
268 | |
---|
269 | * Thu Apr 14 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl3 |
---|
270 | - add Requires/BuildRequires to gnome-doc-utils |
---|
271 | |
---|
272 | * Mon Mar 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl2 |
---|
273 | - include yelp.schemas |
---|
274 | - add versioned requires to mozilla |
---|
275 | |
---|
276 | * Thu Mar 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl1 |
---|
277 | - new upstream version |
---|
278 | - use mozilla's gecko engine, add Requires: mozilla |
---|
279 | |
---|
280 | * Mon Nov 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.4-0vl1 |
---|
281 | - new upstream release |
---|
282 | |
---|
283 | * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1 |
---|
284 | - new upstream release |
---|
285 | - rebuild with new toolchains |
---|
286 | |
---|
287 | * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1 |
---|
288 | - new upstream release |
---|
289 | |
---|
290 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1 |
---|
291 | - new upstream release |
---|
292 | |
---|
293 | * Thu May 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1 |
---|
294 | - new upstream release |
---|
295 | |
---|
296 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1 |
---|
297 | - new upstream release |
---|
298 | |
---|
299 | * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1 |
---|
300 | - new upstream release |
---|
301 | - build for Vine Linux |
---|
302 | |
---|
303 | * Mon Nov 18 2002 Tim Powers <timp@redhat.com> |
---|
304 | - rebuild for all arches |
---|
305 | |
---|
306 | * Mon Aug 12 2002 Alexander Larsson <alexl@redhat.com> |
---|
307 | - Remove the strange copyright on the start page. Fixes #69106 |
---|
308 | |
---|
309 | * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com> |
---|
310 | - 1.0.2 |
---|
311 | - include libexecdir stuff |
---|
312 | |
---|
313 | * Sat Jul 27 2002 Havoc Pennington <hp@redhat.com> |
---|
314 | - rebuild with new gail |
---|
315 | - 1.0.1 |
---|
316 | |
---|
317 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
318 | - automated rebuild |
---|
319 | |
---|
320 | * Tue Jun 18 2002 Havoc Pennington <hp@redhat.com> |
---|
321 | - put all the binaries in the file list... why is this package so hard? |
---|
322 | |
---|
323 | * Mon Jun 17 2002 Havoc Pennington <hp@redhat.com> |
---|
324 | - put images in file list, this thing will be non-ugly yet |
---|
325 | |
---|
326 | * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com> |
---|
327 | - 1.0 |
---|
328 | - use desktop-file-install to install/munge .desktop files |
---|
329 | - put the sgml stuff in file list |
---|
330 | |
---|
331 | * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com> |
---|
332 | - rebuild in different environment |
---|
333 | |
---|
334 | * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com> |
---|
335 | - 0.10 |
---|
336 | |
---|
337 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
---|
338 | - automated rebuild |
---|
339 | |
---|
340 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
---|
341 | - rebuild in different environment |
---|
342 | |
---|
343 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
---|
344 | - 0.8 |
---|
345 | |
---|
346 | * Fri May 3 2002 Havoc Pennington <hp@redhat.com> |
---|
347 | - 0.6.1 |
---|
348 | |
---|
349 | * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com> |
---|
350 | - 0.6 |
---|
351 | |
---|
352 | * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com> |
---|
353 | - Rebuild for new gnome2 libraries |
---|
354 | |
---|
355 | * Mon Jan 28 2002 Alex Larsson <alexl@redhat.com> |
---|
356 | - Initial build. |
---|