]> git.pld-linux.org Git - packages/epiphany.git/blobdiff - epiphany.spec
- BR: docbook-dtd412-xml
[packages/epiphany.git] / epiphany.spec
index c3b836d65dc3c9c5164687583ae958a57224c959..c3386cabbb56178f89ca88d8f75460581816d653 100644 (file)
@@ -1,96 +1,65 @@
-#
-#Conditional build:
-%bcond_with    webkit          # Build with experimental webkit suppor instead of xulrunner
-#
-%define                basever         2.24
-Summary:       Epiphany - gecko-based GNOME web browser
-Summary(es.UTF-8):     Epiphany - navigador Web de GNOME basado en gecko
+%define                basever         2.28
+Summary:       Epiphany - WebKit-based GNOME web browser
+Summary(es.UTF-8):     Epiphany - navigador Web de GNOME basado en WebKit
 Summary(pl.UTF-8):     Epiphany - przeglądarka WWW dla GNOME
 Name:          epiphany
-Version:       2.24.0.1
-Release:       1
+Version:       2.28.1
+Release:       2
 License:       GPL v2
 Group:         X11/Applications/Networking
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.24/%{name}-%{version}.tar.bz2
-# Source0-md5: 24e284d77e782faeec219574def7f34f
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.28/%{name}-%{version}.tar.bz2
+# Source0-md5: 7a8b885a4894d2a9e979b8cb8898db1e
 Patch0:                %{name}-pld-homepage.patch
-Patch1:                %{name}-configure.patch
-Patch2:                %{name}-ti-agent.patch
-Patch3:                %{name}-agent.patch
-Patch4:                %{name}-lt.patch
-Patch5:                %{name}-libxul.patch
-Patch7:                %{name}-build_date.patch
 URL:           http://www.gnome.org/projects/epiphany/
-BuildRequires: GConf2-devel >= 2.20.0
+BuildRequires: GConf2-devel >= 2.28.0
 BuildRequires: NetworkManager-devel
-BuildRequires: ORBit2-devel >= 1:2.14.9
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.9
+BuildRequires: avahi-gobject-devel >= 0.6.22
 BuildRequires: dbus-glib-devel >= 0.73
-BuildRequires: enchant-devel >= 1.0
+BuildRequires: docbook-dtd412-xml
+BuildRequires: gettext-devel
 BuildRequires: gnome-common >= 2.20.0
-BuildRequires: gnome-desktop-devel >= 2.20.0
+BuildRequires: gnome-keyring-devel >= 2.28.0
 BuildRequires: gnome-doc-utils >= 0.12.0
-BuildRequires: gnome-vfs2-devel >= 2.22.0
-BuildRequires: gtk+2-devel >= 2:2.12.0
+BuildRequires: gtk+2-devel >= 2:2.16.0
 BuildRequires: gtk-doc >= 1.8
-%if %{with webkit}
-BuildRequires: gtk-webkit-devel
-BuildRequires: libssh2-devel
-%endif
-BuildRequires: intltool >= 0.36.2
+BuildRequires: gtk-webkit-devel >= 1.1.15
+BuildRequires: intltool >= 0.40.0
 BuildRequires: iso-codes >= 0.53
-BuildRequires: libglade2-devel >= 1:2.6.2
-BuildRequires: libgnomeprintui-devel >= 2.18.0
-BuildRequires: libgnomeui-devel >= 2.22.0
+BuildRequires: libicu-devel
+BuildRequires: libnotify-devel >= 0.4
+BuildRequires: libsoup-gnome-devel >= 2.28.0
 BuildRequires: libtool
 BuildRequires: libxml2-devel >= 1:2.6.28
 BuildRequires: libxslt-devel >= 1.1.20
+BuildRequires: nss-devel
 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: rpmbuild(macros) >= 1.364
 BuildRequires: scrollkeeper
 BuildRequires: startup-notification-devel >= 0.8
-%if %{without webkit}
-BuildRequires: xulrunner
-BuildRequires: xulrunner-devel >= 1.9.0.1-1
-%endif
 Requires(post,postun): desktop-file-utils
 Requires(post,postun): gtk+2
 Requires(post,postun): hicolor-icon-theme
 Requires(post,postun): scrollkeeper
 Requires(post,preun):  GConf2
 Requires:      dbus >= 1.0.2
-Requires:      gnome-icon-theme >= 2.22.0
-Requires:      libgnomeui >= 2.22.0
-%if %{without webkit}
-%requires_eq   xulrunner
-%endif
-Obsoletes:     python-epiphany
+Requires:      gnome-icon-theme >= 2.26.0
+Provides:      wwwbrowser
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%if %{without webkit}
-# can be provided by mozilla or mozilla-embedded
-%define                _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
-# we have strict deps for it
-%define                _noautoreq      libxpcom.so
-%endif
-
 %description
-GNOME browser based on Gecko (Mozilla rendering engine).
+GNOME browser based on WebKit.
 
 %description -l es.UTF-8
-Navigador Web de GNOME basado en Gecko (el engine plasmante de
-Mozilla).
+Navigador Web de GNOME basado en WebKit.
 
 %description -l pl.UTF-8
-Epiphany jest przeglądarką WWW bazującą na Gecko (mechanizmie
-interpretacji stron Mozilli).
+Epiphany jest przeglądarką WWW bazującą na WebKit.
 
 %package devel
 Summary:       Epiphany header files
@@ -98,8 +67,9 @@ Summary(es.UTF-8):    Ficheros de cabecera de Epiphany
 Summary(pl.UTF-8):     Pliki nagłówkowe Epiphany
 Group:         X11/Applications/Networking
 # doesn't require base
-Requires:      gtk+2-devel >= 2:2.12.0
-Requires:      libxslt-devel >= 1.1.20
+Requires:      gtk+2-devel >= 2:2.16.0
+Requires:      gtk-webkit-devel >= 1.1.15
+Requires:      libxml2-devel >= 1:2.6.28
 
 %description devel
 Epiphany header files for plugin development.
@@ -125,15 +95,6 @@ Dokumentacja API Epiphany.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%if "%{pld_release}" == "ti"
-%patch2 -p1
-%else
-%patch3 -p1
-%endif
-%patch4 -p1
-%patch5 -p1
-%patch7 -p1
 
 %build
 %{__gnome_doc_prepare}
@@ -146,17 +107,11 @@ Dokumentacja API Epiphany.
 %{__automake}
 %{__autoconf}
 %configure \
-       --disable-schemas-install \
-       --enable-dbus \
-       %{?!with_webkit:--enable-gtk-doc} \
+       --with-distributor-name="PLD Linux" \
        --enable-network-manager \
-       --enable-python \
-       %if %{with webkit}
-       --with-engine=webkit \
-       %else
-       --with-gecko=libxul-embedding \
-       %endif
-       --with-html-dir=%{_gtkdocdir}
+       --enable-gtk-doc \
+       --with-html-dir=%{_gtkdocdir} \
+       --disable-schemas-install
 %{__make}
 
 %install
@@ -164,10 +119,8 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       HTML_DIR=%{_gtkdocdir}
+       DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/plugins/*.la
 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/LowContrastLargePrint
 
 %find_lang %{name} --with-gnome --with-omf
@@ -176,18 +129,14 @@ rm -rf $RPM_BUILD_ROOT%{_iconsdir}/LowContrastLargePrint
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install epiphany-fonts.schemas
 %gconf_schema_install epiphany-lockdown.schemas
-%gconf_schema_install epiphany-pango.schemas
 %gconf_schema_install epiphany.schemas
 %scrollkeeper_update_post
 %update_desktop_database_post
 %update_icon_cache hicolor
 
 %preun
-%gconf_schema_uninstall epiphany-fonts.schemas
 %gconf_schema_uninstall epiphany-lockdown.schemas
-%gconf_schema_uninstall epiphany-pango.schemas
 %gconf_schema_uninstall epiphany.schemas
 
 %postun
@@ -198,22 +147,17 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
+
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/dbus-1/services/*.service
 %{_datadir}/%{name}
 %{_desktopdir}/*.desktop
 %{_iconsdir}/*/*/apps/*.*
-%{_sysconfdir}/gconf/schemas/epiphany-fonts.schemas
 %{_sysconfdir}/gconf/schemas/epiphany-lockdown.schemas
-%{_sysconfdir}/gconf/schemas/epiphany-pango.schemas
 %{_sysconfdir}/gconf/schemas/epiphany.schemas
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/%{basever}
 %dir %{_libdir}/%{name}/%{basever}/extensions
-%if %{without webkit}
-%dir %{_libdir}/%{name}/%{basever}/plugins
-%attr(755,root,root) %{_libdir}/epiphany/%{basever}/plugins/*.so*
-%endif
 %{_mandir}/man1/*
 
 %files devel
@@ -221,7 +165,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_aclocaldir}/*
 %{_includedir}/epiphany
 %{_pkgconfigdir}/*.pc
-%{_datadir}/pygtk/*/defs/epiphany.defs
 
 %files apidocs
 %defattr(644,root,root,755)
This page took 0.090045 seconds and 4 git commands to generate.