%global shortname gfeeds
%global appname org.gabmus.%{shortname}
Name: gnome-feeds
Version: 0.8
Release: 1%{?dist}
Summary: RSS/Atom feed reader for GNOME
License: GPLv3+
URL: https://gabmus.gitlab.io/gnome-feeds
Source0: https://gitlab.com/gabmus/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: desktop-file-utils
BuildRequires: intltool
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.50.0
BuildRequires: python3-devel
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
Requires: dbus-common
Requires: glib2%{?_isa}
Requires: hicolor-icon-theme
Requires: python3-feedparser
Requires: python3-html5lib
Requires: python3-listparser
Requires: python3-lxml
Requires: python3-requests
%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.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{shortname} --with-gnome
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appname}.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%{appname}.desktop
%files -f %{shortname}.lang
%license LICENSE
%doc README.md
%{_bindir}/%{shortname}
%{_datadir}/%{shortname}
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/*.service
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/icons/hicolor/*/*/*.svg
%{_metainfodir}/*.xml
%{python3_sitelib}/%{shortname}
%changelog
* Wed Sep 04 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.8-1
- Update to 0.8
* Fri Aug 23 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7-1
- Update to 0.7
* Wed Aug 14 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6-1
- Update to 0.6
* Sat Aug 10 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.5.2-3
- Initial package