]> git.pld-linux.org Git - packages/epiphany.git/blobdiff - epiphany.spec
Updated to 3.6.0
[packages/epiphany.git] / epiphany.spec
index 7cce0c7b7622712eb6ff2c5ec9a711dc86b1c456..b6110a5041bd609b733447e7cd9dc90f998b4586 100644 (file)
-
-%define                minmozver       5:1.5
-
-Summary:       Epiphany - gecko-based GNOME web browser
-Summary(pl):   Epiphany - przegl±darka WWW dla GNOME
+%define                basever         3.4
+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:       1.0.6
+Version:       3.6.0
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         X11/Applications/Networking
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
-# Source0-md5: eeb1c339aaf62d7f85a39c93c706b45d
-#Source0:      http://downloads.uk1.mozdev.org/rsync/%{name}/%{name}-%{version}.tar.gz
-Patch0:                %{name}-MOZILLA_FIVE_HOME.patch
-Patch1:                %{name}-tabsmenu.patch
-Patch2:                %{name}-first-tab.patch
-URL:           http://epiphany.mozdev.org/
-BuildRequires: GConf2-devel >= 2.4.0
-BuildRequires: ORBit2-devel >= 2.8.0
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gnome-common >= 2.4.0
-BuildRequires: gnome-vfs2-devel >= 2.4.0
-BuildRequires: gtk+2-devel >= 2.2.0
-BuildRequires: intltool
-BuildRequires: libbonoboui-devel >= 2.4.0
-BuildRequires: libglade2-devel >= 2.0.1
-BuildRequires: libgnomeui-devel >= 2.4.0
-BuildRequires: libxml2-devel >= 2.5.9
-BuildRequires: mozilla-embedded-devel >= %{minmozver}
-BuildRequires: nautilus-devel >= 2.4.0
-BuildRequires: rpm-build >= 4.1-10
-BuildRequires: scrollkeeper
-Requires(post):        GConf2
-Requires(post):        scrollkeeper
-Requires:      mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/epiphany/3.6/%{name}-%{version}.tar.xz
+# Source0-md5: 38100bb96d946d9c12f3660be0c0a64c
+URL:           http://www.gnome.org/projects/epiphany/
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.9
+BuildRequires: avahi-devel >= 0.6.22
+BuildRequires: avahi-gobject-devel >= 0.6.22
+BuildRequires: docbook-dtd412-xml
+BuildRequires: gcr-devel >= 3.6.0
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: gnome-common >= 2.20.0
+BuildRequires: gnome-desktop-devel >= 3.6.0
+BuildRequires: gnome-doc-utils >= 0.12.0
+BuildRequires: gobject-introspection-devel >= 0.10.0
+BuildRequires: gsettings-desktop-schemas-devel
+BuildRequires: gtk+3-devel >= 3.6.0
+BuildRequires: gtk-doc >= 1.8
+BuildRequires: gtk-webkit3-devel >= 1.10.0
+BuildRequires: intltool >= 0.50.0
+BuildRequires: iso-codes >= 0.53
+BuildRequires: libgnome-keyring-devel >= 2.28.0
+BuildRequires: libnotify-devel >= 0.5.1
+BuildRequires: libsoup-gnome-devel >= 2.40.0
+BuildRequires: libtool >= 2:2.2
+BuildRequires: libxml2-devel >= 1:2.6.28
+BuildRequires: libxslt-devel >= 1.1.20
+BuildRequires: nss-devel
+BuildRequires: pkgconfig
+BuildRequires: rpm >= 4.4.9-56
+BuildRequires: rpmbuild(find_lang) >= 1.23
+BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: sed >= 4.0
+BuildRequires: sqlite3-devel
+BuildRequires: tar >= 1:1.22
+BuildRequires: xorg-lib-libICE-devel
+BuildRequires: xorg-lib-libSM-devel
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xz
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): glib2 >= 1:2.26.0
+Requires(post,postun): scrollkeeper
+Requires:      ca-certificates
+Requires:      dbus >= 1.0.2
+Requires:      gnome-icon-theme >= 3.4.0
+Requires:      gsettings-desktop-schemas
+Requires:      gtk-webkit3 >= 1.10.0
+Provides:      wwwbrowser
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 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).
+GNOME browser based on WebKit.
+
+%description -l es.UTF-8
+Navigador Web de GNOME basado en WebKit.
 
-%description -l pl
-Epiphany jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
-interpretacji stron Mozilli).
+%description -l pl.UTF-8
+Epiphany jest przeglądarką WWW opartą na silniku WebKit.
 
 %package devel
 Summary:       Epiphany header files
-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
-Requires:      %{name} = %{version}
-Requires:      gtk+2-devel >= 2.2.0
-Requires:      libxml2-devel >= 2.5.9
+# doesn't require base
+Requires:      gtk+3-devel >= 3.6.0
+Requires:      gtk-webkit3-devel >= 1.10.0
+Requires:      libxml2-devel >= 1:2.6.28
 
 %description devel
 Epiphany header files for plugin development.
 
-%description devel -l pl
-Pliki nag³ówkowe Epiphany do tworzenia wtyczek.
+%description devel -l es.UTF-8
+Ficheros de cabecera de Epiphany para desarrollar plug-ins.
+
+%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
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
-rm -f acconfig.h
-glib-gettextize --copy --force
-intltoolize --copy --force
+%{__gnome_doc_prepare}
+%{__gnome_doc_common}
+%{__glib_gettextize}
+%{__intltoolize}
 %{__libtoolize}
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__aclocal} -I m4
 %{__autoheader}
 %{__automake}
 %{__autoconf}
-
-# rebuild for new ORBit2
-cd idl
-orbit-idl-2 -I/usr/share/idl -I/usr/share/idl/bonobo-2.0 \
-       -I/usr/share/idl/bonobo-activation-2.0 EphyAutomation.idl
-mv -f *.h *.c ../src
-cd ..
-
 %configure \
-       --disable-schemas-install \
-       --enable-nautilus-view=yes \
-       --with-mozilla-snapshot=1.5
-
-# CFLAGS is a hack for gcc 3.3
-%{__make} \
-       CFLAGS="%{rpmcflags} -fno-strict-aliasing"
+       --disable-silent-rules \
+       --disable-schemas-compile \
+       --with-distributor-name="PLD Linux" \
+       --enable-gtk-doc \
+       --with-html-dir=%{_gtkdocdir}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
+install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# epiphany-2.0.mo, but gnome/help/epiphany
-%find_lang %{name}-2.0 --with-gnome --all-name
+%find_lang %{name} --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install
-/usr/bin/scrollkeeper-update
+%scrollkeeper_update_post
+%update_desktop_database_post
+%glib_compile_schemas
 
-%postun -p /usr/bin/scrollkeeper-update
+%postun
+%scrollkeeper_update_postun
+%update_desktop_database_postun
+%glib_compile_schemas
 
-%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}/*
-%{_libdir}/bonobo/servers/*
+%attr(755,root,root) %{_bindir}/epiphany
+%attr(755,root,root) %{_bindir}/ephy-profile-migrator
+%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
 %{_datadir}/%{name}
-%{_desktopdir}/*
-%{_datadir}/application-registry/*
-%{_pixmapsdir}/*
-%{_sysconfdir}/gconf/schemas/*
-%{_omf_dest_dir}/*
-%{_libdir}/%{name}
+%{_datadir}/GConf/gsettings/epiphany.convert
+%{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml
+%{_desktopdir}/epiphany.desktop
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/%{basever}
+%dir %{_libdir}/%{name}/%{basever}/extensions
+%{_libdir}/girepository-1.0/Epiphany-*.typelib
+%{_mandir}/man1/epiphany.1*
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/epiphany-1.0
-%{_pkgconfigdir}/*.pc
+%{_aclocaldir}/epiphany.m4
+%{_includedir}/epiphany
+%{_pkgconfigdir}/epiphany-*.pc
+%{_datadir}/gir-1.0/Epiphany-*.gir
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/epiphany
This page took 0.05952 seconds and 4 git commands to generate.