]> git.pld-linux.org Git - packages/epiphany.git/blobdiff - epiphany.spec
- release 2 to rebuild with xulrunner 1.8.1.3
[packages/epiphany.git] / epiphany.spec
index 77b265d879bf763f74ca1651407f60397cedf017..bee8a1ab79c266e05dd4a9c5e3a8960c28e6d00f 100644 (file)
@@ -1,63 +1,55 @@
-# Conditinal build:
-%bcond_with    mozilla_firefox # build with mozilla-firefox-devel
-#
-%define                basever 2.14
+%define                basever         2.18
 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
+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.14.1
-Release:       1
+Version:       2.18.0
+Release:       2
 License:       GPL v2
 Group:         X11/Applications/Networking
-Source0:       http://ftp.gnome.org/pub/gnome/sources/epiphany/%{basever}/%{name}-%{version}.tar.bz2
-# Source0-md5: 69f9760646b736d953f24442e0e38f7b
+Source0:       http://ftp.gnome.org/pub/gnome/sources/epiphany/2.18/%{name}-%{version}.tar.bz2
+# Source0-md5: 3ac47fcf7e9875885c3f4d53dac24b7c
 Patch0:                %{name}-first-tab.patch
 Patch1:                %{name}-desktop.patch
-Patch2:                %{name}-mozilla_includes.patch
-Patch3:                %{name}-pld-homepage.patch
-Patch4:                %{name}-configure.patch
+Patch2:                %{name}-pld-homepage.patch
+Patch3:                %{name}-configure.patch
 URL:           http://www.gnome.org/projects/epiphany/
-BuildRequires: GConf2-devel >= 2.10.0
-BuildRequires: ORBit2-devel >= 1:2.12.1
+BuildRequires: GConf2-devel >= 2.18.0.1
+BuildRequires: ORBit2-devel >= 1:2.14.7
 BuildRequires: autoconf >= 2.59
-BuildRequires: automake >= 1.8
-BuildRequires: dbus-glib-devel >= 0.34
-BuildRequires: gnome-common >= 2.8.0
-BuildRequires: gnome-desktop-devel >= 2.10.0-2
-BuildRequires: gnome-doc-utils >= 0.3.2-1
-BuildRequires: gnome-vfs2-devel >= 2.10.0-2
-BuildRequires: gtk+2-devel >= 2:2.8.3
-BuildRequires: gtk-doc >= 1.3
-BuildRequires: intltool >= 0.33
-BuildRequires: iso-codes >= 0.35
-BuildRequires: libglade2-devel >= 1:2.5.1
-BuildRequires: libgnomeprintui-devel >= 2.11.0-3
-BuildRequires: libgnomeui-devel >= 2.10.0-2
-BuildRequires: startup-notification-devel >= 0.5
+BuildRequires: automake >= 1:1.9
+BuildRequires: dbus-glib-devel >= 0.73
+BuildRequires: gnome-common >= 2.12.0
+BuildRequires: gnome-desktop-devel >= 2.17.92
+BuildRequires: gnome-doc-utils >= 0.9.2
+BuildRequires: gnome-vfs2-devel >= 2.18.0
+BuildRequires: gtk+2-devel >= 2:2.10.9
+BuildRequires: gtk-doc >= 1.8
+BuildRequires: intltool >= 0.35.5
+BuildRequires: iso-codes >= 0.53
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgnomeprintui-devel >= 2.17.92
+BuildRequires: libgnomeui-devel >= 2.18.0
 BuildRequires: libtool
-BuildRequires: libxslt-devel >= 1.1.15
-%if %{with mozilla_firefox}
-BuildRequires: mozilla-firefox-devel >= 1.0.5
-%else
-BuildRequires: mozilla-devel >= 5:1.7.9
-%endif
+BuildRequires: libxml2-devel >= 1:2.6.27
+BuildRequires: libxslt-devel >= 1.1.20
 BuildRequires: pkgconfig
-BuildRequires: python-gnome-devel >= 2.6.0
-BuildRequires: python-pygtk-devel >= 2.6.0
-BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: python-gnome-devel >= 2.17.92
+BuildRequires: python-pygtk-devel >= 2:2.10.4
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper
-Requires(post,preun):  GConf2
+BuildRequires: startup-notification-devel >= 0.8
+BuildRequires: xulrunner
+BuildRequires: xulrunner-devel >= 1.8.0.4
 Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
 Requires(post,postun): scrollkeeper
-Requires:      dbus >= 0.34
-Requires:      gnome-icon-theme >= 2.10.0
-Requires:      gtk+2 >= 2:2.8.3
-%if %{with mozilla_firefox}
-%requires_eq   mozilla-firefox
-%else
-Requires:      mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
-%endif
+Requires(post,preun):  GConf2
+Requires:      dbus >= 1.0.2
+Requires:      gnome-icon-theme >= 2.17.91
+Requires:      libgnomeui >= 2.18.0
+%requires_eq   xulrunner
 Obsoletes:     python-epiphany
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -67,30 +59,43 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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 es.UTF-8
+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
+%description -l pl.UTF-8
+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
+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.8.3
-Requires:      libxslt-devel >= 1.1.15
+Requires:      gtk+2-devel >= 2:2.10.9
+Requires:      libxslt-devel >= 1.1.20
 
 %description devel
 Epiphany header files for plugin development.
 
-%description devel -l es
+%description devel -l es.UTF-8
 Ficheros de cabecera de Epiphany para desarrollar plug-ins.
 
-%description devel -l pl
-Pliki nag³ówkowe Epiphany do tworzenia wtyczek.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe Epiphany do tworzenia wtyczek.
+
+%package apidocs
+Summary:       Epiphany API documentation
+Summary(pl.UTF-8):     Dokumentacja API Epiphany
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description apidocs
+Epiphany API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API Epiphany.
 
 %prep
 %setup -q
@@ -98,10 +103,9 @@ Pliki nag
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 %build
-gnome-doc-prepare --copy --force
+%{__gnome_doc_prepare}
 %{__gnome_doc_common}
 %{__glib_gettextize}
 %{__intltoolize}
@@ -110,16 +114,13 @@ gnome-doc-prepare --copy --force
 %{__autoheader}
 %{__automake}
 %{__autoconf}
-
 %configure \
        --disable-schemas-install \
        --enable-dbus \
        --enable-gtk-doc \
        --enable-python \
        --with-html-dir=%{_gtkdocdir}
-# CFLAGS is a hack for gcc 3.3
-%{__make} \
-       CFLAGS="%{rpmcflags} -fno-strict-aliasing"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -129,11 +130,9 @@ install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions
        DESTDIR=$RPM_BUILD_ROOT \
        HTML_DIR=%{_gtkdocdir}
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/plugins/*.la
 
-# epiphany-2.0.mo, but gnome/help/epiphany
-%find_lang %{name}-2.0 --with-gnome --all-name
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -145,6 +144,7 @@ rm -rf $RPM_BUILD_ROOT
 %gconf_schema_install epiphany.schemas
 %scrollkeeper_update_post
 %update_desktop_database_post
+%update_icon_cache hicolor
 
 %preun
 %gconf_schema_uninstall epiphany-fonts.schemas
@@ -155,15 +155,16 @@ rm -rf $RPM_BUILD_ROOT
 %postun
 %scrollkeeper_update_postun
 %update_desktop_database_postun
+%update_icon_cache hicolor
 
-%files -f %{name}-2.0.lang
+%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}/*
-%{_pixmapsdir}/*
+%{_desktopdir}/*.desktop
+%{_iconsdir}/hicolor/*/*/*.png
 %{_sysconfdir}/gconf/schemas/epiphany-fonts.schemas
 %{_sysconfdir}/gconf/schemas/epiphany-lockdown.schemas
 %{_sysconfdir}/gconf/schemas/epiphany-pango.schemas
@@ -182,4 +183,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/epiphany
 %{_pkgconfigdir}/*.pc
 %{_datadir}/pygtk/*/defs/epiphany.defs
+
+%files apidocs
+%defattr(644,root,root,755)
 %{_gtkdocdir}/*
This page took 0.089618 seconds and 4 git commands to generate.