newsflash/newsflash.spec
Richard Rahl c63239bb01 Accepting request 1187029 from home:rrahl0
- update to 3.3.1:
  * video player: mpris support
  * zoom controls in article menu
  * properly escape markup of empty feed list status
  * fix keyboard navigation article list with collapsed article view
  * favicon cache: cache and reuse gdk Textures to reduce memory consumption
  * local RSS: keep order of articles when no date is specified
  * article scraper: apply suggestions regarding libxml2 thread safety
  * article scraper: update full-text-rss config files
  * article scraper: replace images with single emoji in alt-text with unicode emoji
  * database: store timestamps with UTC timezone
  * database: reduce connection-pool size
- update to 3.3.0:
  * Video player based on libclapper
  * Performance: parallelize requests to services during sync as much as possible
  * miniflux: fix fetching a single feed after adding it
  * feed parsing: improve selecting the correct website link
  * Properly disconnect signals of listview rows
  * Ping: timeout faster than the 3s delay for network changes
  * Only show error badges if error count is greater than 0
  * Use gtk4 uri launcher instead of ashpd
  * Context menu to mark all articles as read
  * Add dialogs: fit long translated string into mobile form factor
- switch to changing version in spec file, removing show-actual-version.patch

OBS-URL: https://build.opensuse.org/request/show/1187029
OBS-URL: https://build.opensuse.org/package/show/network:utilities/newsflash?expand=0&rev=14
2024-07-12 08:33:01 +00:00

91 lines
2.8 KiB
RPMSpec

#
# spec file for package newsflash
#
# Copyright (c) 2024 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 https://bugs.opensuse.org/
#
%define _lto_cflags %{nil}
%define appname io.gitlab.news_flash.NewsFlash
Name: newsflash
Version: 3.3.1
Release: 0
Summary: The spiritual successor to FeedReader
License: GPL-3.0-only
URL: https://gitlab.com/news-flash/news_flash_gtk
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: appstream-glib
BuildRequires: cargo-packaging
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: gettext-tools
BuildRequires: glib-networking
BuildRequires: hicolor-icon-theme
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: python3-gobject
BuildRequires: update-desktop-files
BuildRequires: xdg-utils
BuildRequires: pkgconfig(blueprint-compiler)
BuildRequires: pkgconfig(clapper-gtk-0.0)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(webkitgtk-6.0)
BuildRequires: typelib(ClapperGtk)
%description
NewsFlash is a program designed to complement an already existing web-based RSS reader account.
It combines all the advantages of web based services like syncing across all your devices with everything you expect
from a modern desktop program: Desktop notifications, fast search and filtering, tagging, handy keyboard shortcuts
and having access to all your articles as long as you like.
%lang_package
%prep
%autosetup -a1
# show the actual version in the about page
sed -i "s|version: '0.0.0'|version: '%{version}'|g" meson.build
%build
%meson
%meson_build
%install
%meson_install
%suse_update_desktop_file %{appname}
%find_lang %{name}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{appname}
%{_datadir}/applications/%{appname}.desktop
%{_iconsdir}/hicolor/scalable/apps/%{appname}.svg
%{_iconsdir}/hicolor/symbolic/apps/%{appname}-symbolic.svg
%{_datadir}/metainfo/%{appname}.appdata.xml
%files lang -f %{name}.lang
%changelog