From e39a8a8d253635ac067a74a32e0fdad8b9ccb307 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 6 Jan 2024 03:30:39 +0100 Subject: [PATCH] standardize the specfile [release 5.9.0-2mamba;Wed May 06 2015] --- kxmlgui.spec | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/kxmlgui.spec b/kxmlgui.spec index 7903bfa..095bf73 100644 --- a/kxmlgui.spec +++ b/kxmlgui.spec @@ -1,7 +1,8 @@ %define majver %(echo %version | cut -d. -f1-2) + Name: kxmlgui Version: 5.9.0 -Release: 1mamba +Release: 2mamba Summary: Framework for managing menu and toolbar actions Group: System/Libraries Vendor: openmamba @@ -31,6 +32,8 @@ BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake +BuildRequires: extra-cmake-modules +BuildRequires: rpm-macros-kde5 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -42,7 +45,9 @@ Group: System/Libraries Summary: Framework for managing menu and toolbar actions %description -n lib%{name} -KXMLGUI provides a framework for managing menu and toolbar actions in an abstract way. The actions are configured through a XML description and hooks in the application code. The framework supports merging of multiple description for example for integrating actions from plugins. +KXMLGUI provides a framework for managing menu and toolbar actions in an abstract way. +The actions are configured through a XML description and hooks in the application code. +The framework supports merging of multiple description for example for integrating actions from plugins. %package -n lib%{name}-devel Group: Development/Libraries @@ -58,14 +63,14 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -%find_lang kxmlgui5 +%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -73,27 +78,27 @@ This package contains libraries and header files for developing applications tha %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig -%files -n lib%{name} -f kxmlgui5.lang +%files -n lib%{name} -f %{name}5_qt.lang %defattr(-,root,root) +%{_kde5_libdir}/libKF5XmlGui.so.* +%{_kde5_libexecdir}/ksendbugmail +%{_kde5_datadir}/kf5/kxmlgui %{_sysconfdir}/xdg/ui/ui_standards.rc -%{_libdir}/libKF5XmlGui.so.* -%{_libdir}/libexec/kf5/ksendbugmail -%dir %{_datadir}/kf5/kxmlgui/pics -%{_datadir}/kf5/kxmlgui/pics/* %doc COPYING COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/KF5/KXmlGui -%{_includedir}/KF5/KXmlGui/* -%{_includedir}/KF5/kxmlgui_version.h -%dir %{_libdir}/cmake/KF5XmlGui -%{_libdir}/cmake/KF5XmlGui/KF5XmlGui*.cmake -%{_libdir}/libKF5XmlGui.so -/usr/mkspecs/modules/qt_KXmlGui.pri +%{_kde5_includedir}/KXmlGui +%{_kde5_includedir}/kxmlgui_version.h +%{_kde5_libdir}/cmake/KF5XmlGui +%{_kde5_libdir}/libKF5XmlGui.so +%{_kde5_mkspecsdir}/qt_KXmlGui.pri %doc README.md %changelog +* Wed May 06 2015 Davide Madrisan 5.9.0-2mamba +- standardize the specfile + * Sat Apr 18 2015 Automatic Build System 5.9.0-1mamba - automatic version update by autodist