From 2d9e9af6af62e8c5bde13f86742bd50b56d95382 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:03:44 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.65.0-1mamba;Wed Jan 01 2020] --- README.md | 2 + qqc2-desktop-style.spec | 96 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 qqc2-desktop-style.spec diff --git a/README.md b/README.md index 6e535de..624f75f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qqc2-desktop-style +KDE Frameworks 5 QtQuickControls 2 style that uses QWidget's QStyle for painting. + diff --git a/qqc2-desktop-style.spec b/qqc2-desktop-style.spec new file mode 100644 index 0000000..3d17976 --- /dev/null +++ b/qqc2-desktop-style.spec @@ -0,0 +1,96 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: qqc2-desktop-style +Version: 5.65.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/5.65/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 +* Wed Jan 01 2020 Silvan Calarco 5.65.0-1mamba +- package created using the webbuild interface