%define minmozver 5:1.7 Summary: Epiphany - gecko-based GNOME web browser Summary(es): Epiphany - navigador Web de GNOME basado en gecko Summary(pl): Epiphany - przeglądarka WWW dla GNOME Name: epiphany Version: 1.4.1 Release: 1 License: GPL Group: X11/Applications/Networking Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/1.4/%{name}-%{version}.tar.bz2 # Source0-md5: 99448e2ce22825800b0834a0e56e0a26 Patch0: %{name}-first-tab.patch Patch1: %{name}-desktop.patch Patch2: %{name}-mozilla_includes.patch Patch3: %{name}-mozilla.patch URL: http://www.gnome.org/projects/epiphany/ BuildRequires: GConf2-devel >= 2.7.92 BuildRequires: ORBit2-devel >= 1:2.11.2 BuildRequires: autoconf BuildRequires: automake BuildRequires: gnome-common >= 2.8.0 BuildRequires: gnome-vfs2-devel >= 2.8.0 BuildRequires: gtk+2-devel >= 2:2.4.4 BuildRequires: gtk-doc BuildRequires: intltool >= 0.31 BuildRequires: libbonoboui-devel >= 2.6.1 BuildRequires: libglade2-devel >= 1:2.4.0 BuildRequires: libgnomeui-devel >= 2.7.92 BuildRequires: libxml2-devel >= 2.6.11 BuildRequires: mozilla-devel >= %{minmozver} BuildRequires: nautilus-devel >= 2.8.0 BuildRequires: pango-devel >= 1:1.5.2 BuildRequires: rpm-build >= 4.1-10 BuildRequires: scrollkeeper Requires(post): GConf2 Requires(post,postun): scrollkeeper Requires: gnome-icon-theme >= 2.7.90 Requires: gtk+2 >= 2:2.4.4 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded) BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # can be provided by mozilla or mozilla-embedded %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so %description GNOME browser based on Gecko (Mozilla rendering engine). %description -l es Navigador Web de GNOME basado en Gecko (el engine plasmante de Mozilla). %description -l pl Epiphany jest przeglądarką WWW bazującą na Gecko (mechanizmie interpretacji stron Mozilli). %package devel Summary: Epiphany header files Summary(es): Ficheros de cabecera de Epiphany Summary(pl): Pliki nagłówkowe Epiphany Group: X11/Applications/Networking # doesn't require base Requires: gtk+2-devel >= 2:2.4.4 Requires: libxml2-devel >= 2.6.11 %description devel Epiphany header files for plugin development. %description devel -l es Ficheros de cabecera de Epiphany para desarrollar plug-ins. %description devel -l pl Pliki nagłówkowe Epiphany do tworzenia wtyczek. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build rm -f acconfig.h cp /usr/share/automake/mkinstalldirs . glib-gettextize --copy --force intltoolize --copy --force gnome-doc-common --copy %{__libtoolize} %{__aclocal} %{__autoheader} %{__automake} %{__autoconf} %configure \ --disable-schemas-install \ --enable-nautilus-view=yes \ --enable-gtk-doc \ --with-html-dir=%{_gtkdocdir} # CFLAGS is a hack for gcc 3.3 %{__make} \ CFLAGS="%{rpmcflags} -fno-strict-aliasing" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ HTML_DIR=%{_gtkdocdir} rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no # epiphany-2.0.mo, but gnome/help/epiphany %find_lang %{name}-2.0 --with-gnome --all-name %clean rm -rf $RPM_BUILD_ROOT %post umask 022 %gconf_schema_install /usr/bin/scrollkeeper-update [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: %postun umask 022 /usr/bin/scrollkeeper-update [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 %files -f %{name}-2.0.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_bindir}/* %{_libdir}/bonobo/servers/* %{_datadir}/%{name} %{_desktopdir}/* %{_datadir}/application-registry/* %{_pixmapsdir}/* %{_sysconfdir}/gconf/schemas/* %{_omf_dest_dir}/* %{_libdir}/%{name} %files devel %defattr(644,root,root,755) %{_includedir}/epiphany-1.4 %{_pkgconfigdir}/*.pc %{_gtkdocdir}/*