From 002a9556a5f354feead56f877e0d03977b96206f2c352a8b088dfd6abccc3d87 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Fri, 11 Aug 2017 23:00:36 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/libkeduvocdocument?expand=0&rev=54 --- libkeduvocdocument.changes | 9 +++++++ libkeduvocdocument.spec | 50 ++++++++++++++++++++------------------ 2 files changed, 35 insertions(+), 24 deletions(-) diff --git a/libkeduvocdocument.changes b/libkeduvocdocument.changes index b60f03e..a2729bf 100644 --- a/libkeduvocdocument.changes +++ b/libkeduvocdocument.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Aug 11 22:46:18 UTC 2017 - christophe@krop.fr + +- Update to KDE Applications 17.08.0 + * New feature release + * https://www.kde.org/announcements/announce-applications-17.08.0.php +- Changes since 17.04.3 : + * Use Q_DECL_OVERRIDE + ------------------------------------------------------------------- Sat Aug 5 18:19:19 UTC 2017 - christophe@krop.fr diff --git a/libkeduvocdocument.spec b/libkeduvocdocument.spec index 0cc955b..929b418 100644 --- a/libkeduvocdocument.spec +++ b/libkeduvocdocument.spec @@ -1,7 +1,7 @@ # # spec file for package libkeduvocdocument # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %bcond_without lang Name: libkeduvocdocument Version: 17.07.90 Release: 0 %define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Library for KDE Education Applications License: GPL-2.0+ @@ -41,12 +42,33 @@ BuildRequires: xz BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0 +%if %{with lang} +Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains the library which is required by the KDE education applications. +%package -n libKEduVocDocument5 +Summary: Library for KDE Education Applications +Group: System/GUI/KDE +Recommends: kdeedu-data + +%description -n libKEduVocDocument5 +This package contains the library which is required by the KDE education +applications. + +%package devel +Summary: Library for KDE Education Applications: Build Environment +Group: Development/Libraries/KDE +Requires: libKEduVocDocument5 = %{version} + +%description devel +This package contains all necessary files and libraries needed to +develop KDE education applications. + %if %{with lang} %lang_package %endif @@ -65,17 +87,6 @@ applications. %endif %fdupes -s %{buildroot} -%package -n libKEduVocDocument5 -Summary: Library for KDE Education Applications -Group: System/GUI/KDE -Recommends: kdeedu-data -Recommends: %{name}-lang -Provides: %{name} = %{version} - -%description -n libKEduVocDocument5 -This package contains the library which is required by the KDE education -applications. - %post -n libKEduVocDocument5 -p /sbin/ldconfig %postun -n libKEduVocDocument5 -p /sbin/ldconfig @@ -84,21 +95,12 @@ applications. %doc README COPYING* %{_kf5_libdir}/libKEduVocDocument.so.* -%package devel -Summary: Library for KDE Education Applications: Build Environment -Group: Development/Libraries/KDE -Requires: libKEduVocDocument5 = %{version} - -%description devel -This package contains all necessary files and libraries needed to -develop KDE education applications. - %files devel %defattr(-,root,root) %doc README COPYING* -%{_kf5_prefix}/include/libkeduvocdocument/ -%{_kf5_libdir}/cmake/libkeduvocdocument/ +%{_kf5_cmakedir}/libkeduvocdocument/ %{_kf5_libdir}/libKEduVocDocument.so +%{_kf5_prefix}/include/libkeduvocdocument/ %if %{with lang} %files lang -f %{name}.lang