%define desktop_vendor endur %define name galeon %define version 2.0.5 %define release 4%{?dist} %define source galeon-2.0.5 %define gecko_ver 1.8.1.14 Summary: GNOME2 Web browser based on Mozilla Name: %{name} Version: %{version} Release: %{release} Source: %{name}-%{version}.tar.bz2 Patch0: galeon-2.0.3-plugins.patch Patch1: galeon-2.0.3-plugin-wrapper.patch URL: http://galeon.sourceforge.net License: GPLv2+ Group: Applications/Internet BuildRequires: firefox-devel, gettext, desktop-file-utils BuildRequires: gtk2-devel >= 2.4.0 BuildRequires: gnome-desktop-devel BuildRequires: libgnomeui-devel >= 2.5.2 BuildRequires: perl(XML::Parser) scrollkeeper BuildRequires: intltool Requires: gecko-libs = %{gecko_ver} Requires(post): desktop-file-utils Requires(postun): desktop-file-utils Requires(pre): GConf2 Requires(post): GConf2 Requires(preun): GConf2 Requires(post): scrollkeeper Requires(postun): scrollkeeper BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Galeon is a web browser built around Gecko (Mozilla's rendering engine) and Necko (Mozilla's networking engine). It's a GNOME web browser, designed to take advantage of as many GNOME technologies as makes sense. Galeon was written to do just one thing - browse the web. %prep %setup -q -n %{source} %patch0 -p1 -b .plugins %patch1 -p1 -b .wrapper %build %configure \ --without-debug \ --disable-nautilus-view \ --disable-werror \ --disable-schemas-install \ --disable-dependency-tracking \ --with-mozilla=firefox make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -f %{buildroot}%{_datadir}/applications/galeon.desktop rm -f $RPM_BUILD_ROOT%{_bindir}/galeon-config-tool # Overriding galeon *bluecurve* icon perl -pi -e 's|Icon=.+|Icon=%{_datadir}/pixmaps/galeon.png|g' galeon.desktop desktop-file-install --vendor %{desktop_vendor} \ --dir %{buildroot}%{_datadir}/applications \ --add-category Application \ galeon.desktop %find_lang galeon-2.0 find $RPM_BUILD_ROOT%{_libdir} -name \*.la -exec rm {} \; %clean rm -rf $RPM_BUILD_ROOT %post scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : update-desktop-database > /dev/null 2>&1 || : export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/galeon.schemas > /dev/null || : killall -HUP gconfd-2 || : %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/galeon.schemas > /dev/null || : killall -HUP gconfd-2 || : fi %postun scrollkeeper-update -q || : update-desktop-database > /dev/null 2>&1 || : %files -f galeon-2.0.lang %defattr(-, root, root) %{_bindir}/* %{_libdir}/bonobo/servers/* %config(noreplace) %{_sysconfdir}/gconf/schemas/* %config(noreplace) %{_sysconfdir}/sound/events/* %dir %{_datadir}/galeon %{_datadir}/galeon/* %{_datadir}/gnome-2.0/ui/* %{_datadir}/gnome/help/* %dir %{_datadir}/omf/galeon %{_datadir}/omf/galeon/* %dir %{_datadir}/sounds/galeon %{_datadir}/sounds/galeon/* %{_datadir}/pixmaps/* %{_datadir}/applications/%{desktop_vendor}-galeon.desktop %{_mandir}/man1/* %doc AUTHORS ChangeLog COPYING* FAQ* NEWS README* THANKS TODO %changelog * Fri Apr 25 2008 Matthias Haase - 2.0.5-4 - Rebuild with gecko-libs 1.8.1.14 (Firefox 2.0.0.14) * Fri Mar 28 2008 Matthias Haase - 2.0.5-3 - Update to version 2.0.5 - Rebuild with gecko-libs 1.8.1.13 (Firefox 2.0.0.13) * Thu Feb 14 2008 Matthias Haase - 2.0.4-6 - Rebuild with gecko-libs 1.8.1.12 (Firefox 2.0.0.12) * Wed Jan 23 2008 Matthias Haase - 2.0.4-2 - Update to version 2.0.4 - some patches for 2.0.3 now inside upstream - removed - fixed plugin-wrapper patch by Denis Leroy added - license more precisely * Sat Dec 1 2007 Matthias Haase - 2.0.3-20 - Rebuild with gecko-libs 1.8.1.10 (Firefox 2.0.0.10) * Thu Nov 15 2007 Matthias Haase - 2.0.3-19 - Rebuild with gecko-libs 1.8.1.9 (Firefox 2.0.0.9) * Wed Nov 14 2007 Matthias Haase - 2.0.3-18 - Added patch to fix image load preference (#292361) - Added patch to fix print dialog crash (#285661) * Tue Nov 13 2007 Matthias Haase - 2.0.3-17 - Rebuild for Fedora 8 - firefox-devel added to BuildRequires * Thu Oct 25 2007 Matthias Haase - 2.0.3-16 - Rebuild with gecko-libs 1.8.1.8 (Firefox 2.0.0.8) * Thu Jul 19 2007 Matthias Haase - 2.0.3-15 - Rebuild with gecko-libs 1.8.1.5 (Firefox 2.0.0.5) * Sat Jun 2 2007 Matthias Haase - 2.0.3-14 - Rebuild with gecko-libs 1.8.1.4 (Firefox 2.0.0.4) on Fedora 7 - Added patch of Denis Leroy to fix x86_64 plugin path - Added patch to desktop file to match desktop entry specification - Added noreplace to conffiles to make rpmlint happy * Wed Feb 28 2007 Matthias Haase - 2.0.3-12 - Rebuild against Firefox-1.5.0.10-1 * Wed Feb 14 2007 Matthias Haase - 2.0.3-11 - Rebuild against Firefox 1.5.0.9-3 * Sun Feb 4 2007 Matthias Haase - 2.0.3-10 - Rebuild against Firefox 1.5.0.9-2 * Thu Dec 21 2006 Matthias Haase - 2.0.3-9 - Rebuild against Firefox 1.5.0.9-1 * Tue Nov 14 2006 Matthias Haase - 2.0.3-8 - Rebuild * Wed Nov 8 2006 Matthias Haase - 2.0.3-7 - Rebuild against firefox 1.5.0.8-1 * Wed Nov 1 2006 Matthias Haase - 2.0.3-6 - Rebuild against firefox 1.5.0.7-8 * Thu Oct 26 2006 Matthias Haase - 2.0.3-5 - Rebuild for Fedora Core 6 - Rebuild against firefox, deps and description changed - Added patch of Denis Leroy to fix flash plugin crash * Tue Sep 19 2006 Matthias Haase - 2.0.3-4 - Rebuild - perl added to deps * Tue Sep 19 2006 Matthias Haase - 2.0.3-3 - Rebuild - some sync with the specfile of Fedora extras * Mon Sep 18 2006 Matthias Haase - 2.0.3-2 - Update to 2.0.3 - stringincl patch removed, the patch is obsolete now - 2.0.3 picked up this header fix only * Mon Sep 18 2006 Matthias Haase - 2.0.2-2 - Update to 2.0.2 - stringincl patch added - include fix for GaleonJS.cpp - debs fixed, preun section added * Thu May 4 2006 Matthias Haase - 2.0.1-4 - Rebuild against Mozilla 1.7.13-1.1 - required versions of mozilla and mozilla-devel removed - scrollkeeper added to the requires(postun) * Fri Mar 24 2006 Matthias Haase - 2.0.1-3 - Rebuild with increased release for FC5 * Sun Mar 5 2006 Matthias Haase - 2.0.1-2 - Update to 2.0.1 * Fri Feb 3 2006 Matthias Haase - 2.0.0-5 - Rebuild against Mozilla 1.7.12-1.5.2 - dist-tag added * Tue Nov 29 2005 Matthias Haase - 2.0.0-4 - Update to 2.0.0 * Wed Sep 28 2005 Matthias Haase - 1.3.21-16 - Rebuild against Mozilla 1.7.12 * Sat Sep 10 2005 Matthias Haase - 1.3.21-15 - Rebuild against Mozilla 1.7.10 (1.5.2) * Wed Aug 10 2005 Matthias Haase - 1.3.21-14 - desktop file: Changed category from network to internet * Fri Jul 22 2005 Matthias Haase - 1.3.21-10 - Rebuild against Mozilla 1.7.10 * Sun Jul 10 2005 Matthias Haase - 1.3.21-9 - Rebuild with --disable-nautilus view - Icon changed - *.la removed from $RPM_BUILD_ROOT%{_libdir} * Wed Jun 25 2005 Matthias Haase - 1.3.21-2 - Rebuild for Fedora Core 4 * Wed May 25 2005 Matthias Haase - 1.3.21-1 - Update to 1.3.21 * Sat May 21 2005 Matthias Haase - 1.3.20-4 - Rebuild against Mozilla 1.7.8 * Fri Apr 22 2005 Matthias Haase - 1.3.20-3 - Rebuild against Mozilla 1.7.7 * Thu Mar 24 2005 Matthias Haase - 1.3.20-2 - Rebuild against Mozilla 1.7.6 * Mon Mar 14 2005 Matthias Haase - 1.3.20-1 - Update to 1.3.20 * Wed Jan 19 2005 Matthias Haase - Update to 1.3.19 - Changes in the file list * Wed Nov 10 2004 Matthias Haase - Rebuild for Fedora Core 3 * Sat Nov 06 2004 Matthias Haase - Update to 1.3.18 - --with-mozilla-snapshot="1.7.2" as configure option removed - directories added for clean uninstall (suppress empty directories) * Tue Oct 05 2004 Matthias Haase - Build against new mozilla - Added --with-mozilla-snapshot="1.7.2" as configure option - This is required in order to build against mozilla 1.7._3_ - Some cleanups * Wed Aug 11 2004 Matthias Haase - Update to 1.3.17 * Thu Jul 08 2004 Matthias Haase - Update to 1.3.16 * Thu Jun 03 2004 Matthias Haase - Update to 1.3.15, requires gtk2 >= 2.4.0 - Requires and buildRequires updated to match FC2 - Rebuild for FC2 * Tue Mar 30 2004 Matthias Haase - Update to 1.3.14a * Fri Mar 19 2004 Matthias Haase - Initital build for FC1