From 1965d2a913cd3d411233f1b2e7a9910f0cf9f481 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 6 Jan 2024 00:53:24 +0100 Subject: [PATCH] standardize the specfile [release 5.9.0-2mamba;Sun Apr 26 2015] --- kcrash.spec | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/kcrash.spec b/kcrash.spec index 1c4c451..e36e919 100644 --- a/kcrash.spec +++ b/kcrash.spec @@ -1,8 +1,9 @@ %define majver %(echo %version | cut -d. -f1-2) + Name: kcrash Version: 5.9.0 -Release: 1mamba -Summary: KCrash provides support for intercepting and handling application crashes +Release: 2mamba +Summary: KDE Frameworks 5 support for intercepting and handling application crashes Group: System/Libraries Vendor: openmamba Distribution: openmamba @@ -23,6 +24,8 @@ BuildRequires: libqt5-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 @@ -51,7 +54,7 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake -d build +%cmake_kde5 -d build %make %install @@ -66,21 +69,22 @@ This package contains libraries and header files for developing applications tha %files -n lib%{name} %defattr(-,root,root) -%{_libdir}/libKF5Crash.so.* +%{_kde5_libdir}/libKF5Crash.so.* %doc COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/KF5/KCrash -%{_includedir}/KF5/KCrash/* -%{_includedir}/KF5/kcrash_version.h -%dir %{_libdir}/cmake/KF5Crash -%{_libdir}/cmake/KF5Crash/KF5Crash*.cmake -%{_libdir}/libKF5Crash.so -/usr/mkspecs/modules/qt_KCrash.pri +%{_kde5_includedir}/KCrash +%{_kde5_includedir}/kcrash_version.h +%{_kde5_libdir}/cmake/KF5Crash +%{_kde5_libdir}/libKF5Crash.so +%{_kde5_mkspecsdir}/qt_KCrash.pri %doc README.md %changelog +* Sun Apr 26 2015 Davide Madrisan 5.9.0-2mamba +- standardize the specfile + * Wed Apr 15 2015 Automatic Build System 5.9.0-1mamba - automatic version update by autodist