]> git.pld-linux.org Git - packages/epiphany.git/blobdiff - epiphany.spec
- look for plugins in xulrunner directory not in mozilla one
[packages/epiphany.git] / epiphany.spec
index 97427b759cbf0d9fdb558cab895072ff74c5f9e7..e69edeede8c2cb64ed3391deff3ab32ca9922858 100644 (file)
@@ -2,20 +2,25 @@
 #Conditional build:
 %bcond_with    webkit          # Build with experimental webkit suppor instead of xulrunner
 #
-%define                basever         2.22
+%define                basever         2.24
 Summary:       Epiphany - gecko-based GNOME web browser
 Summary(es.UTF-8):     Epiphany - navigador Web de GNOME basado en gecko
 Summary(pl.UTF-8):     Epiphany - przeglÄ…darka WWW dla GNOME
 Name:          epiphany
-Version:       2.22.1.1
-Release:       2
+Version:       2.24.1
+Release:       3
 License:       GPL v2
 Group:         X11/Applications/Networking
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.22/%{name}-%{version}.tar.bz2
-# Source0-md5: 24bb8c430a6165b9c43a2ed0452cc6a5
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.24/%{name}-%{version}.tar.bz2
+# Source0-md5: 3276f4ca4bef98606f84fc64ce46c9c4
 Patch0:                %{name}-pld-homepage.patch
 Patch1:                %{name}-configure.patch
-Patch2:                %{name}-agent.patch
+Patch2:                %{name}-ti-agent.patch
+Patch3:                %{name}-agent.patch
+Patch4:                %{name}-lt.patch
+Patch5:                %{name}-libxul.patch
+Patch7:                %{name}-build_date.patch
+Patch8:                %{name}-xulrunner-plugins-dir.patch
 URL:           http://www.gnome.org/projects/epiphany/
 BuildRequires: GConf2-devel >= 2.20.0
 BuildRequires: NetworkManager-devel
@@ -45,13 +50,14 @@ BuildRequires:      libxslt-devel >= 1.1.20
 BuildRequires: pkgconfig
 BuildRequires: python-gnome-devel >= 2.20.0
 BuildRequires: python-pygtk-devel >= 2:2.12.0
+BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpmbuild(find_lang) >= 1.23
 BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper
 BuildRequires: startup-notification-devel >= 0.8
 %if %{without webkit}
 BuildRequires: xulrunner
-BuildRequires: xulrunner-devel >= 1.8.1.6-1.20070731.2
+BuildRequires: xulrunner-devel >= 1.9.0.1-1
 %endif
 Requires(post,postun): desktop-file-utils
 Requires(post,postun): gtk+2
@@ -121,10 +127,15 @@ Dokumentacja API Epiphany.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%if "%{pld_release}" == "ti"
 %patch2 -p1
-
-sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS
-mv po/sr\@{Latn,latin}.po
+%else
+%patch3 -p1
+%endif
+%patch4 -p1
+%patch5 -p1
+%patch7 -p1
+%patch8 -p1
 
 %build
 %{__gnome_doc_prepare}
@@ -141,9 +152,12 @@ mv po/sr\@{Latn,latin}.po
        --enable-dbus \
        %{?!with_webkit:--enable-gtk-doc} \
        --enable-network-manager \
-       --enable-python\
-       --enable-spell-checker \
-       %{?with_webkit:--with-engine=webkit} \
+       --enable-python \
+       %if %{with webkit}
+       --with-engine=webkit \
+       %else
+       --with-gecko=libxul-embedding \
+       %endif
        --with-html-dir=%{_gtkdocdir}
 %{__make}
 
This page took 0.095746 seconds and 4 git commands to generate.