Name: rssguard Version: 5.0.0 %global forgeurl0 https://github.com/martinrotter/%{name} %global commit0 bbe72705e69eaa105b43b74212e3baa95ca37277 %global date0 20260302 %global forgeurl1 https://github.com/litehtml/litehtml %global commit1 8836bc1bc35ca0cfd71dc0386ef841d5cbc3bd5e %global date1 20260109 %global forgeurl2 https://github.com/martinrotter/qtlinq %global commit2 02843d089f115d1bb0dfcd142dc8b6669fe71409 %global date2 20260223 %forgemeta -a %global app_id io.github.martinrotter.rssguard %global goipath rssguard-article-extractor Release: 1%{?dist} Summary: Simple yet powerful feed reader # GPL-3.0-or-later: main program # LGPL-3.0-or-later: src/librssguard/3rd-party/mimesis # BSD-3-Clause: src/librssguard/network-web/googlesuggest.* # BSD-4-Clause: src/librssguard/3rd-party/sc # MIT: src/librssguard/3rd-party/boolinq License: GPL-3.0-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND BSD-4-Clause AND MIT URL: %{forgeurl0} Source0: %{forgesource0} Source1: %{forgesource1} Source2: %{forgesource2} Source3: go-mod-vendor.tar.gz BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: golang BuildRequires: go-rpm-macros BuildRequires: libappstream-glib BuildRequires: make BuildRequires: ninja-build BuildRequires: qt6-rpm-macros BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Core5Compat) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6GuiPrivate) BuildRequires: cmake(Qt6Linguist) BuildRequires: cmake(Qt6Multimedia) BuildRequires: cmake(Qt6Network) # BuildRequires: cmake(Qt6OpenGL) # BuildRequires: cmake(Qt6OpenGLWidgets) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Sql) # BuildRequires: cmake(Qt6Tools) # BuildRequires: cmake(Qt6WebEngineCore) # BuildRequires: cmake(Qt6WebEngineWidgets) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6Xml) BuildRequires: pkgconfig(libsqlite3x) # BuildRequires: pkgconfig(mariadb) BuildRequires: pkgconfig(mpv) # BuildRequires: pkgconfig(opengl) # BuildRequires: pkgconfig(zlib) Requires: hicolor-icon-theme Requires: litehtml Provides: bundled(golang(%{goipath})) Provides: bundled(golang(codeberg.org/readeck/go-readability)) Provides: bundled(golang(github.com/andybalholm/cascadia)) Provides: bundled(golang(github.com/araddon/dateparse)) Provides: bundled(golang(github.com/gogs/chardet)) Provides: bundled(golang(github.com/go-shiori/dom)) Provides: bundled(golang(golang.org/x/net)) Provides: bundled(golang(golang.org/x/text)) Provides: bundled(mimesis) Provides: bundled(qtlinq) Provides: bundled(simplecrypt) ExclusiveArch: %{golang_arches_future} %description RSS Guard is a fast, lightweight, and customizable feed reader designed for modern users. It runs on Windows, Linux, BSD, OS/2, and macOS, and supports a wide range of feed formats including RSS, ATOM, JSON, iCalendar, and Sitemap. Beyond standard feeds, RSS Guard integrates seamlessly with many popular online feed services, such as: - Feedly - Gmail - Google Reader API services — Bazqux, FreshRSS, Inoreader, Miniflux, Reedah, The Old Reader, and others - Nextcloud News - Tiny Tiny RSS 🎧 Podcasts and Media Playback =============================== RSS Guard is also a capable podcast player. It can play both audio and video directly using its built-in mpv-based (or alternatively ffmpeg-based) media player — no external applications required. 🌐 Gemini Protocol Support ========================== RSS Guard includes native support for the Gemini protocol, allowing it to fetch and display feeds securely over Gemini connections. %files %doc README.md %license LICENSE.md %{_bindir}/%{name} %{_bindir}/%{goipath} %{_includedir}/lib%{name}/ %{_libdir}/lib%{name}.so %{_libdir}/%{name}/lib%{name}*.so %{_datadir}/applications/%{app_id}.desktop %{_datadir}/icons/hicolor/*/apps/%{app_id}.png %{_metainfodir}/%{app_id}.metainfo.xml #------------------------------------------------------------------------------- %prep %setup -qn %{name}-%{commit} # Add submodules tar -xzf %SOURCE1 --strip-components=1 -C src/librssguard/3rd-party/litehtml tar -xzf %SOURCE2 --strip-components=1 -C src/librssguard/3rd-party/qtlinq # add Go vendored sources tar -xzf %SOURCE3 -C resources/scripts/standalone/article-extractor %build export BUILD_OPTS=%{gobuild_baseflags_shescaped} export GO_LDFLAGS=%{gobuild_ldflags_shescaped} %cmake -DBUILD_WITH_QT6=1 -DNO_UPDATE_CHECK=1 # -DCMAKE_CXX_FLAGS="$CXXFLAGS -I /usr/include/litehtml" %cmake_build %install %cmake_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{app_id}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{app_id}.metainfo.xml #------------------------------------------------------------------------------- %changelog * Wed Mar 4 2026 Hazel Bunny - 5.0.0-1 - Update to 5.0.0 * Wed Feb 18 2026 Hazel Bunny - 4.8.6-1 - Update to 4.8.6 * Wed May 14 2025 Hazel Bunny - 4.8.3-1 - Update to 4.8.3 * Sun Dec 22 2024 Hazel Bunny - 4.8.1-1 - Update to 4.8.1 * Fri Nov 1 2024 Hazel Bunny - 4.7.4-2 - Rebuild for Qt 6.8 * Thu Oct 10 2024 Hazel Bunny - 4.7.4-1 - Update to 4.7.4 * Mon Aug 12 2024 Hazel Bunny - 4.7.3-1 - Initial package