kquickimageeditor/kquickimageeditor.spec

79 lines
2.2 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kquickimageeditor
Version: 0.4.0
Release: 1mamba
Summary: A set of QtQuick components providing basic image editing capabilities
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org
Source: https://download.kde.org/stable/kquickimageeditor/kquickimageeditor-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules
%description
KQuickImageEditor is a set of QtQuick components providing basic image editing capabilities.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kf6 \
-DQT_MAJOR_VERSION=6
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_libdir}/qt6/qml/org/kde/kquickimageeditor
%{_libdir}/qt6/qml/org/kde/kquickimageeditor/*
%doc LICENSES
%files devel
%defattr(-,root,root)
%dir %{_libdir}/cmake/KQuickImageEditor
%{_libdir}/cmake/KQuickImageEditor/KQuickImageEditor*.cmake
%{_qt6_archdatadir}/mkspecs/modules/qt_KQuickImageEditor.pri
%changelog
* Sat Sep 21 2024 Automatic Build System <autodist@openmamba.org> 0.4.0-1mamba
- automatic version update by autodist
* 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
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
- package created using the webbuild interface