# gecko backend was removed 2.27.0 %define with_gecko 0 %define with_webkit 1 %define gecko_version 1.9.1 %define webkit_version 1.1.15 ExclusiveArch: %ix86 ppc x86_64 alpha Summary: GNOME web browser based on Gecko/WebKit Summary(ja): Gecko/WebKit レンダリングエンジンベースの GNOME ウェブブラウザ Name: epiphany Version: 2.30.0 Release: 1%{?_dist_release} License: GPL Group: Applications/Internet URL: http://www.gnome.org/projects/epiphany/ Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.28/%{name}-%{version}.tar.bz2 Patch1: epiphany-2.26.2-gecko191.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: gnome-icon-theme >= 2.30.0 %if %{with_gecko} Requires: gecko-libs %endif Requires(post,pre,preun): GConf2 Requires(post,postun): scrollkeeper, shared-mime-info %if %{with_gecko} BuildRequires: gecko-devel-unstable >= %{gecko_version} %endif %if %{with_webkit} BuildRequires: WebKit-gtk-devel >= %{webkit_version} %endif BuildRequires: glib2-devel >= 2.24.0 BuildRequires: gtk2-devel >= 2.20.0 BuildRequires: libxml2-devel >= 2.6.12 BuildRequires: libxslt-devel >= 1.1.7 BuildRequires: libnotify-devel >= 0.4.0 BuildRequires: dbus-glib-devel >= 0.35 BuildRequires: libsoup-devel >= 2.30.0 BuildRequires: gnome-desktop-devel >= 2.30.0 BuildRequires: GConf2-devel BuildRequires: nss-devel BuildRequires: avahi-gobject-devel >= 0.6.22 BuildRequires: NetworkManager-devel BuildRequires: iso-codes BuildRequires: intltool >= 0.40 BuildRequires: libICE-devel BuildRequires: libSM-devel BuildRequires: libgnome-keyring-devel BuildRequires: gobject-introspection-devel BuildRequires: gir-repository-devel BuildRequires: gnome-doc-utils %description epiphany is a simple GNOME web browser based on the Mozilla rendering engine %description -l ja epiphany は Mozilla レンダリングエンジンベースのシンプルな GNOME ウェブブラウザです。 %prep %setup -q #patch1 -p1 %build MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//') export RPM_OPT_FLAGS=$MOZ_OPT_FLAGS %configure \ %if %{with_gecko} --with-gecko=libxul-embedding \ %endif %if %{with_webkit} --with-engine=webkit \ %endif --enable-zeroconf \ --enable-network-manager \ --disable-scrollkeeper \ --without-ca-file %__make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %find_lang %{name} --with-gnome rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/*/plugins/*.la rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` SCHEMAS="epiphany.schemas epiphany-lockdown.schemas" for S in $SCHEMAS; do gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$S > /dev/null done fi %post touch --no-create %{_datadir}/icons/hicolor >& /dev/null ||: export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` SCHEMAS="epiphany.schemas epiphany-lockdown.schemas" for S in $SCHEMAS; do gconftool-2 --makefile-install-rule /etc/gconf/schemas/$S > /dev/null done %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` SCHEMAS="epiphany.schemas epiphany-lockdown.schemas" for S in $SCHEMAS; do gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$S > /dev/null done fi %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor >& /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/hicolor >& /dev/null ||: update-desktop-database %{_datadir}/applications >& /dev/null ||: scrollkeeper-update >& /dev/null ||: fi %posttrans gtk-update-icon-cache -q %{_datadir}/icons/hicolor >& /dev/null ||: update-desktop-database %{_datadir}/applications >& /dev/null ||: scrollkeeper-update >& /dev/null ||: %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog* COPYING* NEWS README %{_sysconfdir}/gconf/schemas/epiphany*.schemas %{_bindir}/epiphany %{_includedir}/epiphany/* %{_libdir}/pkgconfig/epiphany*.pc %{_libdir}/girepository-1.0/Epiphany-2.29.typelib %if %{with_gecko} %{_libdir}/epiphany %endif %{_datadir}/gir-1.0/Epiphany-2.29.gir #{_datadir}/pygtk/*/defs/* %{_datadir}/applications/*.desktop %{_datadir}/epiphany %{_datadir}/gtk-doc/html/* %{_datadir}/icons/* %{_datadir}/aclocal/* %{_datadir}/dbus-1/services/* %{_mandir}/man1/epiphany.1* %changelog * Sat Apr 17 2010 Yoji TOYODA 2.30.0-1 - new upstream release - add BuildRequires: gobject-introspection-devel, gir-repository-devel - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel - add configure option (--without-ca-file) - remove unrecognized configure option (--with-engine) * Sat Jan 09 2010 Ryoichi INAGAKI 2.28.2-1 - new upstream release - added BR: libICE-devel, libSM-devel and gnome-keyring-devel * Sat Nov 07 2009 Ryoichi INAGAKI 2.28.1-1 - new upstream release * Mon Jul 27 2009 Daisuke SUZUKI 2.26.3-2 - run gtk-update-icon-cache in %%post/postun script. * Wed Jul 01 2009 Daisuke SUZUKI 2.26.3-1 - new upstream release * Tue Jun 30 2009 Daisuke SUZUKI 2.26.2-2 - rebuild with gecko-1.9.1 * Thu May 28 2009 Daisuke SUZUKI 2.26.2-1 - new upstream release * Sun Mar 22 2009 Daisuke SUZUKI 2.26.0-1 - new upstream release - build with xulrunner-1.9.0.7 * Wed Oct 22 2008 Daisuke SUZUKI 2.24.1-1 - new upstream release * Wed Oct 01 2008 Daisuke SUZUKI 2.24.0.1-2 - build with gecko-1.9.0.3 instead of WebKit. - WebKit port is unstable yet. - enable zeroconf, NetworkManager support * Thu Sep 25 2008 Daisuke SUZUKI 2.24.0.1-1 - new upstream release * Thu Jul 17 2008 Daisuke SUZUKI 2.22.1.1-2vl5 - build with WebKit instead of gecko. * Sun Apr 13 2008 Ryoichi INAGAKI 2.22.1.1-1vl5 - new upstream release - added %%pre and %%preun section * Fri Aug 17 2007 Ryoichi INAGAKI 2.18.3-0vl1 - new upstream release - rebuilt with firefox-2.0.0.6-0vl3 * Sun Jul 08 2007 MATSUBAYASHI Kohji 2.18.2-0vl2 - add BuildRequires: gnome-python * Sun Jun 10 2007 Ryoichi INAGAKI 2.18.2-0vl1 - new upstream release - rebuilt with new toolchain and firefox-2.0.0.4-0vl6 * Sun Apr 29 2007 Daisuke SUZUKI 2.18.1-0vl1 - new upstream release * Tue Nov 21 2006 Kazutaka HARADA 2.14.3-0vl1 - source update - add Patch0 to build with firefox 2.0 - add BuildRequires: pygtk2-devel * Sun Jun 04 2006 Daisuke SUZUKI 2.14.2.1-0vl1 - new upstream release * Fri Apr 14 2006 Daisuke SUZUKI 2.14.1-0vl2 - rebuild with firefox-1.5.0.2-0vl4 * Fri Apr 14 2006 Daisuke SUZUKI 2.14.1-0vl1 - new upstream release - build with firefox-1.5.0.2 * Tue Mar 14 2006 Daisuke SUZUKI 2.14.0-0vl1 - new upstream release * Thu Feb 02 2006 Daisuke SUZUKI 1.8.3-0vl1 - new upstream release - build with firefox-1.5.0.1 * Tue Sep 27 2005 Daisuke SUZUKI 1.8.0-0vl1 - new upstream release - build with mozilla-1.7.12 * Fri May 13 2005 Daisuke SUZUKI 1.6.3-0vl2 - rebuild with mozilla-1.7.8 * Sun Apr 24 2005 Daisuke SUZUKI 1.6.3-0vl1 - new upstream release * Sun Apr 17 2005 Daisuke SUZUKI 1.6.2-0vl1 - new upstream release - build with mozilla-1.7.7 * Fri Apr 1 2005 Daisuke SUZUKI 1.6.0-0vl2 - rebuild with mozilla-1.7.6 * Wed Mar 30 2005 Daisuke SUZUKI 1.6.0-0vl1 - new upstream release * Sun Dec 26 2004 Daisuke SUZUKI 1.4.7-0vl1 - new upstream release - build with mozilla-1.7.5 * Tue Nov 30 2004 Daisuke SUZUKI 1.4.6-0vl1 - new upstream release * Tue Nov 16 2004 Daisuke SUZUKI 1.4.5-0vl1 - new upstream release * Mon Sep 20 2004 Daisuke SUZUKI 1.2.8-0vl2 - rebuild with mozilla-1.7.3 * Wed Aug 18 2004 Daisuke SUZUKI 1.2.8-0vl1 - new upstream release - build with mozilla-1.7.2 - add Patch10 to build with gnome-2.4 * Wed Jan 21 2004 Satoshi MACHINO 1.0.7-0vl1 - new upstream version -- dropped patch10 - changed URL * Fri Jan 9 2004 Tomoya TAKA 1.0.6-0vl3 - add alpha into ExclusiveArch * Mon Dec 29 2003 Daisuke SUZUKI 1.0.6-0vl2 - rebuild with mozilla-1.5.1 * Sat Dec 6 2003 Ryoichi INAGAKI 1.0.6-0vl1 - new upstream release * Sat Oct 18 2003 Daisuke SUZUKI 1.0.3-0vl1 - new upstream release * Thu Sep 11 2003 Daisuke SUZUKI 1.0-0vl2 - fixed missing locale files * Thu Sep 11 2003 Daisuke SUZUKI 1.0-0vl1 - new upstream release * Thu Sep 04 2003 Daisuke SUZUKI 0.9.3-0vl1 - new upstream release * Sun Jul 20 2003 Daisuke SUZUKI 0.8.0-0vl1 - new upstream release * Sun Jul 06 2003 Daisuke SUZUKI 0.7.3-0vl1 - new upstream release - build with mozilla 1.4 * Sat Jun 07 2003 Daisuke SUZUKI 0.7.0-0vl1 - new upstream release * Thu Jun 05 2003 Daisuke SUZUKI 0.6.1-0vl1 - build for Vine Linux * Mon Jun 2 2003 Elliot Lee 0.6.1-2 - Rebuild to fix broken mozilla dep, patch for mozilla 1.4 * Mon May 19 2003 Jeremy Katz 0.6.1-1 - 0.6.1 * Fri May 9 2003 Jeremy Katz 0.6.0-4 - add patch to fix gint/gpointer conversion bugs for 64bit arches * Fri May 9 2003 Jeremy Katz 0.6.0-3 - only build on arches mozilla is built on * Fri May 9 2003 Jeremy Katz 0.6.0-2 - rebuild against new mozilla, make mozilla requires dynamic * Sun May 4 2003 Jeremy Katz 0.6.0-1 - update to 0.6.0 - fix tyop in %%postun * Wed Apr 16 2003 Bill Nottingham 0.5.0-3 - make it build with mozilla-1.4 (shouldn't affect moz-1.2/moz-1.3 builds) * Mon Apr 14 2003 Jeremy Katz 0.5.0-2 - add some buildrequires, prereq GConf2 - disable building nautilus view * Sun Apr 13 2003 Jeremy Katz - Initial build.