SHA256
1
0
forked from pool/eolie
eolie/eolie.spec
Dominique Leuenberger ad567ebe63 Accepting request 554770 from home:1Antoine1:branches:GNOME:Apps
- Add git as suggested package:
  * It allows Eolie to retrieve more adblock rules.
- Add some recommended packages for Firefox sync feature:
  * python3-PyFxA
  * python3-cryptography
  * python3-pycrypto
  * python3-requests-hawk

OBS-URL: https://build.opensuse.org/request/show/554770
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/eolie?expand=0&rev=6
2017-12-06 11:19:00 +00:00

96 lines
2.9 KiB
RPMSpec

#
# spec file for package eolie
#
# Copyright (c) 2017 The openSUSE Project.
#
# 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 http://bugs.opensuse.org/
#
# Filter out unwanted Requires
%global __requires_exclude typelib\\(Unity\\)
Name: eolie
Version: 0.9.15
Release: 0
Summary: Web browser for GNOME
License: GPL-3.0
Group: Productivity/Networking/Web/Browsers
URL: https://gnumdk.github.io/eolie-web
Source: https://github.com/gnumdk/eolie/releases/download/%{version}/%{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.14
BuildRequires: pkgconfig(pygobject-3.0)
BuildRequires: pkgconfig(webkit2gtk-web-extension-4.0)
Recommends: python3-PyFxA
Recommends: python3-cryptography
Recommends: python3-pycrypto
Recommends: python3-requests-hawk
# Eolie can use git to retrieve more adblock rules from
# https://github.com/gnumdk/eolie-adblock.git.
Suggests: git
%description
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: packageand(%{name}: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.
%lang_package
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%files
%license COPYING
%doc README.md
%{_bindir}/%{name}
%{_datadir}/appdata/org.gnome.Eolie.appdata.xml
%{_datadir}/applications/org.gnome.Eolie.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.Eolie.gschema.xml
%{_datadir}/icons/hicolor/*/*/org.gnome.Eolie*
%{_datadir}/%{name}
%{_libdir}/%{name}
%{python3_sitelib}/%{name}
%files -n gnome-shell-search-provider-eolie
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/dbus-1/services/org.gnome.Eolie.SearchProvider.service
%{_datadir}/gnome-shell/search-providers/eolie-search-provider.ini
%{_libexecdir}/%{name}-sp
%files lang -f %{name}.lang
%changelog