From 5619ed139bbefa97b01f143fab23a5582d359b58c9dff18a1011e8f5646e889c Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Tue, 20 Apr 2021 13:52:19 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kreport?expand=0&rev=38 --- kreport.changes | 5 +++++ kreport.spec | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/kreport.changes b/kreport.changes index 5f72d56..f37745c 100644 --- a/kreport.changes +++ b/kreport.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 20 13:52:12 UTC 2021 - Christophe Giboudeaux + +- Spec cleanup + ------------------------------------------------------------------- Thu Aug 27 12:50:01 UTC 2020 - Christophe Giboudeaux diff --git a/kreport.spec b/kreport.spec index 578064f..4fa3921 100644 --- a/kreport.spec +++ b/kreport.spec @@ -1,7 +1,7 @@ # # spec file for package kreport # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,13 +28,13 @@ Source0: https://download.kde.org/stable/%{name}/src/%{name}-%{version}.t # PATCH-FIX-UPSTREAM Patch0: Fix-kexi-build-with-GCC-10.patch BuildRequires: extra-cmake-modules -BuildRequires: kproperty-devel BuildRequires: python-base BuildRequires: update-desktop-files BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5GuiAddons) BuildRequires: cmake(KF5WidgetsAddons) +BuildRequires: cmake(KPropertyCore) BuildRequires: cmake(Marble) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5LinguistTools) @@ -59,7 +59,7 @@ The main library for the Report creation and generation framework %package devel Summary: Development package for KReport Group: Development/Libraries/KDE -Requires: kproperty-devel +Requires: cmake(KPropertyCore) Requires: libKReport3-%{sover} = %{version} %description devel @@ -75,11 +75,11 @@ Development package for the Report Creation and Generation framework %cmake_build %install - %kf5_makeinstall -C build - %find_lang %{name} %{name}.lang --all-name --with-qt +%kf5_makeinstall -C build +%find_lang %{name} %{name}.lang --all-name --with-qt - # The pkgconfig files contain incorrect stuff - rm -f %{buildroot}%{_libdir}/pkgconfig/KReport3.pc +# The pkgconfig files contain incorrect stuff +rm %{buildroot}%{_libdir}/pkgconfig/KReport3.pc %post -n libKReport3-%{sover} -p /sbin/ldconfig %postun -n libKReport3-%{sover} -p /sbin/ldconfig @@ -89,16 +89,16 @@ Development package for the Report Creation and Generation framework %{_libdir}/libKReport3.so.* %files -%{_datadir}/kreport3/ %{_kf5_plugindir}/kreport3/ %{_kf5_servicetypesdir}/kreport_elementplugin.desktop +%{_kf5_sharedir}/kreport3/ %files devel %license COPYING* %{_includedir}/KReport3/ +%{_kf5_cmakedir}/KReport3/ +%{_kf5_libdir}/libKReport3.so %{_kf5_mkspecsdir}/qt_KReport3.pri -%{_libdir}/cmake/KReport3/ -%{_libdir}/libKReport3.so %files lang -f %{name}.lang