Christophe Giboudeaux 2021-04-20 13:52:19 +00:00 committed by Git OBS Bridge
parent 772091e59b
commit 5619ed139b
2 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 20 13:52:12 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Spec cleanup
-------------------------------------------------------------------
Thu Aug 27 12:50:01 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -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