File kquickimageeditor.spec of Package kquickimageeditor

#
# spec file for package kquickimageeditor
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%define kf5_version 5.79.0
%define qt5_version 5.15.0

Name:           kquickimageeditor
Version:        0.2.0
Release:        0
Summary:        Basic image editing
License:        GPL-2.0-or-later
Group:          Development/Libraries/KDE
URL:            https://invent.kde.org/libraries/kquickimageeditor
Source0:        https://invent.kde.org/libraries/kquickimageeditor/-/archive/v%{version}/kquickimageeditor-v%{version}.tar.gz
BuildRequires:  extra-cmake-modules
BuildRequires:  libqt5-qtbase-devel        >= %{qt5_version}
BuildRequires:  libqt5-qtdeclarative-devel >= %{qt5_version}

%description
KQuickImageEditor is a set of QtQuick components providing basic image editing
capabilities.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries/KDE

%description devel
The %{name}-devel package contains cmake and mkspecs for developing
applications that use %{name}.

%prep
%setup -q -n %{name}-v%{version}

%build
%cmake_kf5
%cmake_build

%install
#%%cmake_install
%make_install

%files
%license LICENSES/{BSD-2-Clause,CC0-1.0,LGPL-2.1-or-later}.txt
%doc README.md
%dir %{_libdir}/qt5/qml/org
%dir %{_libdir}/qt5/qml/org/kde
%{_libdir}/qt5/qml/org/kde/kquickimageeditor

%files devel
%{_libdir}/cmake/KQuickImageEditor
%{_libdir}/qt5/mkspecs/modules/qt_KQuickImageEditor.pri

%changelog
openSUSE Build Service is sponsored by