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

Revision 805, 11.0 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file of gnome-2.30

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.0
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* Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
142- new upstream release
143- change Requires: gecko-libs -> xulrunner
144- change BuildRequires: gecko-devel -> xulrunner-devel
145- drop Patch11
146
147* Mon Mar 01 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.1-1
148- new upstream release
149- build with xulrunner-1.9.2 (gecko-1.9.2)
150  - BR: gecko-devel instead of gecko-unstable-devel
151  - add patch11 to fix xulrunner-1.9.2 problem
152    - https://bugzilla.gnome.org/show_bug.cgi?id=603561
153    - http://git.gnome.org/browse/yelp/commit/?id=a5588114ed94d00ca64913aa5b248e09a5e13edc
154
155* Sun Nov  1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
156- new upstream release
157
158* Tue Aug 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
159- convert manpages from euc to utf8
160
161* Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
162- rebuild with gecko-1.9.1
163
164* Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
165- new upstream release
166- remove BR: libgnomeprintui-devel
167
168* Mon Jun 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.1-2
169- use xulrunner-1.9 for gecko libs instead of firefox
170- add Patch7,8,9 to build with xulrunner-1.9
171
172* Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
173- new upstream release
174
175* Sun Apr  6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
176- new upstream release
177- added Patches from Fedora Core
178  * Mon Mar 31 2008 Jon McCann <jmccann@redhat.com> - 2.22.0-4
179  - Disallow launchers when running under GDM.
180  * Thu Mar 13 2008 Matthew Barnes <mbarnes@redhat.com> - 2.22.0-2
181  - Add patch for RH bug #437328 (searching with Beagle broken).
182  * Fri Nov 16 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-7
183  - Handle .HP tags in man pages
184  * Wed Sep  6 2006 Matthias Clasen  <mclasen@redhat.com> - 2.16.0-2.fc6
185  - Actually apply the Pango patch
186  * Thu Dec 15 2005 David Malcolm <dmalcolm@redhat.com> - 2.13.2-2
187  - Patched to include DocBook mimetype in desktop file, and added preun and
188    post hooks to update-desktop-database (#175880)
189  - Patched to ensure that Yelp recognizes that it can handle the mimetype of
190    the documentation as reported by gnomevfs (also #175880)
191
192* Sat Jan 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1
193- new upstream release
194- added BuildRequires: rarian-devel
195
196* Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl2
197- rebuild with new environment/toolchain
198
199* Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
200- new upstream release
201- drop Patch20
202
203* Thu Nov 16 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.3-0vl3
204- added Patch20 (<BTS:0314>)
205- add BuildRequires: libgnomeprintui-devel
206
207* Wed Oct 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl2
208- rebuild with firefox-2.0
209
210* Sun Oct 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.3-0vl1
211- updated to 2.14.3
212- changed Group to User Interface/Desktops
213
214* Sat Jul 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2
215- add Patch10 to fix corruption of help option message.
216- add Japanese summary and description
217
218* Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
219- new upstream release
220
221* Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
222- rebuild with firefox-1.5.0.2-0vl4
223
224* Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
225- new upstream release
226- build with firefox-1.5.0.2
227
228* Sat Apr 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2
229- run gtk-update-icon-cache in %%post script.
230
231* Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
232- new upstream release
233
234* Wed Mar 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.6-0vl1
235- new upstream release
236
237* Thu Feb 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl2
238- rebuild with firefox-1.5.0.1
239
240* Fri Dec 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl1
241- new upstream release
242- build with firefox-1.5
243
244* Sat Sep 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
245- new upstream release
246- build with mozilla-1.7.12
247
248* Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
249- new upstream release
250
251* Sat Aug 20 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.10.0-0vl4
252- rebuilt with mozilla-1.7.11 (doh! 0vl3 had stupid mistake in the changelog)
253
254* Fri May 13 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl2
255- rebuild with mozilla-1.7.8
256
257* Mon May 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
258- new upstream release
259
260* Sun Apr 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl4
261- rebuild with mozilla-1.7.7
262
263* Thu Apr 14 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl3
264- add Requires/BuildRequires to gnome-doc-utils
265
266* Mon Mar 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl2
267- include yelp.schemas
268- add versioned requires to mozilla
269
270* Thu Mar 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.3-0vl1
271- new upstream version
272- use mozilla's gecko engine, add Requires: mozilla
273
274* Mon Nov 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.4-0vl1
275- new upstream release
276
277* Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1
278- new upstream release
279- rebuild with new toolchains
280
281* Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
282- new upstream release
283
284* Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1
285- new upstream release
286
287* Thu May 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
288- new upstream release
289
290* Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
291- new upstream release
292
293* Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1
294- new upstream release
295- build for Vine Linux
296
297* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
298- rebuild for all arches
299
300* Mon Aug 12 2002 Alexander Larsson <alexl@redhat.com>
301- Remove the strange copyright on the start page. Fixes #69106
302
303* Thu Aug  8 2002 Havoc Pennington <hp@redhat.com>
304- 1.0.2
305- include libexecdir stuff
306
307* Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
308- rebuild with new gail
309- 1.0.1
310
311* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
312- automated rebuild
313
314* Tue Jun 18 2002 Havoc Pennington <hp@redhat.com>
315- put all the binaries in the file list... why is this package so hard?
316
317* Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
318- put images in file list, this thing will be non-ugly yet
319
320* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
321- 1.0
322- use desktop-file-install to install/munge .desktop files
323- put the sgml stuff in file list
324
325* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
326- rebuild in different environment
327
328* Wed Jun  5 2002 Havoc Pennington <hp@redhat.com>
329- 0.10
330
331* Sun May 26 2002 Tim Powers <timp@redhat.com>
332- automated rebuild
333
334* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
335- rebuild in different environment
336
337* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
338- 0.8
339
340* Fri May  3 2002 Havoc Pennington <hp@redhat.com>
341- 0.6.1
342
343* Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
344- 0.6
345
346* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
347- Rebuild for new gnome2 libraries
348
349* Mon Jan 28 2002 Alex Larsson <alexl@redhat.com>
350- Initial build.
Note: See TracBrowser for help on using the repository browser.