%define majver %(echo %version | cut -d. -f1-2) Name: qqc2-desktop-style Version: 5.66.0 Release: 1mamba Summary: KDE Frameworks 5 QtQuickControls 2 style that uses QWidget's QStyle for painting Group: Graphical Desktop/Look 'n' feel Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: https://download.kde.org/stable/frameworks/%{majver}/qqc2-desktop-style-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libgcc BuildRequires: libkauth-devel BuildRequires: libkcodecs-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkiconthemes-devel BuildRequires: libkirigami2-devel BuildRequires: libkwidgetsaddons-devel 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 QtQuickControls 2 style that uses QWidget's QStyle for painting. %package -n lib%{name} Group: System/Libraries Summary: KDE Frameworks 5 QtQuickControls 2 style that uses QWidget's QStyle for painting %description -n lib%{name} KDE Frameworks 5 QtQuickControls 2 style that uses QWidget's QStyle for painting. %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}" %post -n lib%{name} /sbin/ldconfig exit 0 %postun -n lib%{name} /sbin/ldconfig exit 0 %files -n lib%{name} %defattr(-,root,root) %{_libdir}/qt5/plugins/kf5/kirigami/org.kde.desktop.so %dir %{_libdir}/qt5/qml/QtQuick/Controls.2 %dir %{_libdir}/qt5/qml/QtQuick/Controls.2/org.kde.desktop %{_libdir}/qt5/qml/QtQuick/Controls.2/org.kde.desktop/* %dir %{_libdir}/qt5/qml/org/kde/qqc2desktopstyle %dir %{_libdir}/qt5/qml/org/kde/qqc2desktopstyle/private %{_libdir}/qt5/qml/org/kde/qqc2desktopstyle/private/* %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_kde5_libdir}/cmake/KF5QQC2DeskopStyle %{_kde5_libdir}/cmake/KF5QQC2DeskopStyle/KF5QQC2DeskopStyleConfig*.cmake %dir %{_kde5_libdir}/cmake/KF5QQC2DesktopStyle %{_kde5_libdir}/cmake/KF5QQC2DesktopStyle/KF5QQC2DesktopStyleConfig*.cmake %changelog * Tue Jan 14 2020 Silvan Calarco 5.66.0-1mamba - update to 5.66.0 * Wed Jan 01 2020 Silvan Calarco 5.65.0-1mamba - package created using the webbuild interface