kquickimageeditor/kquickimageeditor.spec

67 lines
1.8 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kquickimageeditor
Version: 0.2.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: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
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_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_libdir}/qt5/qml/org/kde/kquickimageeditor
%{_libdir}/qt5/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
%changelog
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
- package created using the webbuild interface