source: projects/specs/branches/6/y/yelp/yelp-vl.spec @ 6589

Revision 6589, 11.6 KB checked in by daisuke, 12 years ago (diff)

switch to webkit branch

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