# To determine the current gecko-devel version: # rpm -q --provides firefox-devel | grep gecko-devel %define gecko_ver 1.9 ### Abstract ### Name: devhelp Version: 0.16.1 Release: 4%{?dist} License: GPLv2+ Group: Development/Tools Summary: API document browser URL: http://developer.imendio.com/projects/devhelp Source: http://download.gnome.org/sources/devhelp/0.16/devhelp-%{version}.tar.bz2 # http://bugzilla.gnome.org/show_bug.cgi?id=499050 Patch: devhelp-0.16.1-xulrunner.patch BuildRoot: %{_tmppath}/devhelp-%{version}-%{release}-root ### Dependencies ### Requires(pre): GConf2 >= 2.14 Requires(preun): GConf2 >= 2.14 Requires(post): GConf2 >= 2.14 Requires: gecko-libs = %{gecko_ver} ### Build Dependencies ### BuildRequires: desktop-file-utils >= 0.3 BuildRequires: gecko-devel = %{gecko_ver} BuildRequires: gettext BuildRequires: intltool BuildRequires: libgnomeui-devel >= 2.2.0 BuildRequires: libwnck-devel >= 2.18.0 %description An API document browser for GNOME 2. %package devel Summary: Library to embed Devhelp in other applications. Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gnome-vfs2-devel >= 2.2.0 Requires: gtk2-devel >= 2.2.0 Requires: libgnomeui-devel >= 2.2.0 Requires: libwnck-devel >= 2.19.3 Requires: pkgconfig %description devel Library of Devhelp for embedding into other applications %prep %setup -q -n devhelp-%{version} %patch -p1 -b .xl %build %configure --disable-static --with-gecko=xulrunner make %{?_smp_mflags} %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} install unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL desktop-file-install --vendor gnome \ --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/devhelp.desktop find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';' rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books %find_lang devhelp %clean rm -rf $RPM_BUILD_ROOT %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || : fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || : fi %post /sbin/ldconfig export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || : touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %postun /sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %files -f devhelp.lang %defattr(-, root, root) %doc AUTHORS COPYING NEWS README %{_bindir}/devhelp %{_libdir}/libdevhelp*.so.* %{_datadir}/applications/*.desktop %{_datadir}/devhelp %{_sysconfdir}/gconf/schemas/*.schemas %{_datadir}/icons/hicolor/48x48/apps/devhelp.png %{_datadir}/icons/hicolor/scalable/apps/devhelp.svg %{_libdir}/gedit-2/plugins/devhelp %{_libdir}/gedit-2/plugins/devhelp.gedit-plugin %files devel %defattr(-,root,root) %{_prefix}/include/devhelp-1.0 %{_libdir}/libdevhelp*.so %{_libdir}/pkgconfig/* %changelog * Thu Nov 22 2007 Martin Stransky - 0.16.1-4.fc9 - Rebuild against xulrunner * Fri Nov 09 2007 Matthew Barnes - 0.16.1-3.fc9 - Rebuild against gecko-libs 1.8.1.9. * Thu Nov 01 2007 Matthew Barnes - 0.16.1-2.fc9 - Rebuild against gecko-libs 1.8.1.8. * Sat Oct 06 2007 Matthew Barnes - 0.16.1-1.fc8 - Update to 0.16.1 * Tue Sep 11 2007 Matthew Barnes - 0.16-1.fc8 - Update to 0.16 * Wed Aug 8 2007 Christopher Aillon - 0.15-4 - Rebuild against newer gecko * Mon Aug 6 2007 Matthias Clasen - 0.15-3 - Update license field * Fri Jul 20 2007 Kai Engert - 0.15-2.fc8 - Rebuild against newer gecko * Mon Jun 18 2007 Matthew Barnes - 0.15-1.fc8 - Update to 0.15 * Tue Jun 05 2007 - Bastien Nocera - 0.14-4 - Rebuild again * Mon Jun 04 2007 - Bastien Nocera - 0.14-3 - Rebuild against new libwnck * Fri May 25 2007 Christopher Aillon - 0.14-2 - Rebuild against newer gecko * Fri May 18 2007 Matthew Barnes - 0.14-1.fc8 - Update to 0.14 - Remove patch for RH bug #230837 (fixed upstream). * Mon Apr 23 2007 Matthew Barnes - 0.13-7.fc7 - Add patch for RH bug #230837 (initialize GThread). * Sat Apr 21 2007 Matthias Clasen - 0.13-6 - Don't install INSTALL * Fri Mar 23 2007 Christopher Aillon - 0.13-5 - Rebuild against newer gecko * Wed Feb 28 2007 Matthew Barnes - 0.13-4 - Rebuild against newer gecko. * Mon Feb 5 2007 Matthias Clasen - 0.13-3 - Fix scriptlet errors * Sun Feb 04 2007 Matthew Barnes - 0.13-2.fc7 - Incorporate suggestions from package review. * Sat Feb 03 2007 Matthew Barnes - 0.13-1.fc7 - Update to 0.13 - Clean up the spec file. - Remove devhelp-0.12-transparent.patch (fixed upstream). * Thu Dec 21 2006 Christopher Aillon 0.12-10 - Rebuild against newer gecko * Sat Nov 25 2006 Matthias Clasen - 0.12-9 - Own the /usr/share/devhelp/books directory * Fri Oct 27 2006 Christopher Aillon - 0.12-8 - Rebuild against newer gecko * Wed Oct 18 2006 Matthias Clasen - 0.12-7 - Fix scripts according to the packaging guidelines - Require pkgconfig in the -devel package * Thu Oct 12 2006 Christopher Aillon - 0.12-6.fc6 - Update requires to the virtual gecko version instead of a specific app * Thu Sep 14 2006 Christopher Aillon - 0.12-5.fc6 - Rebuild * Mon Aug 14 2006 Matthias Clasen - 0.12-4.fc6 - Fix transparent headers * Mon Aug 14 2006 Matthew Barnes - 0.12-3 - Add missing Requires to devel package. * Thu Aug 10 2006 Matthew Barnes - 0.12-2 - Rebuild against firefox, again. * Sat Jul 29 2006 Matthias Clasen - 0.12-1 - Update to 0.12 - Rebuild against firefox * Wed Jul 12 2006 Jesse Keating - 0.11-4 - rebuild - bump mozver * Sun Feb 12 2006 Christopher Aillon - 0.11-2 - Rebuild * Tue Feb 07 2006 Jesse Keating - 0.11-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Sun Dec 18 2005 Ray Strode - 0.11-1 - Update to 0.11 * Fri Dec 09 2005 Jesse Keating - rebuilt * Tue Oct 18 2005 Christopher Aillon - 0.10-6 - Build on ppc64 * Wed Aug 17 2005 Jeremy Katz - 0.10-5 - fix the build * Wed Aug 17 2005 Ray Strode 0.10.0-4 - rebuild * Sun Jul 31 2005 Christopher Aillon 0.10.0-3 - Rebuild against new mozilla * Tue Jul 19 2005 Christopher Aillon 0.10.0-2 - Rebuild against new mozilla - Add builds for ia64 s390 s390x * Thu May 19 2005 Ray Strode 0.10.0-1 - Update to 0.10.0 (bug #157753) * Fri May 13 2005 Christopher Aillon 0.9.3-7 - Depend on mozilla 1.7.8 * Sat Apr 16 2005 Christopher Aillon 0.9.3-6 - Depend on mozilla 1.7.7 * Thu Apr 14 2005 Ray Strode 0.9.3-5 - Don't crash on typeahead (bug #154398) * Wed Mar 9 2005 Christopher Aillon 0.9.3-4 - Depend on mozilla 1.7.6 * Sat Mar 5 2005 Christopher Aillon 0.9.3-3 - Rebuild against GCC 4.0 * Sun Dec 19 2004 Christopher Aillon 0.9.3-2 - Require mozilla 1.7.5 * Sun Dec 19 2004 Christopher Aillon 0.9.3-1 - Update to 0.9.3 * Mon Oct 11 2004 Christopher Aillon 0.9.2-2 - Rebuild to add ppc once again. * Wed Sep 29 2004 Christopher Aillon 0.9.2-1 - Update to 0.9.2 - Remove accel patch; its upstreamed now. * Sun Sep 26 2004 Christopher Blizzard 0.9.1-6 - Rebuild without explicit mozilla release * Fri Sep 24 2004 Christopher Blizzard 0.9.1-5 - Rebuild with explicit Mozilla version requires * Wed Sep 22 2004 Christopher Aillon 0.9.1-4 - Rebuilt to pick up new mozilla changes - Drop ppc from the build since mozilla doesn't build there anymore. * Wed Aug 25 2004 Christopher Aillon 0.9.1-3 - Add Johan Svedberg's patch to add accelerators for back and forward * Mon Aug 09 2004 Christopher Aillon - Rebuild * Wed Aug 04 2004 Christopher Aillon - Update to 0.9.1 - Remove ld-library patch. It is upstream now. * Wed Jun 23 2004 Christopher Aillon - Update ExclusiveArch * Tue Jun 22 2004 Christopher Aillon - rebuilt * Tue Jun 15 2004 Elliot Lee - rebuilt * Wed Apr 21 2004 Colin Walters 0.9-3 - Update patch to avoid (unlikely) security issue noticed by Jeremy Katz. * Mon Apr 15 2004 Colin Walters 0.9-2 - Apply patch from George Karabin to export LD_LIBRARY_PATH (closes bug 120220). * Fri Apr 2 2004 Mark McLoughlin 0.9-1 - Update to 0.9 - Install the schemas correctly - Package /usr/bin/devhelp-bin - Update requires/buildrequires - Only build on platforms where mozilla is available * Tue Mar 02 2004 Elliot Lee - rebuilt * Thu Feb 26 2004 Alexander Larsson 0.8.1-1 - update to 0.8.1 * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Dec 1 2003 Jonathan Blandford 0.7.0-1 - new version - Remove .la and .a files. * Wed Jul 30 2003 Jonathan Blandford - remove original devhelp desktop file. * Wed Jun 04 2003 Elliot Lee - rebuilt * Sat May 24 2003 Florian La Roche - add find_lang