source: projects/specs/trunk/y/yelp/yelp-vl.spec @ 926

Revision 926, 11.1 KB checked in by Takemikaduchi, 14 years ago (diff)

new upstream release (gnome packages)

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