X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=epiphany.spec;h=a7edb49281e7946db48ba4b386c1e718c2b8d890;hb=0cf5f9f8fb1a838f4e9223833a417dec266a0a95;hp=09d5d29dadd6b1c14ebd73a25c77fd811a36e45f;hpb=9604fe7a79303bebd2511ce709857dc5474f456e;p=packages%2Fepiphany.git diff --git a/epiphany.spec b/epiphany.spec index 09d5d29..a7edb49 100644 --- a/epiphany.spec +++ b/epiphany.spec @@ -7,15 +7,19 @@ 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.0 -Release: 5 +Version: 2.22.3 +Release: 1 License: GPL v2 Group: X11/Applications/Networking Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.22/%{name}-%{version}.tar.bz2 -# Source0-md5: 81ad67d1ad706930a295a7ed9887bf5f +# Source0-md5: 7d058b57cb3e992889e456848fcc89a9 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 +Patch6: %{name}-ssl_oldapi.patch URL: http://www.gnome.org/projects/epiphany/ BuildRequires: GConf2-devel >= 2.20.0 BuildRequires: NetworkManager-devel @@ -45,13 +49,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 +126,17 @@ Dokumentacja API Epiphany. %setup -q %patch0 -p1 %patch1 -p1 +%if "%{pld_release}" == "ti" %patch2 -p1 +%else +%patch3 -p1 +%endif +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 -sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS -mv po/sr\@{Latn,latin}.po +sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS +mv po/sr@{Latn,latin}.po %build %{__gnome_doc_prepare} @@ -141,9 +153,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}