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
#
2018-01-17 16:31:04 +01:00
# Copyright (c) 2018 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
2017-12-27 09:35:59 +01:00
Version : 3.26.5.1
2011-12-21 05:50:00 +01:00
Release : 0
2011-07-06 19:07:45 +02:00
Summary : GNOME Web Browser
2017-02-22 21:40:57 +01:00
License : GPL-3.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/
2017-11-29 11:10:01 +01:00
Source0 : http://download.gnome.org/sources/epiphany/3.26/%{name} -%{version} .tar.xz
2017-09-06 21:39:57 +02:00
Source99 : %{name} -rpmlintrc
2018-01-07 22:36:23 +01:00
# PATCH-FIX-UPSTREAM epiphany-application-mode-fix-desktopfile.patch bgo#790781 zaitor@opensuse.org -- application mode: use strstr() to get base name of the desktop file
Patch0 : epiphany-application-mode-fix-desktopfile.patch
2018-01-17 16:31:04 +01:00
# PATCH-FIX-UPSTREAM epiphany-fix-download-of-blob-URIs.patch bgo#788576 zaitor@opensuse.org -- Fix download of blob URIs
Patch1 : epiphany-fix-download-of-blob-URIs.patch
# PATCH-FIX-UPSTREAM epiphany-search-provider-fix.patch bgo#792502 zaitor@opensuse.org -- Fix typo in serviceprovider
Patch2 : epiphany-search-provider-fix.patch
2018-01-07 22:36:23 +01:00
2009-02-12 17:25:10 +01:00
BuildRequires : fdupes
2017-08-31 09:45:00 +02:00
BuildRequires : meson
2017-09-04 22:06:31 +02:00
BuildRequires : pkgconfig
2013-08-15 10:15:39 +02:00
BuildRequires : yelp-tools
2017-02-22 21:40:57 +01:00
BuildRequires : pkgconfig(cairo) >= 1.2
2012-09-07 17:24:51 +02:00
BuildRequires : pkgconfig(gcr-3) >= 3.5.5
2017-05-10 22:01:44 +02:00
BuildRequires : pkgconfig(gdk-3.0) >= 3.22.13
2017-02-28 22:41:13 +01:00
BuildRequires : pkgconfig(gdk-pixbuf-2.0) >= 2.36.5
2017-02-22 21:40:57 +01:00
BuildRequires : pkgconfig(gio-unix-2.0) >= 2.46.0
BuildRequires : pkgconfig(glib-2.0) >= 2.46.0
BuildRequires : pkgconfig(gnome-desktop-3.0) >= 2.91.2
2017-08-31 09:45:00 +02:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.22.13
2017-02-22 21:40:57 +01:00
BuildRequires : pkgconfig(gtk+-unix-print-3.0) >= 3.22.0
BuildRequires : pkgconfig(hogweed) >= 3.2
2017-04-24 10:41:06 +02:00
# Disabled as it is still experimental - epip ver 3.24.0
#BuildRequires: pkgconfig(httpseverywhere-0.2) >= 0.2.2
2017-02-22 21:40:57 +01:00
BuildRequires : pkgconfig(icu-uc) >= 4.6
2012-09-07 17:24:51 +02:00
BuildRequires : pkgconfig(iso-codes) >= 0.35
2017-02-22 21:40:57 +01:00
BuildRequires : pkgconfig(json-glib-1.0) >= 1.2.0
2012-09-07 17:24:51 +02:00
BuildRequires : pkgconfig(libnotify) >= 0.5.1
2013-03-14 00:00:57 +01:00
BuildRequires : pkgconfig(libsecret-1) >= 0.14
2017-02-22 21:40:57 +01:00
BuildRequires : pkgconfig(libsoup-2.4) >= 2.48.0
2012-09-07 17:24:51 +02:00
BuildRequires : pkgconfig(libxml-2.0) >= 2.6.12
BuildRequires : pkgconfig(libxslt) >= 1.1.7
2017-02-22 21:40:57 +01:00
BuildRequires : pkgconfig(nettle) >= 3.2
BuildRequires : pkgconfig(sqlite3) >= 3.0
2017-08-31 09:45:00 +02:00
BuildRequires : pkgconfig(webkit2gtk-4.0) >= 2.17.3
2017-02-22 21:40:57 +01:00
BuildRequires : pkgconfig(webkit2gtk-web-extension-4.0) >= 2.15.1
2011-07-06 19:07:45 +02:00
Requires : %{name} -branding = %{version}
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
2017-09-04 22:06:31 +02:00
%if ! 0%{?is_opensuse}
BuildRequires : translation-update-upstream
%endif
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)
2017-09-04 22:06:31 +02:00
Conflicts : otherproviders(%{name} -branding)
2013-03-14 00:00:57 +01:00
Provides : %{name} -branding = %{version}
2011-07-06 19:07:45 +02:00
BuildArch : noarch
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
2016-09-08 23:24:12 +02:00
Summary : Epiphany Search Provider for GNOME Shell
2014-04-03 22:33:25 +02:00
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
2017-09-04 22:06:31 +02:00
2006-12-29 00:03:49 +01:00
%prep
2017-12-14 21:59:17 +01:00
%autosetup -p1
2016-09-08 23:24:12 +02:00
%if ! 0%{?is_opensuse}
2009-03-11 20:39:07 +01:00
translation-update-upstream
2016-09-08 23:24:12 +02:00
%endif
2006-12-29 00:03:49 +01:00
%build
2017-09-04 22:06:31 +02:00
%{meson} \
2018-01-17 16:31:04 +01:00
-Ddeveloper_mode=false \
2017-09-04 22:06:31 +02:00
-Ddistributor_name=openSUSE \
2018-01-17 16:31:04 +01:00
-Dhttps_everywhere=false \
-Dunit_tests=false \
2017-09-04 22:06:31 +02:00
%{nil}
%{meson_build}
2006-12-29 00:03:49 +01:00
%install
2017-09-04 22:06:31 +02:00
%{meson_install}
2017-11-29 11:10:01 +01:00
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
2011-12-21 05:50:00 +01:00
%files
2016-09-08 23:24:12 +02:00
%doc AUTHORS COPYING 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} /epiphany
2013-09-07 15:18:34 +02:00
%dir %{_datadir} /appdata
2017-02-22 21:40:57 +01:00
%{_datadir} /appdata/org.gnome.Epiphany.appdata.xml
%{_datadir} /applications/org.gnome.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} /glib-2.0/schemas/org.gnome.Epiphany.enums.xml
%{_datadir} /glib-2.0/schemas/org.gnome.epiphany.gschema.xml
2017-02-22 21:40:57 +01:00
%{_datadir} /icons/hicolor/*/apps/org.gnome.Epiphany*
2017-09-04 22:06:31 +02:00
%{_mandir} /man1/epiphany.1%{ext_man}
2013-03-24 22:06:54 +01:00
%dir %{_libdir} /epiphany
2017-02-22 21:40:57 +01:00
%dir %{_libdir} /epiphany/web-extensions
%{_libdir} /epiphany/web-extensions/libephywebextension.so
%{_libdir} /epiphany/libephymain.so
%{_libdir} /epiphany/libephymisc.so
2017-08-31 09:45:00 +02:00
%{_libdir} /epiphany/libephysync.so
2017-02-22 21:40:57 +01:00
%dir %{_libexecdir} /epiphany
%{_libexecdir} /epiphany/ephy-profile-migrator
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
%{_datadir} /epiphany/default-bookmarks.rdf
2014-04-03 22:33:25 +02:00
%files -n gnome-shell-search-provider-epiphany
2017-11-01 17:10:53 +01:00
%{_datadir} /dbus-1/services/org.gnome.Epiphany.SearchProvider.service
2014-04-03 22:33:25 +02:00
%dir %{_datadir} /gnome-shell
%dir %{_datadir} /gnome-shell/search-providers
2017-11-01 17:10:53 +01:00
%{_datadir} /gnome-shell/search-providers/org.gnome.Epiphany.search-provider.ini
2014-04-03 22:33:25 +02:00
%{_libexecdir} /epiphany-search-provider
2007-03-13 00:43:47 +01:00
%changelog