%define pango_version 1.0.99 %define gtk2_version 2.6.0 %define mozilla_version 1.7.7 %define gnome_vfs2_version 2.0.0 %define libgnomeui_version 2.0.2 %define libbonobo_version 2.0.0 %define libglade_version 2.0.0 %define libxml_version 2.6.5 %define libxslt_version 1.1.4 %define desktop_file_utils_version 0.3-7 %define gail_version 1.0 Summary: A system documentation reader from the Gnome project. Name: yelp Version: 2.9.3 Release: 5 Source: %{name}-%{version}.tar.bz2 License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{name}-root Requires: scrollkeeper Requires: gtk2 >= %{gtk2_version} Requires: gnome-vfs2 >= %{gnome_vfs2_version} Requires: mozilla >= %{mozilla_version} Requires: libgnomeui >= %{libgnomeui_version} Requires: libbonobo >= %{libbonobo_version} Requires: libxml2 >= %{libxml_version} Requires: libxslt >= %{libxslt_version} Requires: libglade2 >= %{libglade_version} Requires: libgcrypt Requires: gnome-doc-utils Requires: GConf2 BuildRequires: pango-devel >= %{pango_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version} BuildRequires: mozilla-devel >= %{mozilla_version} BuildRequires: libgnomeui-devel >= %{libgnomeui_version} BuildRequires: libbonobo-devel >= %{libbonobo_version} BuildRequires: libglade2-devel >= %{libglade_version} BuildRequires: libxml2-devel >= %{libxml_version} BuildRequires: libxslt-devel >= %{libxslt_version} BuildRequires: gail-devel >= %{gail_version} BuildRequires: libgcrypt-devel BuildRequires: fontconfig BuildRequires: GConf2-devel BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} BuildRequires: gnome-doc-utils # mozilla doesn't build on ppc64 ExclusiveArch: i386 x86_64 ia64 ppc s390 s390x %description Yelp is the Gnome 2 help/documentation browser. It is designed to help you browse all the documentation on your system in one central tool. %prep %setup -q %build %configure --with-mozilla=mozilla --enable-man --enable-info make %install rm -rf $RPM_BUILD_ROOT %makeinstall desktop-file-install --vendor gnome --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-only-show-in GNOME \ --add-category X-Red-Hat-Base \ $RPM_BUILD_ROOT%{_datadir}/applications/* %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %preun export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/yelp.schemas > /dev/null %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/yelp.schemas > /dev/null %files -f %{name}.lang %defattr(-,root,root) %{_sysconfdir}/gconf/schemas/yelp.schemas %{_bindir}/* %{_libdir}/bonobo %{_datadir}/applications/* %{_datadir}/sgml %{_datadir}/yelp %changelog * Mon Apr 18 2005 Ray Strode 2.9.3-5 - Depend on mozilla 1.7.7 * Mon Apr 4 2005 Ray Strode 2.9.3-4 - rebuilt * Wed Mar 9 2005 Christopher Aillon 2.9.3-3 - Depend on mozilla 1.7.6 * Sat Mar 5 2005 Christopher Aillon 2.9.3-2 - Rebuild against GCC 4.0 * Fri Jan 28 2005 Matthias Clasen 2.9.3-1 - Update to 2.9.3 * Mon Dec 20 2004 Christopher Aillon 2.6.5-1 - Update to 2.6.5 * Sat Nov 6 2004 Marco Pesenti Gritti 2.6.4-1 - Update to 2.6.4 * Wed Sep 22 2004 Christopher Aillon 2.6.3-1 - Update to 2.6.3 * Fri Sep 03 2004 Matthias Clasen 2.6.2-2 - fix an translation problem * Tue Aug 31 2004 Alex Larsson 2.6.2-1 - update to 2.6.2 * Wed Jun 30 2004 Christopher Aillon 2.6.1-1 - Update to 2.6.1 * Tue Jun 15 2004 Elliot Lee - rebuilt * Thu Apr 1 2004 Alex Larsson 2.6.0-1 - update to 2.6.0 * Mon Mar 15 2004 Alex Larsson 2.5.90-2 - Fix requirements * Wed Mar 10 2004 Alex Larsson 2.5.90-1 - update to 2.5.90 * Tue Mar 02 2004 Elliot Lee - rebuilt * Wed Feb 25 2004 Alexander Larsson 2.5.6-1 - update to 2.5.6 * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jan 28 2004 Alexander Larsson 2.5.3-1 - update to 2.5.3 * Wed Dec 24 2003 Tim Waugh 2.4.0-2 - Fix g_strdup_printf usage in info2html (bug #111200, patch from Miloslav Trmac). * Tue Sep 9 2003 Alexander Larsson 2.4.0-1 - update to 2.4.0 (only code change is bugfix from me) - Fixed the utf8 manpage patch (#91689) * Wed Aug 27 2003 Alexander Larsson 2.3.6-2 - info and manpages are utf8 * Wed Aug 20 2003 Alexander Larsson 2.3.6-1 - Update for gnome 2.3 * Wed Jul 9 2003 Alexander Larsson 2.2.3-1.E - Rebuild * Mon Jul 7 2003 Alexander Larsson 2.2.3-1 - update to 2.2.3 * Wed Jun 04 2003 Elliot Lee - rebuilt * Fri Feb 14 2003 Jeremy Katz 2.2.0-3 - fix buildrequires * Wed Jan 22 2003 Tim Powers - rebuilt * Tue Jan 21 2003 Alexander Larsson 2.2.0-1 - Update to 2.2.0 - Add libglade dependency * Tue Jan 7 2003 Alexander Larsson 2.1.4-1 - Updated to 2.1.4 * Mon Nov 18 2002 Tim Powers - rebuild for all arches * Mon Aug 12 2002 Alexander Larsson - Remove the strange copyright on the start page. Fixes #69106 * Thu Aug 8 2002 Havoc Pennington - 1.0.2 - include libexecdir stuff * Sat Jul 27 2002 Havoc Pennington - rebuild with new gail - 1.0.1 * Fri Jun 21 2002 Tim Powers - automated rebuild * Tue Jun 18 2002 Havoc Pennington - put all the binaries in the file list... why is this package so hard? * Mon Jun 17 2002 Havoc Pennington - put images in file list, this thing will be non-ugly yet * Sun Jun 16 2002 Havoc Pennington - 1.0 - use desktop-file-install to install/munge .desktop files - put the sgml stuff in file list * Fri Jun 07 2002 Havoc Pennington - rebuild in different environment * Wed Jun 5 2002 Havoc Pennington - 0.10 * Sun May 26 2002 Tim Powers - automated rebuild * Tue May 21 2002 Havoc Pennington - rebuild in different environment * Tue May 21 2002 Havoc Pennington - 0.8 * Fri May 3 2002 Havoc Pennington - 0.6.1 * Fri Apr 19 2002 Havoc Pennington - 0.6 * Wed Jan 30 2002 Owen Taylor - Rebuild for new gnome2 libraries * Mon Jan 28 2002 Alex Larsson - Initial build.