From 0052d274490d9eab7a166a4bb3ef093c7c78fc3c Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 6 Jan 2024 01:36:02 +0100 Subject: [PATCH] standardize the specfile add some missing build requirements [release 5.9.0-4mamba;Sat Apr 25 2015] --- kguiaddons.spec | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/kguiaddons.spec b/kguiaddons.spec index 92149fe..50f31d5 100644 --- a/kguiaddons.spec +++ b/kguiaddons.spec @@ -1,15 +1,16 @@ %define majver %(echo %version | cut -d. -f1-2) + Name: kguiaddons Version: 5.9.0 -Release: 3mamba -Summary: Utilities for graphical user interfaces +Release: 4mamba +Summary: KDE Frameworks 5 utilities for graphical user interfaces Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{majver}/kguiaddons-%{version}.tar.xz -License: GPL +License: GPL, LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libICE-devel @@ -22,6 +23,14 @@ BuildRequires: libstdc++6-devel BuildRequires: libxcb-devel ## AUTOBUILDREQ-END BuildRequires: cmake +BuildRequires: extra-cmake-modules +BuildRequires: rpm-macros-kde5 +BuildRequires: pkg-config +BuildRequires: libQt5X11Extras +BuildRequires: libQt5Core +BuildRequires: libQt5Gui +BuildRequires: libQt5Test +BuildRequires: libQt5Widgets BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -29,7 +38,7 @@ The KDE GUI addons provide utilities for graphical user interfaces in the areas %package -n lib%{name} Group: System/Libraries -Summary: Utilities for graphical user interfaces +Summary: KDE Frameworks 5 utilities for graphical user interfaces %description -n lib%{name} The KDE GUI addons provide utilities for graphical user interfaces in the areas of colors, fonts, text, images, keyboard input. @@ -48,7 +57,7 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake -d build +%cmake_kde5 -d build %make %install @@ -63,22 +72,23 @@ This package contains libraries and header files for developing applications tha %files -n lib%{name} %defattr(-,root,root) -%{_libdir}/libKF5GuiAddons.so.* +%{_kde5_libdir}/libKF5GuiAddons.so.* %doc COPYING COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/KF5/KGuiAddons -%{_includedir}/KF5/KGuiAddons/* -%{_includedir}/KF5/kguiaddons_version.h -%dir %{_libdir}/cmake/KF5GuiAddons -%{_libdir}/cmake/KF5GuiAddons/KF5GuiAddons*.cmake -%{_libdir}/libKF5GuiAddons.so -/usr/mkspecs/modules/qt_KGuiAddons.pri +%{_kde5_includedir}/KGuiAddons +%{_kde5_includedir}/kguiaddons_version.h +%{_kde5_libdir}/cmake/KF5GuiAddons +%{_kde5_libdir}/libKF5GuiAddons.so +%{_kde5_mkspecsdir}/qt_KGuiAddons.pri %doc README.md - %changelog +* Sat Apr 25 2015 Davide Madrisan 5.9.0-4mamba +- standardize the specfile +- add some missing build requirements + * Sat Apr 11 2015 Silvan Calarco 5.9.0-3mamba - automatic version update by autodist