File weather-widget-plus.spec of Package weather-widget-plus
%define commit d2c0b0584570bc834c439fb70cf418accb71a9f7
Name: weather-widget-plus
Version: 4.5.1
Release: 0
Summary: Weather Widget Plus
License: GPL-2.0-only
Group: System/GUI/KDE
URL: https://github.com/tully-t/%{name}
Source: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz
Patch0: cmake.patch
BuildRequires: cmake(KF6KirigamiAddons)
BuildRequires: cmake(Plasma)
BuildRequires: fdupes
BuildRequires: kf6-extra-cmake-modules
Requires: kf6-kirigami-imports
Requires: kirigami-addons6
Requires: plasma6-desktop
Requires(post): update-desktop-files
Requires(postun): update-desktop-files
%description
Weather Widget Plus features a meteogram and extensive customization options. Data from OpenWeather and the Norwegian Meteorological Institute.
%prep
%autosetup -p1 -n %{name}-%{commit}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%fdupes -s %{buildroot}
%files
%doc README.md
%license LICENSE.md
%{_kf6_plasmadir}/plasmoids/
%changelog
* Fri Feb 23 2024 Foo Bar <foobar@example.org>
- fix error: source_date_epoch_from_changelog set but changelog is missing