2004-09-09 15:09:50 +00:00
|
|
|
%define pango_version 1.0.99
|
2005-01-28 20:45:25 +00:00
|
|
|
%define gtk2_version 2.6.0
|
2005-10-18 19:03:01 +00:00
|
|
|
%define mozilla_version 1.7.12
|
2004-09-09 15:09:50 +00:00
|
|
|
%define gnome_vfs2_version 2.0.0
|
2004-09-09 15:09:57 +00:00
|
|
|
%define libgnomeui_version 2.0.2
|
2004-09-09 15:09:26 +00:00
|
|
|
%define libbonobo_version 2.0.0
|
2004-09-09 15:09:57 +00:00
|
|
|
%define libglade_version 2.0.0
|
2004-09-09 15:12:14 +00:00
|
|
|
%define libxml_version 2.6.5
|
|
|
|
%define libxslt_version 1.1.4
|
2004-09-09 15:10:49 +00:00
|
|
|
%define desktop_file_utils_version 0.3-7
|
2004-09-09 15:09:57 +00:00
|
|
|
%define gail_version 1.0
|
2004-09-09 15:09:26 +00:00
|
|
|
|
|
|
|
Summary: A system documentation reader from the Gnome project.
|
|
|
|
Name: yelp
|
2005-12-15 06:19:30 +00:00
|
|
|
Version: 2.13.2
|
2005-12-16 16:53:12 +00:00
|
|
|
Release: 2
|
2004-09-22 22:37:20 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2005-10-17 18:09:58 +00:00
|
|
|
# http://bugzilla.gnome.org/show_bug.cgi?id=319096
|
2005-10-17 19:03:12 +00:00
|
|
|
Patch1: yelp-2.12.1-fedora-docs.patch
|
2005-12-16 16:53:12 +00:00
|
|
|
Patch2: yelp-2.13.2-add-mime-handling.patch
|
2005-12-16 17:42:38 +00:00
|
|
|
Patch3: yelp-2.13.2-new-mimetype-for-docbook-xml.patch
|
2004-09-09 15:09:26 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/System
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
Requires: scrollkeeper
|
|
|
|
Requires: gtk2 >= %{gtk2_version}
|
|
|
|
Requires: gnome-vfs2 >= %{gnome_vfs2_version}
|
2005-01-28 20:45:25 +00:00
|
|
|
Requires: mozilla >= %{mozilla_version}
|
2004-09-09 15:09:26 +00:00
|
|
|
Requires: libgnomeui >= %{libgnomeui_version}
|
|
|
|
Requires: libbonobo >= %{libbonobo_version}
|
2004-09-09 15:12:14 +00:00
|
|
|
Requires: libxml2 >= %{libxml_version}
|
2004-09-09 15:09:57 +00:00
|
|
|
Requires: libxslt >= %{libxslt_version}
|
|
|
|
Requires: libglade2 >= %{libglade_version}
|
2005-01-28 20:45:25 +00:00
|
|
|
Requires: libgcrypt
|
|
|
|
Requires: gnome-doc-utils
|
2004-09-09 15:09:57 +00:00
|
|
|
Requires: GConf2
|
2005-12-16 16:53:12 +00:00
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
Requires(postun): desktop-file-utils
|
2004-09-09 15:09:50 +00:00
|
|
|
BuildRequires: pango-devel >= %{pango_version}
|
2004-09-09 15:09:26 +00:00
|
|
|
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
|
|
BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version}
|
2005-01-28 20:45:25 +00:00
|
|
|
BuildRequires: mozilla-devel >= %{mozilla_version}
|
2004-09-09 15:09:26 +00:00
|
|
|
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
|
|
|
BuildRequires: libbonobo-devel >= %{libbonobo_version}
|
2004-09-09 15:09:57 +00:00
|
|
|
BuildRequires: libglade2-devel >= %{libglade_version}
|
2004-09-09 15:12:14 +00:00
|
|
|
BuildRequires: libxml2-devel >= %{libxml_version}
|
2004-09-09 15:09:57 +00:00
|
|
|
BuildRequires: libxslt-devel >= %{libxslt_version}
|
2004-09-09 15:09:50 +00:00
|
|
|
BuildRequires: gail-devel >= %{gail_version}
|
2005-01-28 20:45:25 +00:00
|
|
|
BuildRequires: libgcrypt-devel
|
2004-09-09 15:09:50 +00:00
|
|
|
BuildRequires: fontconfig
|
2004-09-09 15:09:57 +00:00
|
|
|
BuildRequires: GConf2-devel
|
2004-09-09 15:09:50 +00:00
|
|
|
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
|
2005-01-28 20:52:23 +00:00
|
|
|
BuildRequires: gnome-doc-utils
|
2004-09-09 15:09:26 +00:00
|
|
|
|
|
|
|
%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
|
2005-10-17 19:03:12 +00:00
|
|
|
%patch1 -p1 -b .fedora-docs
|
2005-12-16 16:53:12 +00:00
|
|
|
%patch2 -p1 -b .add-mime-handling
|
2005-12-16 17:42:38 +00:00
|
|
|
%patch3 -p1 -b .new-mimetype-for-docbook-xml
|
2004-09-09 15:09:26 +00:00
|
|
|
|
|
|
|
%build
|
2005-04-28 17:45:46 +00:00
|
|
|
%configure --with-mozilla=mozilla --disable-man --disable-info --disable-schemas-install
|
2004-09-09 15:09:26 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
|
|
|
2004-09-09 15:09:50 +00:00
|
|
|
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/*
|
|
|
|
|
2004-09-09 15:09:26 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-01-28 20:45:25 +00:00
|
|
|
%preun
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/yelp.schemas > /dev/null
|
2005-12-16 16:53:12 +00:00
|
|
|
update-desktop-database &> /dev/null ||:
|
2005-01-28 20:45:25 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/yelp.schemas > /dev/null
|
2005-12-16 16:53:12 +00:00
|
|
|
update-desktop-database &> /dev/null ||:
|
2005-01-28 20:45:25 +00:00
|
|
|
|
2005-07-13 18:47:26 +00:00
|
|
|
# update icon themes
|
|
|
|
touch %{_datadir}/icons/hicolor
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
|
|
fi
|
|
|
|
|
2005-01-28 20:45:25 +00:00
|
|
|
|
2004-09-09 15:09:26 +00:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2005-01-28 20:45:25 +00:00
|
|
|
%{_sysconfdir}/gconf/schemas/yelp.schemas
|
2004-09-09 15:09:50 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/bonobo
|
|
|
|
%{_datadir}/applications/*
|
2005-07-13 18:47:26 +00:00
|
|
|
%{_datadir}/icons/hicolor
|
2004-09-09 15:09:26 +00:00
|
|
|
%{_datadir}/yelp
|
|
|
|
|
|
|
|
%changelog
|
2005-12-16 16:53:12 +00:00
|
|
|
* Thu Dec 15 2005 David Malcolm <dmalcolm@redhat.com> - 2.13.2-2
|
|
|
|
- Patched to include DocBook mimetype in desktop file, and added preun and post
|
|
|
|
hooks to update-desktop-database (#175880)
|
2005-12-16 17:42:38 +00:00
|
|
|
- Patched to ensure that Yelp recognizes that it can handle the mimetype of the
|
|
|
|
documentation as reported by gnomevfs (also #175880)
|
2005-12-16 16:53:12 +00:00
|
|
|
|
2005-12-15 06:19:30 +00:00
|
|
|
* Thu Dec 15 2005 Matthias Clasen <mclasen@redhat.com> 2.13.2-1
|
|
|
|
- Update to 2.13.2
|
|
|
|
|
2005-12-09 22:43:57 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-30 19:45:10 +00:00
|
|
|
* Wed Nov 30 2005 Matthias Clasen <mclasen@redhat.com> - 2.13.1-6
|
|
|
|
- Update to 2.13.1
|
|
|
|
|
2005-10-19 23:36:23 +00:00
|
|
|
* Wed Oct 19 2005 Jeremy Katz <katzj@redhat.com> - 2.12.1-5
|
|
|
|
- build on ppc64 now that we have mozilla there again
|
|
|
|
|
2005-10-18 19:03:01 +00:00
|
|
|
* Tue Oct 18 2005 Christopher Aillon <caillon@redhat.com> - 2.12.1-4
|
|
|
|
- Rebuild
|
|
|
|
|
2005-10-17 19:03:12 +00:00
|
|
|
* Mon Oct 17 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.1-3
|
|
|
|
- Include the category General|Linux|Distributions|Other on the
|
|
|
|
title page
|
|
|
|
|
2005-10-17 18:09:58 +00:00
|
|
|
* Mon Oct 17 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.1-2
|
|
|
|
- Fix a double-free bug
|
|
|
|
|
2005-09-30 03:42:56 +00:00
|
|
|
* Thu Sep 29 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.1-1
|
|
|
|
- Update to 2.12.1
|
|
|
|
|
2005-09-08 17:37:27 +00:00
|
|
|
* Thu Sep 8 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.0-1
|
|
|
|
- Update to 2.12.0
|
|
|
|
|
2005-08-18 02:39:12 +00:00
|
|
|
* Wed Aug 17 2005 Jeremy Katz <katzj@redhat.com> - 2.11.1-5
|
|
|
|
- rebuild
|
|
|
|
|
2005-08-17 12:59:15 +00:00
|
|
|
* Wed Aug 17 2005 Ray Strode <rstrode@redhat.com> 2.11.1-4
|
|
|
|
- rebuild
|
|
|
|
|
2005-07-31 17:52:28 +00:00
|
|
|
* Sun Jul 31 2005 Christopher Aillon <caillon@redhat.com> 2.11.1-3
|
|
|
|
- Rebuild against newer mozilla
|
|
|
|
|
2005-07-20 03:28:12 +00:00
|
|
|
* Tue Jul 19 2005 Christopher Aillon <caillon@redhat.com> 2.11.1-2
|
|
|
|
- Rebuild against newer mozilla
|
|
|
|
|
2005-07-13 18:47:26 +00:00
|
|
|
* Wed Jul 13 2005 Matthias Clasen <mclasen@redhat.com> 2.11.1-1
|
|
|
|
- Newer upstream version
|
|
|
|
|
2005-05-19 16:10:29 +00:00
|
|
|
* Thu May 19 2005 Ray Strode <rstrode@redhat.com> 2.10.0-1
|
|
|
|
- Update to 2.10.0 (bug 157752, 146862).
|
|
|
|
|
2005-05-19 15:42:09 +00:00
|
|
|
* Thu May 19 2005 Christopher Aillon <caillon@redhat.com> 2.9.3-7
|
|
|
|
- Depend on mozilla 1.7.8
|
|
|
|
|
2005-04-28 17:45:46 +00:00
|
|
|
* Thu Apr 28 2005 Ray Strode <rstrode@redhat.com> 2.9.3-6
|
|
|
|
- Disable man support
|
|
|
|
- Disable info support
|
|
|
|
- Don't try to install schemas during install (bug 154035)
|
|
|
|
|
2005-04-18 17:19:00 +00:00
|
|
|
* Mon Apr 18 2005 Ray Strode <rstrode@redhat.com> 2.9.3-5
|
|
|
|
- Depend on mozilla 1.7.7
|
|
|
|
|
2005-04-04 23:23:57 +00:00
|
|
|
* Mon Apr 4 2005 Ray Strode <rstrode@redhat.com> 2.9.3-4
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-10 05:13:51 +00:00
|
|
|
* Wed Mar 9 2005 Christopher Aillon <caillon@redhat.com> 2.9.3-3
|
|
|
|
- Depend on mozilla 1.7.6
|
|
|
|
|
2005-03-05 09:14:07 +00:00
|
|
|
* Sat Mar 5 2005 Christopher Aillon <caillon@redhat.com> 2.9.3-2
|
|
|
|
- Rebuild against GCC 4.0
|
|
|
|
|
2005-01-28 20:45:25 +00:00
|
|
|
* Fri Jan 28 2005 Matthias Clasen <mclasen@redhat.com> 2.9.3-1
|
|
|
|
- Update to 2.9.3
|
|
|
|
|
2004-12-20 20:13:30 +00:00
|
|
|
* Mon Dec 20 2004 Christopher Aillon <caillon@redhat.com> 2.6.5-1
|
|
|
|
- Update to 2.6.5
|
|
|
|
|
2004-11-06 11:59:51 +00:00
|
|
|
* Sat Nov 6 2004 Marco Pesenti Gritti <mpg@redhat.com> 2.6.4-1
|
|
|
|
- Update to 2.6.4
|
|
|
|
|
2004-09-22 22:37:20 +00:00
|
|
|
* Wed Sep 22 2004 Christopher Aillon <caillon@redhat.com> 2.6.3-1
|
|
|
|
- Update to 2.6.3
|
|
|
|
|
2004-09-09 15:14:22 +00:00
|
|
|
* Fri Sep 03 2004 Matthias Clasen <mclasen@redhat.com> 2.6.2-2
|
|
|
|
- fix an translation problem
|
|
|
|
|
2004-09-09 15:14:20 +00:00
|
|
|
* Tue Aug 31 2004 Alex Larsson <alexl@redhat.com> 2.6.2-1
|
|
|
|
- update to 2.6.2
|
|
|
|
|
2004-09-09 15:13:42 +00:00
|
|
|
* Wed Jun 30 2004 Christopher Aillon <caillon@redhat.com> 2.6.1-1
|
|
|
|
- Update to 2.6.1
|
|
|
|
|
2004-09-09 15:13:36 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:12:21 +00:00
|
|
|
* Thu Apr 1 2004 Alex Larsson <alexl@redhat.com> 2.6.0-1
|
|
|
|
- update to 2.6.0
|
|
|
|
|
2004-09-09 15:12:14 +00:00
|
|
|
* Mon Mar 15 2004 Alex Larsson <alexl@redhat.com> 2.5.90-2
|
|
|
|
- Fix requirements
|
|
|
|
|
|
|
|
* Wed Mar 10 2004 Alex Larsson <alexl@redhat.com> 2.5.90-1
|
|
|
|
- update to 2.5.90
|
|
|
|
|
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Feb 25 2004 Alexander Larsson <alexl@redhat.com> 2.5.6-1
|
|
|
|
- update to 2.5.6
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:11:01 +00:00
|
|
|
* Wed Jan 28 2004 Alexander Larsson <alexl@redhat.com> 2.5.3-1
|
|
|
|
- update to 2.5.3
|
|
|
|
|
|
|
|
* Wed Dec 24 2003 Tim Waugh <twaugh@redhat.com> 2.4.0-2
|
|
|
|
- Fix g_strdup_printf usage in info2html (bug #111200, patch from
|
|
|
|
Miloslav Trmac).
|
|
|
|
|
2004-09-09 15:10:49 +00:00
|
|
|
* Tue Sep 9 2003 Alexander Larsson <alexl@redhat.com> 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 <alexl@redhat.com> 2.3.6-2
|
|
|
|
- info and manpages are utf8
|
|
|
|
|
|
|
|
* Wed Aug 20 2003 Alexander Larsson <alexl@redhat.com> 2.3.6-1
|
|
|
|
- Update for gnome 2.3
|
|
|
|
|
|
|
|
* Wed Jul 9 2003 Alexander Larsson <alexl@redhat.com> 2.2.3-1.E
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Mon Jul 7 2003 Alexander Larsson <alexl@redhat.com> 2.2.3-1
|
|
|
|
- update to 2.2.3
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:09:57 +00:00
|
|
|
* Fri Feb 14 2003 Jeremy Katz <katzj@redhat.com> 2.2.0-3
|
|
|
|
- fix buildrequires
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Jan 21 2003 Alexander Larsson <alexl@redhat.com> 2.2.0-1
|
|
|
|
- Update to 2.2.0
|
|
|
|
- Add libglade dependency
|
|
|
|
|
|
|
|
* Tue Jan 7 2003 Alexander Larsson <alexl@redhat.com> 2.1.4-1
|
|
|
|
- Updated to 2.1.4
|
|
|
|
|
|
|
|
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuild for all arches
|
|
|
|
|
2004-09-09 15:09:55 +00:00
|
|
|
* Mon Aug 12 2002 Alexander Larsson <alexl@redhat.com>
|
|
|
|
- Remove the strange copyright on the start page. Fixes #69106
|
|
|
|
|
2004-09-09 15:09:50 +00:00
|
|
|
* Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 1.0.2
|
|
|
|
- include libexecdir stuff
|
|
|
|
|
|
|
|
* Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild with new gail
|
|
|
|
- 1.0.1
|
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Tue Jun 18 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- put all the binaries in the file list... why is this package so hard?
|
|
|
|
|
|
|
|
* Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- put images in file list, this thing will be non-ugly yet
|
|
|
|
|
|
|
|
* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 1.0
|
|
|
|
- use desktop-file-install to install/munge .desktop files
|
|
|
|
- put the sgml stuff in file list
|
|
|
|
|
|
|
|
* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
|
2004-09-09 15:09:26 +00:00
|
|
|
* Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 0.10
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 0.8
|
|
|
|
|
|
|
|
* Fri May 3 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 0.6.1
|
|
|
|
|
|
|
|
* Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 0.6
|
|
|
|
|
|
|
|
* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
|
|
|
|
- Rebuild for new gnome2 libraries
|
|
|
|
|
|
|
|
* Mon Jan 28 2002 Alex Larsson <alexl@redhat.com>
|
|
|
|
- Initial build.
|