%global commit0 fa296953e29c3034bd22dd572ef3b1b2ee6acb19 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global bumpver 1 Name: kweather Version: 24.11.70%{?bumpver:~%{bumpver}.git%{shortcommit0}} Release: 1%{?dist} License: GPLv2+ Summary: Convergent KDE weather application URL: https://invent.kde.org/utilities/kweather %apps_source BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: libappstream-glib BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6Kirigami) BuildRequires: cmake(KF6KirigamiAddons) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(Plasma) BuildRequires: cmake(KWeatherCore) BuildRequires: cmake(Qt6Charts) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6OpenGL) BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6QuickControls2) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6Test) BuildRequires: cmake(Qt6Widgets) Requires: hicolor-icon-theme Requires: kf6-kcoreaddons%{?_isa} Requires: kf6-kirigami-addons%{?_isa} Requires: kf6-kirigami%{?_isa} Recommends: (%{name}-plasma-applet%{?_isa} = %{version}-%{release} if plasma-workspace) %description Weather application for Plasma Mobile %package plasma-applet Summary: Plasma weather applet Requires: %{name}%{?_isa} = %{version}-%{release} # QML module dependencies Requires: kf6-kirigami%{?_isa} Requires: kf6-kirigami-addons%{?_isa} Requires: libplasma%{?_isa} %description plasma-applet %{summary}. %prep %{!?bumpver:%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'} %autosetup -n %{sourcerootdir} -p1 %build %cmake_kf6 %cmake_build %install %cmake_install chmod -x %{buildroot}%{_kf6_datadir}/applications/org.kde.%{name}.desktop %find_lang %{name} %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml || : desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/*.desktop %files -f %{name}.lang %license LICENSES/*.txt %{_kf6_bindir}/%{name} %{_kf6_datadir}/applications/org.kde.%{name}.desktop %{_kf6_datadir}/dbus-1/services/org.kde.%{name}.service %{_kf6_datadir}/icons/hicolor/scalable/apps/org.kde.%{name}.svg %{_kf6_metainfodir}/org.kde.%{name}.appdata.xml %files plasma-applet %{_kf6_datadir}/plasma/plasmoids/org.kde.plasma.%{name}_1x4/ %{_kf6_metainfodir}/org.kde.plasma.%{name}_1x4.appdata.xml %{_kf6_qtplugindir}/plasma/applets/plasma_applet_%{name}_1x4.so %changelog %{?kde_snapshot_changelog_entry} * Tue Nov 05 2024 Pavel Solovev - 24.08.3-1 - Update to 24.08.3 * Mon Oct 07 2024 Pavel Solovev - 24.08.2-1 - Update to 24.08.2 * Tue Sep 10 2024 Pavel Solovev - 24.08.1-1 - Update to 24.08.1 * Fri Aug 16 2024 Pavel Solovev - 24.08.0-1 - Update to 24.08.0 * Fri Aug 09 2024 Pavel Solovev - 24.07.90-1 - Update to 24.07.90 * Thu Jul 25 2024 Pavel Solovev - 24.07.80-1 - Update to 24.07.80 * Thu Jul 04 2024 Pavel Solovev - 24.05.2-1 - Update to 24.05.2 * Thu Jun 13 2024 Pavel Solovev - 24.05.1-1 - Update to 24.05.1 * Sun Jun 02 2024 Pavel Solovev - 24.05.0-1.1 - split pkgs * Thu May 23 2024 Pavel Solovev - 24.05.0-1 - Update to 24.05.0 * Fri Apr 26 2024 Pavel Solovev - 24.04.80-1 - Update to 24.04.80 * Thu Apr 11 2024 Pavel Solovev - 24.02.2-1 - Update to 24.02.2 * Thu Mar 21 2024 Pavel Solovev - 24.02.1-1 - Update to 24.02.1 * Wed Mar 20 2024 Pavel Solovev - 24.02.0-2 - qmlcache rebuild * Tue Nov 14 2023 Marc Deop i Argemí - 23.08.3-1 - 23.08.3 * Thu Oct 12 2023 Marc Deop i Argemí - 23.08.2-1 - 23.08.2 * Sat Sep 16 2023 Marc Deop i Argemí - 23.08.1-1 - 23.08.1 * Sat Aug 26 2023 Marc Deop i Argemí - 23.08.0-1 - 23.08.0 * Thu Jul 20 2023 Fedora Release Engineering - 23.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 08 2023 Marc Deop i Argemí - 23.04.3-1 - 23.04.3 * Tue Jun 06 2023 Marc Deop i Argemí - 23.04.2-1 - 23.04.2 * Sat May 13 2023 Marc Deop i Argemí - 23.04.1-1 - 23.04.1 * Thu Apr 20 2023 Marc Deop i Argemí - 23.04.0-1 - 23.04.0 * Fri Mar 31 2023 Marc Deop i Argemí - 23.03.90-1 - 23.03.90 * Mon Mar 20 2023 Marc Deop i Argemí - 23.03.80-1 - 23.03.80 * Mon Jan 30 2023 Justin Zobel - 23.01.0-1 - Update to 23.01.0 * Thu Jan 19 2023 Fedora Release Engineering - 22.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 01 2022 Justin Zobel - 22.11-1 - Update to 22.11 * Wed Sep 28 2022 Justin Zobel - 22.09-1 - Rebuild against kweathercore 0.7 * Wed Sep 28 2022 Justin Zobel - 22.09-1 - Update to 22.09 * Tue Sep 20 2022 Onuralp SEZER - 22.06-3 - Rebuild for kweathercore 0.6 * Tue Sep 20 2022 Justin Zobel - 22.06-2 - Rebuild * Fri Aug 26 2022 Justin Zobel - 22.06-1 - Update to 22.06 * Thu Jul 21 2022 Fedora Release Engineering - 22.02-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Feb 10 2022 Onuralp SEZER - 22.02-1 - Plasma mobile version 22.02 * Thu Jan 20 2022 Fedora Release Engineering - 21.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Jan 16 2022 Onuralp SEZER - 21.12-1 - 21.12 * Thu Jul 22 2021 Fedora Release Engineering - 21.06-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jul 17 2021 Onuralp SEZER - 21.06-2 - Lang packs added. * Sat Jul 17 2021 Onuralp SEZER - 21.06-1 - 21.06 * Sat May 15 2021 Onuralp SEZER - 21.05-1 - initial version of package