File gfeeds.spec of Package gfeeds

#
# spec file for package gfeeds
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#


Name:           gfeeds
Version:        0.16.1+0
Release:        0
Summary:        News reader for GNOME
License:        GPL-3.0-only
Group:          Productivity/Networking/News/Utilities
Url:            https://gabmus.gitlab.io/gnome-feeds/
Source:         %{name}-%{version}.tar.xz
BuildRequires:  meson
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
Requires:       python3-lxml
Requires:       python3-feedparser
Requires:       python3-listparser
Requires:       python3-html5lib
Requires:       python3-requests
Requires:       python3-python-utils
Requires:       python3-Pillow
Requires:       python3-readability
Requires:       python3-Pygments
Recommends:     %{name}-lang
BuildArch:      noarch
Recommends:     %{name}-lang = %{version}
Provides:       gnome-feeds = %{version}-%{release}
Obsoletes:      gnome-feeds < %{version}-%{release}
Provides:       gnome-feeds-lang = %{version}-%{release}
Obsoletes:      gnome-feeds-lang < %{version}-%{release}

%description
GNOME Feeds is a minimal RSS/Atom feed reader built with speed and simplicity in mind.
It offers a simple user interface that only shows the latest news from your subscriptions.
Articles are shown in a web view by default, with javascript disabled for a faster and less intrusive user experience. There's also a reader mode included, built from the one GNOME Web/Epiphany uses.
Feeds can be imported and exported via OPML.

%lang_package

%prep
%autosetup
# Remove all hidden files
find . -type f -iname '.*' -delete -print

%build
%meson
%meson_build

%install
%meson_install
%suse_update_desktop_file -G -n -r org.gabmus.gfeeds "GNOME Feeds" Network Feed
%find_lang gfeeds --with-gnome

%files
%license LICENSE
%doc README.md
%{_bindir}/gfeeds
%{_datadir}/gfeeds
%{python3_sitelib}/gfeeds/
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/org.gabmus.gfeeds.service
%{_datadir}/glib-2.0/schemas/org.gabmus.gfeeds.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/org.gabmus.gfeeds.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gabmus.gfeeds-symbolic.svg  
%{_datadir}/metainfo/org.gabmus.gfeeds.appdata.xml

%files lang -f gfeeds.lang

%changelog

openSUSE Build Service is sponsored by