2006-12-29 00:03:49 +01:00
|
|
|
#
|
2011-04-21 17:55:18 +02:00
|
|
|
# spec file for package epiphany
|
2006-12-29 00:03:49 +01:00
|
|
|
#
|
2015-03-19 15:36:29 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2006-12-29 00:03:49 +01:00
|
|
|
#
|
2008-08-14 02:10:42 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-29 00:03:49 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: epiphany
|
2015-03-19 15:36:29 +01:00
|
|
|
Version: 3.15.92
|
2011-12-21 05:50:00 +01:00
|
|
|
Release: 0
|
2015-03-19 15:36:29 +01:00
|
|
|
%define _base_version 3.15
|
2011-07-06 19:07:45 +02:00
|
|
|
Summary: GNOME Web Browser
|
2011-12-21 05:50:00 +01:00
|
|
|
License: GPL-2.0+
|
2009-09-03 15:32:34 +02:00
|
|
|
Group: Productivity/Networking/Web/Browsers
|
2011-12-21 05:50:00 +01:00
|
|
|
Url: http://www.gnome.org/projects/epiphany/
|
2015-03-19 15:36:29 +01:00
|
|
|
Source: http://download.gnome.org/sources/epiphany/3.15/%{name}-%{version}.tar.xz
|
2009-09-03 15:32:34 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE epiphany-safe-one-click-install.patch bnc330070 vuntz@novell.com -- Make one-click install work with one-click
|
2013-09-22 12:27:36 +02:00
|
|
|
Patch0: epiphany-safe-one-click-install.patch
|
2014-08-30 10:53:13 +02:00
|
|
|
# The icon we rely on is from adwaita-icon-theme
|
|
|
|
BuildRequires: adwaita-icon-theme
|
2009-02-12 17:25:10 +01:00
|
|
|
BuildRequires: fdupes
|
2012-09-07 17:24:51 +02:00
|
|
|
BuildRequires: intltool >= 0.50
|
2009-03-11 20:39:07 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2009-02-12 17:25:10 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2013-08-15 10:15:39 +02:00
|
|
|
BuildRequires: yelp-tools
|
2012-09-07 17:24:51 +02:00
|
|
|
BuildRequires: pkgconfig(avahi-client) >= 0.6.22
|
|
|
|
BuildRequires: pkgconfig(avahi-gobject) >= 0.6.22
|
|
|
|
BuildRequires: pkgconfig(gcr-3) >= 3.5.5
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.31.2
|
2014-04-03 22:33:25 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
|
2012-09-07 17:24:51 +02:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 2.91.7
|
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 0.0.1
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
2014-08-30 10:53:13 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.0
|
2012-09-07 17:24:51 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-unix-print-3.0) >= 3.5.2
|
|
|
|
BuildRequires: pkgconfig(iso-codes) >= 0.35
|
|
|
|
BuildRequires: pkgconfig(libnotify) >= 0.5.1
|
2013-03-14 00:00:57 +01:00
|
|
|
BuildRequires: pkgconfig(libsecret-1) >= 0.14
|
2013-04-19 11:35:33 +02:00
|
|
|
BuildRequires: pkgconfig(libsoup-2.4) >= 2.42.1
|
2013-03-14 00:00:57 +01:00
|
|
|
BuildRequires: pkgconfig(libwnck-3.0)
|
2012-09-07 17:24:51 +02:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.12
|
|
|
|
BuildRequires: pkgconfig(libxslt) >= 1.1.7
|
|
|
|
BuildRequires: pkgconfig(nss)
|
2012-03-12 20:18:02 +01:00
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2015-03-19 15:36:29 +01:00
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.7.4
|
|
|
|
BuildRequires: pkgconfig(webkit2gtk-web-extension-4.0) >= 2.7.4
|
2012-02-20 10:19:48 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2011-07-06 19:07:45 +02:00
|
|
|
Requires: %{name}-branding = %{version}
|
2011-07-06 11:15:24 +02:00
|
|
|
Requires: NetworkManager
|
2009-09-03 15:32:34 +02:00
|
|
|
Requires: iso-codes
|
2011-02-13 22:05:29 +01:00
|
|
|
Recommends: %{name}-lang
|
2010-09-11 12:32:44 +02:00
|
|
|
Recommends: ca-certificates
|
2013-03-14 00:00:57 +01:00
|
|
|
# Epiphany dropped extensions support in 3.7.1; thus obsoleting the extensions package.
|
|
|
|
Obsoletes: epiphany-extensions < %{version}
|
2013-03-20 19:01:53 +01:00
|
|
|
Obsoletes: epiphany-extensions-lang < %{version}
|
2009-09-03 15:32:34 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-03-14 00:00:57 +01:00
|
|
|
# With epiphany 3.7.90, the installation of headers and API doc was stopped. Obsolete an eventual installed package.
|
|
|
|
Obsoletes: %{name}-devel < 3.7.90
|
2011-04-21 17:55:18 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2006-12-29 00:03:49 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Epiphany is a Web browser for the GNOME Desktop. Its principles are
|
|
|
|
simplicity and standards compliance.
|
|
|
|
|
2008-08-02 03:15:52 +02:00
|
|
|
%package branding-upstream
|
2011-07-06 19:07:45 +02:00
|
|
|
Summary: GNOME Web Browser -- Upstream default bookmarks and user agent string
|
2008-08-02 03:15:52 +02:00
|
|
|
Group: Productivity/Networking/Web/Browsers
|
2011-07-06 19:07:45 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Supplements: packageand(%{name}:branding-upstream)
|
2013-03-14 00:00:57 +01:00
|
|
|
Provides: %{name}-branding = %{version}
|
2011-07-06 19:07:45 +02:00
|
|
|
BuildArch: noarch
|
2013-03-14 00:00:57 +01:00
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
2008-08-02 03:15:52 +02:00
|
|
|
#BRAND: Provide a few files -
|
|
|
|
#BRAND: /usr/share/epiphany/default-bookmarks.rdf
|
2011-07-07 11:17:40 +02:00
|
|
|
#BRAND: the default bookmarks
|
|
|
|
#BRAND: /usr/share/epiphany/branding.conf (optional)
|
|
|
|
#BRAND: a file to change the default user agent. For instance:
|
|
|
|
#BRAND: [User Agent]
|
|
|
|
#BRAND: Vendor=SUSE
|
|
|
|
#BRAND: VendorSub=12.1
|
|
|
|
#BRAND: VendorComment=3.1.2-101.5
|
2008-08-02 03:15:52 +02:00
|
|
|
|
|
|
|
%description branding-upstream
|
2011-07-06 19:07:45 +02:00
|
|
|
Epiphany is a Web Browser for the GNOME Desktop. Its principles are
|
|
|
|
simplicity and standards compliance.
|
|
|
|
|
|
|
|
This package provides the upstream default bookmarks and user agent
|
|
|
|
string.
|
2008-08-02 03:15:52 +02:00
|
|
|
|
2014-04-03 22:33:25 +02:00
|
|
|
%package -n gnome-shell-search-provider-epiphany
|
|
|
|
Summary: Epiphany is a Web browser for the GNOME Desktop -- Search Provider for GNOME Shell
|
|
|
|
Group: Productivity/Networking/Web/Browsers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: gnome-shell
|
|
|
|
Supplements: packageand(%{name}:gnome-shell)
|
|
|
|
|
|
|
|
%description -n gnome-shell-search-provider-epiphany
|
|
|
|
Epiphany is a Web browser for the GNOME Desktop.
|
|
|
|
|
|
|
|
This package contains a search provider to enable GNOME Shell to get
|
|
|
|
search results from Web (epiphany)
|
|
|
|
|
2007-08-09 18:49:02 +02:00
|
|
|
%lang_package
|
2006-12-29 00:03:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-03-11 20:39:07 +01:00
|
|
|
translation-update-upstream
|
2013-09-22 12:27:36 +02:00
|
|
|
%patch0 -p1
|
2006-12-29 00:03:49 +01:00
|
|
|
|
|
|
|
%build
|
2008-09-24 15:19:01 +02:00
|
|
|
%configure \
|
2010-08-27 22:47:57 +02:00
|
|
|
--disable-maintainer-mode \
|
2011-12-21 05:50:00 +01:00
|
|
|
--with-distributor-name="SUSE"
|
2011-09-21 17:42:01 +02:00
|
|
|
make %{?_smp_mflags} V=1
|
2006-12-29 00:03:49 +01:00
|
|
|
|
|
|
|
%install
|
2012-09-07 17:24:51 +02:00
|
|
|
%make_install
|
2013-03-24 22:06:54 +01:00
|
|
|
find %{buildroot} -type f -name '*.la' -delete -print
|
2012-07-23 17:18:56 +02:00
|
|
|
%suse_update_desktop_file %{name}
|
2011-04-21 17:58:04 +02:00
|
|
|
# Copy the icons in hicolor, else brp-check is sad
|
2011-04-21 17:55:18 +02:00
|
|
|
for size in 8x8 16x16 22x22 24x24 32x32 48x48 256x256; do
|
|
|
|
if test -f %{_datadir}/icons/gnome/$size/apps/web-browser.png; then
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/$size/apps
|
|
|
|
cp -a %{_datadir}/icons/gnome/$size/apps/web-browser.png %{buildroot}%{_datadir}/icons/hicolor/$size/apps/web-browser.png
|
|
|
|
fi
|
|
|
|
done
|
2011-02-13 22:05:29 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2009-09-03 15:32:34 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-08-03 00:18:52 +02:00
|
|
|
|
2010-12-11 18:48:25 +01:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%desktop_database_post
|
2011-02-13 22:05:29 +01:00
|
|
|
%icon_theme_cache_post
|
2011-04-21 17:55:18 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2006-12-29 00:03:49 +01:00
|
|
|
|
2010-12-11 18:48:25 +01:00
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
%desktop_database_postun
|
2011-02-13 22:05:29 +01:00
|
|
|
%icon_theme_cache_postun
|
2011-04-21 17:55:18 +02:00
|
|
|
%glib2_gsettings_schema_postun
|
2006-12-29 00:03:49 +01:00
|
|
|
|
2011-12-21 05:50:00 +01:00
|
|
|
%files
|
2006-12-29 00:03:49 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
2013-08-15 10:15:39 +02:00
|
|
|
%doc %{_datadir}/help/C/%{name}/
|
2012-02-08 20:49:19 +01:00
|
|
|
%{_bindir}/ephy-profile-migrator
|
|
|
|
%{_bindir}/epiphany
|
2013-09-07 15:18:34 +02:00
|
|
|
%dir %{_datadir}/appdata
|
|
|
|
%{_datadir}/appdata/epiphany.appdata.xml
|
2012-02-08 20:49:19 +01:00
|
|
|
%{_datadir}/applications/epiphany.desktop
|
2008-09-13 05:22:39 +02:00
|
|
|
%exclude %{_datadir}/epiphany/default-bookmarks.rdf
|
2011-02-13 22:05:29 +01:00
|
|
|
%{_datadir}/epiphany/
|
2011-04-21 17:55:18 +02:00
|
|
|
%{_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
|
2007-01-10 17:39:58 +01:00
|
|
|
%doc %{_mandir}/man1/epiphany.1.gz
|
2013-03-24 22:06:54 +01:00
|
|
|
%dir %{_libdir}/epiphany
|
|
|
|
%dir %{_libdir}/epiphany/%{_base_version}
|
|
|
|
%dir %{_libdir}/epiphany/%{_base_version}/web-extensions
|
|
|
|
%{_libdir}/epiphany/%{_base_version}/web-extensions/libephywebextension.so
|
2006-12-29 00:03:49 +01:00
|
|
|
|
2007-08-09 18:49:02 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2008-08-02 03:15:52 +02:00
|
|
|
%files branding-upstream
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/epiphany/default-bookmarks.rdf
|
|
|
|
|
2014-04-03 22:33:25 +02:00
|
|
|
%files -n gnome-shell-search-provider-epiphany
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
|
|
|
|
%dir %{_datadir}/gnome-shell
|
|
|
|
%dir %{_datadir}/gnome-shell/search-providers
|
|
|
|
%{_datadir}/gnome-shell/search-providers/epiphany-search-provider.ini
|
|
|
|
%{_libexecdir}/epiphany-search-provider
|
|
|
|
|
2007-03-13 00:43:47 +01:00
|
|
|
%changelog
|