diff --git a/kweathercore-0.7.tar.xz b/kweathercore-0.7.tar.xz deleted file mode 100644 index 0197407..0000000 --- a/kweathercore-0.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:04dde83ae543163735776dc50edab3510247d4825432840a78fade9b237a79fd -size 57016 diff --git a/kweathercore-0.7.tar.xz.sig b/kweathercore-0.7.tar.xz.sig deleted file mode 100644 index b153baa..0000000 --- a/kweathercore-0.7.tar.xz.sig +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEs8s2ZVJUC+Bu6a2XEZaMRJKMrvwFAmMz+DYACgkQEZaMRJKM -rvxVSgf+OcnOyT8WzN+/lvZDYyf+/fBxg9l/dpcgMsgQZ4XMCQRZL3j6NkCib1Cr -ecb94UVlePW3QCnuI1p9nLtmVSUrKEJV52RIhLim0XQyiwdRfhNBcM+7a0PqA79S -kLfX6Oabq62wASXcV85xD6ss00f+hLDJvyqbV8qQaZbUdhDlCoFmx7xDP3WZ6oO5 -2WcAAnTTBy+l5C1ZBQMKTARXeWjgKomEZY5Z1CxfvccxFcRmrXgQMAPynkAHegiP -noOD87MeOdS4cZANcIkAcxE73gy4zuJc1Nqq7v6Tyc34xrIPywAXAHNfkXCwLepl -uTsUWkb77u24t7YOIIEC0el5l8aVLg== -=1X++ ------END PGP SIGNATURE----- diff --git a/kweathercore-0.8.0.tar.xz b/kweathercore-0.8.0.tar.xz new file mode 100644 index 0000000..e6efe22 --- /dev/null +++ b/kweathercore-0.8.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bcac13daf98705e2f0d5b06b21a1a8694962078fce1bf620dbbc364873a0efe +size 76420 diff --git a/kweathercore-0.8.0.tar.xz.sig b/kweathercore-0.8.0.tar.xz.sig new file mode 100644 index 0000000..d70bc98 --- /dev/null +++ b/kweathercore-0.8.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmVnXesACgkQ11dEg7tX +sY28VBAAs8KArR+rf+D+5vX0tuaHP+FBEjtTo2ccPFiqd0zws+z/F6ATTg10pxny +ei6RhXykfs91tyAb0wFsscvN490PKeuwX5nNNRYyDi0pCK/WVwCwXRmFPDM4FLyH +OUt59a8h+2R17JdIGpuQsE4qXfnor11iM6T9M8eqbO8Ga/2VV8z2As3g+dS3e55X +1m/ozhHdIl/rgdUQKUumpLKKRutrBybGZ8aCEpBWtOxjlAsQWci5UXujKTvYM1MA +4RYkiPeovMvUIT8Zm8Ry+iLG6i6eY5rGYMnlMKRIjsmurdrSOjYK5xwBhX4kVKwr +asW6gQPGBAIuHSIR9rPV371reJgYIv1tRQwv0fWQwqz5pG4fhtPEY8GhSQwU+CvH +L8UcZBSPCG9UaTtxVpxbJwETEt9r2MT94gFV+49nmBgLGs6yOxl8NkE8aiSaYA/m +wJ0Kk9CaRCj6LSb7GeVb87Qr9qTP5m0D4TWi89pFsKn2IBRGex0wkRz7yHz/Af5+ +zV9Q+lKtjtJQqKBNWVwW7BgaxepOruaQF0vsCkwsrZPUi++g9KROJ5whz7BC04Cq +AgsyFRrYatNDGDyS3X1aGCHRpvw4pirKZWe1Xv8WyJEKGe/C1GLjD63GzSoDfhRF +lRYzFtPFW8MXouQiVsxTqimTZFceeEmIUlLlV50NAPL/ptVtLek= +=C5ri +-----END PGP SIGNATURE----- diff --git a/kweathercore.changes b/kweathercore.changes index d76e4bb..c84f01c 100644 --- a/kweathercore.changes +++ b/kweathercore.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 10 15:51:17 UTC 2024 - Christophe Marin + +- Update to 0.8.0 + * The library now needs Qt6 to build + ------------------------------------------------------------------- Mon Mar 20 10:37:02 UTC 2023 - Christophe Marin diff --git a/kweathercore.keyring b/kweathercore.keyring index b6ffa05..c939317 100644 Binary files a/kweathercore.keyring and b/kweathercore.keyring differ diff --git a/kweathercore.spec b/kweathercore.spec index 2408fa2..fe1ef49 100644 --- a/kweathercore.spec +++ b/kweathercore.spec @@ -1,7 +1,7 @@ # # spec file for package kweathercore # -# Copyright (c) 2023 SUSE LLC +# 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 @@ -16,10 +16,12 @@ # -%define soversion 5 -%bcond_without released +%define kf6_version 5.246.0 +%define qt6_version 6.6.0 + +%bcond_without released Name: kweathercore -Version: 0.7 +Version: 0.8.0 Release: 0 Summary: Library to facilitate retrieval of weather information License: LGPL-2.0-or-later @@ -27,16 +29,16 @@ URL: https://invent.kde.org/libraries/kweathercore Source0: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz %if %{with released} Source1: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz.sig -Source2: %{name}.keyring +Source2: kweathercore.keyring %endif -BuildRequires: extra-cmake-modules +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} BuildRequires: doxygen -BuildRequires: libqt5-qttools-qhelpgenerator -BuildRequires: cmake(KF5Holidays) -BuildRequires: cmake(KF5I18n) -BuildRequires: cmake(Qt5Core) >= 5.12.0 -BuildRequires: cmake(Qt5Network) -BuildRequires: cmake(Qt5Positioning) +BuildRequires: cmake(KF6Holidays) >= %{kf6_version} +BuildRequires: cmake(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Network) >= %{qt6_version} +BuildRequires: cmake(Qt6Positioning) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} %description Get weather forecast and alerts anywhere on the earth easy. KWeatherCore @@ -44,10 +46,10 @@ provides you a highly abstracted library for things related to weather: Get local weather forecast, get weather of a location by name or coordinate, get sunrise/set moonrise/set and many more informations about a location. -%package -n libKF5KWeatherCore%{soversion} +%package -n libKWeatherCore6 Summary: Library to facilitate retrieval of weather information -%description -n libKF5KWeatherCore%{soversion} +%description -n libKWeatherCore6 Shared objects for kweathercore. Get weather forecast and alerts anywhere on the earth easy. KWeatherCore provides you a highly abstracted library for things related to weather: @@ -56,34 +58,40 @@ get sunrise/set moonrise/set and many more informations about a location. %package devel Summary: Development headers for kweathercore -Requires: libKF5KWeatherCore%{soversion} = %{version} +Requires: libKWeatherCore6 = %{version} %description devel Required headers to build components based on kweathercore. +%lang_package -n libKWeatherCore6 + %prep %autosetup -p1 %build -%cmake_kf5 -d build -- -DBUILD_QCH=ON +%cmake_kf6 -DBUILD_QCH:BOOL=TRUE -%cmake_build +%kf6_build %install -%kf5_makeinstall -C build +%kf6_install -%ldconfig_scriptlets -n libKF5KWeatherCore%{soversion} +%find_lang %{name} --all-name -%files -n libKF5KWeatherCore%{soversion} +%ldconfig_scriptlets -n libKWeatherCore6 + +%files -n libKWeatherCore6 %license LICENSES/* -%{_kf5_libdir}/libKF5KWeatherCore.so.* +%{_kf6_libdir}/libKWeatherCore.so.* %files devel -%{_kf5_cmakedir}/KF5KWeatherCore/ -%{_kf5_includedir}/KWeatherCore/ -%{_kf5_includedir}/kweathercore_version.h -%{_kf5_libdir}/libKF5KWeatherCore.so -%{_kf5_mkspecsdir}/qt_KWeatherCore.pri -%{_kf5_sharedir}/doc/qch/ +%doc %{_kf6_qchdir}/KWeatherCore.* +%{_includedir}/KWeatherCore/ +%{_includedir}/kweathercore_version.h +%{_kf6_cmakedir}/KWeatherCore/ +%{_kf6_libdir}/libKWeatherCore.so +%{_kf6_mkspecsdir}/qt_KWeatherCore.pri + +%files -n libKWeatherCore6-lang -f %{name}.lang %changelog