rebuilt with qt6 [release 0.3.0-2mamba;Fri Mar 29 2024]

This commit is contained in:
Silvan Calarco 2024-03-29 18:41:38 +01:00
parent fb8f331c3c
commit 25884e0ec4

View File

@ -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 <silvan.calarco@mambasoft.it> 0.3.0-2mamba
- rebuilt with qt6
* Fri Nov 03 2023 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic version update by autodist