File eolie.spec of Package eolie

# spec file for package eolie
# Copyright (c) 2020 SUSE LLC
# 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.

# Please submit bugfixes or comments via

# Filter out unwanted Requires
%global __requires_exclude typelib\\(Unity\\)

Name:           eolie
Version:        0.9.63
Release:        0
Summary:        Web browser for GNOME
License:        GPL-3.0-or-later
Group:          Productivity/Networking/Web/Browsers
Source:         %{name}-%{version}.tar.xz
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.35.9
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
BuildRequires:  pkgconfig(pygobject-3.0)
Requires:       python3-cairo
Requires:       python3-dateutil
Requires:       python3-gobject
Recommends:     python3-PyFxA
Recommends:     python3-beautifulsoup4
Recommends:     python3-cryptography
Recommends:     python3-pycrypto
Recommends:     python3-requests-hawk
# Eolie can use git to retrieve more adblock rules from
Suggests:       git
BuildArch:      noarch

Eolie is a Web browser for the GNOME Desktop. It provides:
* Firefox sync support
* Secret password store
* A modern UI

%package -n gnome-shell-search-provider-eolie
Summary:        Eolie Search Provider for GNOME Shell
Group:          Productivity/Networking/Web/Browsers
Requires:       %{name} = %{version}
Requires:       gnome-shell
Supplements:    (%{name} and gnome-shell)

%description -n gnome-shell-search-provider-eolie
This package contains a search provider to enable GNOME Shell to get
search results from the Eolie Web browser.


# Skip WebExtension code since it does not build with Python 3.8
sed -i 's/subdir('"'"python-webextension"'"')//g'
rm -r python-webextension


%find_lang %{name} %{?no_lang_C}

%license COPYING

%files -n gnome-shell-search-provider-eolie
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by