Name: kquickimageeditor Version: 0.3.0 Release: 3%{?dist} Summary: QtQuick components providing basic image editing capabilities License: GPLv2+ URL: https://invent.kde.org/libraries/%{name} Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: cmake(Qt5Core) >= 5.15.0 BuildRequires: cmake(Qt5Quick) >= 5.15.0 BuildRequires: kf6-rpm-macros BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Quick) %description %{summary} %package qt5 Summary: Qt5 QtQuick components providing basic image editing capabilities Obsoletes: %{name} < 0.3.0 %description qt5 %{summary} %package qt5-devel Summary: Development files for %{name}-qt5 Requires: %{name}-qt5%{?_isa} = %{version}-%{release} Obsoletes: %{name}-devel < 0.3.0 %description qt5-devel The %{name}-qt5-devel package contains cmake and mkspecs for developing applications that use %{name}-qt5. %package qt6 Summary: Qt6 QtQuick components providing basic image editing capabilities %description qt6 %{summary} %package qt6-devel Summary: Development files for %{name}-qt6 Requires: %{name}-qt6%{?_isa} = %{version}-%{release} %description qt6-devel The %{name}-qt6-devel package contains cmake and mkspecs for developing applications that use %{name}-qt6. %prep %autosetup -n %{name}-%{version} %build mkdir -p build-qt5 pushd build-qt5 %cmake_kf5 -S .. %cmake_build popd mkdir -p build-qt6 pushd build-qt6 %cmake_kf6 -S .. -DQT_MAJOR_VERSION=6 %cmake_build popd %install pushd build-qt5 %cmake_install popd pushd build-qt6 %cmake_install popd %files qt5 %{_kf5_qmldir}/org/kde/kquickimageeditor %files qt5-devel # the qt5 and qt6 cmake packages conflict # https://invent.kde.org/libraries/kquickimageeditor/-/merge_requests/23 #{_kf5_libdir}/cmake/KQuickImageEditor %{_kf5_archdatadir}/mkspecs/modules/qt_KQuickImageEditor.pri %files qt6 %{_kf6_qmldir}/org/kde/kquickimageeditor %files qt6-devel %{_kf6_libdir}/cmake/KQuickImageEditor %{_kf6_archdatadir}/mkspecs/modules/qt_KQuickImageEditor.pri %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Nov 27 2023 Yaakov Selkowitz - 0.3.0-1 - 0.3.0 - Create parallel qt5 and qt6 builds * Thu Jul 20 2023 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Oct 18 2021 Marc Deop - 0.2.0-1 - Upgrade to version 0.2.0. * Thu Jul 22 2021 Fedora Release Engineering - 0.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 23 2020 Marc Deop - 0.1.2-1 - Initial package.