From 25884e0ec4ae7e169a1dbaf090e1c8ec7b50661e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 29 Mar 2024 18:41:38 +0100 Subject: [PATCH] rebuilt with qt6 [release 0.3.0-2mamba;Fri Mar 29 2024] --- kquickimageeditor.spec | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/kquickimageeditor.spec b/kquickimageeditor.spec index 55bed35..58b3616 100644 --- a/kquickimageeditor.spec +++ b/kquickimageeditor.spec @@ -2,7 +2,7 @@ Name: kquickimageeditor Version: 0.3.0 -Release: 1mamba +Release: 2mamba Summary: A set of QtQuick components providing basic image editing capabilities Group: System/Libraries Vendor: openmamba @@ -14,12 +14,13 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc +BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtdeclarative-devel ## AUTOBUILDREQ-END BuildRequires: cmake -BuildRequires: rpm-macros-kde5 +BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules %description @@ -39,29 +40,34 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake_kde5 -d build -%make +%cmake_kf6 \ + -DQT_MAJOR_VERSION=6 + +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) -%dir %{_libdir}/qt5/qml/org/kde/kquickimageeditor -%{_libdir}/qt5/qml/org/kde/kquickimageeditor/* +%dir %{_libdir}/qt6/qml/org/kde/kquickimageeditor +%{_libdir}/qt6/qml/org/kde/kquickimageeditor/* %doc LICENSES %files devel %defattr(-,root,root) -%{_libdir}/cmake/KQuickImageEditor/KQuickImageEditorConfig.cmake -%{_libdir}/cmake/KQuickImageEditor/KQuickImageEditorConfigVersion.cmake -%{_kde5_mkspecsdir}/qt_KQuickImageEditor.pri +%dir %{_libdir}/cmake/KQuickImageEditor +%{_libdir}/cmake/KQuickImageEditor/KQuickImageEditor*.cmake +%{_qt6_archdatadir}/mkspecs/modules/qt_KQuickImageEditor.pri %changelog +* Fri Mar 29 2024 Silvan Calarco 0.3.0-2mamba +- rebuilt with qt6 + * Fri Nov 03 2023 Automatic Build System 0.3.0-1mamba - automatic version update by autodist