%define majver %(echo %version | cut -d. -f1-2) Name: kquickcharts Version: 5.67.0 Release: 1mamba Summary: KDE Frameworks 5 QtQuick plugin providing high-performance charts Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: https://download.kde.org/stable/frameworks/%{majver}/kquickcharts-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libgcc BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KDE Frameworks 5 QtQuick plugin providing high-performance charts. %package -n lib%{name} Group: System/Libraries Summary: KDE Frameworks 5 QtQuick plugin providing high-performance charts %description -n lib%{name} KDE Frameworks 5 QtQuick plugin providing high-performance charts. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-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 -n lib%{name} %defattr(-,root,root) %dir %{_libdir}/qt5/qml/org/kde/quickcharts %dir %{_libdir}/qt5/qml/org/kde/quickcharts/controls %{_libdir}/qt5/qml/org/kde/quickcharts/controls/* %{_libdir}/qt5/qml/org/kde/quickcharts/libQuickCharts.so %{_libdir}/qt5/qml/org/kde/quickcharts/qmldir %doc COPYING %files -n lib%{name}-devel %defattr(-,root,root) %{_kde5_libdir}/cmake/KF5QuickCharts/KF5QuickChartsConfig.cmake %{_kde5_libdir}/cmake/KF5QuickCharts/KF5QuickChartsConfigVersion.cmake %{_kde5_libdir}/cmake/KF5QuickCharts/KF5QuickChartsTargets-relwithdebinfo.cmake %{_kde5_libdir}/cmake/KF5QuickCharts/KF5QuickChartsTargets.cmake %changelog * Mon Feb 24 2020 Silvan Calarco 5.67.0-1mamba - package created using the webbuild interface