%global debug_package %{nil} Name: nabu-kde-widgets Version: 1.0.1 Release: 3.test%{?dist} Summary: Curated Plasma 6 widgets for the Nabu KDE desktop License: GPL-3.0-only URL: https://github.com/MCC45TR/kde-plasma6-widgets Source0: nabu-kde-widgets-debug-%{version}.tar.zst BuildArch: noarch BuildRequires: python3 Requires: plasma-workspace >= 6.0 Requires: python3 Requires: curl Provides: nabu-mcc45tr-kde-widgets = %{version}-%{release} Obsoletes: nabu-mcc45tr-kde-widgets < %{version}-%{release} %description System-wide Plasma 6 installation of the MCC45TR MFile Finder, MWeather and MAnalog Clock widgets curated for the Xiaomi Pad 5 KDE desktop. The package keeps the widgets versioned and available to every local Plasma user. %prep %autosetup -n nabu-kde-widgets-debug-%{version} %build %install install -d -m 0755 %{buildroot}%{_datadir}/plasma/plasmoids cp -a com.mcc45tr.filesearch %{buildroot}%{_datadir}/plasma/plasmoids/ cp -a com.mcc45tr.mweather %{buildroot}%{_datadir}/plasma/plasmoids/ cp -a com.mcc45tr.analogclock %{buildroot}%{_datadir}/plasma/plasmoids/ %check python3 -c 'import json, pathlib; expected={"com.mcc45tr.filesearch", "com.mcc45tr.mweather", "com.mcc45tr.analogclock"}; root=pathlib.Path("."); actual={json.loads((root/item/"metadata.json").read_text())["KPlugin"]["Id"] for item in expected}; assert actual == expected; assert all((root/item/"contents/ui/main.qml").is_file() for item in expected)' %files %{_datadir}/plasma/plasmoids/com.mcc45tr.filesearch/ %{_datadir}/plasma/plasmoids/com.mcc45tr.mweather/ %{_datadir}/plasma/plasmoids/com.mcc45tr.analogclock/ %changelog * Sat Aug 15 2026 MCC45TR - 1.0.1-1 - Prepare the current widget sources for Fedora Rawhide COPR builds. * Fri Aug 14 2026 MCC45TR - 1.0.0-1 - Bundle MFile Finder 1.3.1, MWeather 1.4.0 and MAnalog Clock 1.3.1.