diff --git a/svgpart-16.08.3.tar.xz b/svgpart-16.08.3.tar.xz deleted file mode 100644 index 7426b2c..0000000 --- a/svgpart-16.08.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb6da370e2c09ece3b78dd445615d590f54ba8e4eff8b555afaa61e730c33177 -size 9020 diff --git a/svgpart-16.11.80.tar.xz b/svgpart-16.11.80.tar.xz new file mode 100644 index 0000000..f448c7f --- /dev/null +++ b/svgpart-16.11.80.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93969546de2bb3e312bab5f518bc10d35863242a781cf51c08acfd4ab88eb0f3 +size 9172 diff --git a/svgpart.changes b/svgpart.changes index d25bd8a..cd7ca64 100644 --- a/svgpart.changes +++ b/svgpart.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Nov 29 12:44:50 UTC 2016 - tittiatcoke@gmail.com + +- Update to KDE Applications 16.11.80 + * KDE Applications 16.12.0 Beta + * https://www.kde.org/announcements/announce-applications-16.12-beta.php + + ------------------------------------------------------------------- Wed Nov 9 06:29:33 UTC 2016 - lbeltrame@kde.org diff --git a/svgpart.spec b/svgpart.spec index 2e6f3e7..278c099 100644 --- a/svgpart.spec +++ b/svgpart.spec @@ -1,7 +1,7 @@ # # spec file for package svgpart # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,16 +17,25 @@ Name: svgpart -Version: 16.08.3 +Version: 16.11.80 Release: 0 +%define kf5_version 5.26.0 +# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) +%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: SVG viewer component License: GPL-2.0+ Group: System/GUI/KDE Url: https://projects.kde.org/projects/kde/kdegraphics/svgpart Source: %{name}-%{version}.tar.xz -BuildRequires: libkde4-devel +BuildRequires: extra-cmake-modules +BuildRequires: kcoreaddons-devel +BuildRequires: kf5-filesystem +BuildRequires: kparts-devel +BuildRequires: kxmlgui-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Widgets) BuildRoot: %{_tmppath}/%{name}-%{version}-build -%kde4_runtime_requires %description An SVG viewer component for KDE (KPart). @@ -35,13 +44,11 @@ An SVG viewer component for KDE (KPart). %setup -q %build -%cmake_kde4 -d build +%cmake_kf5 -d build %make_jobs %install -cd build -%make_install -%kde_post_install +%kf5_makeinstall -C build %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -49,9 +56,8 @@ cd build %files %defattr(-,root,root) %doc COPYING -%dir %{_libdir}/kde4 -%{_kde4_libdir}/kde4/svgpart.so -%{_kde4_servicesdir}/svgpart.desktop -%{_kde4_appsdir}/svgpart +%{_kf5_plugindir}/svgpart.so +%{_kf5_servicesdir}/svgpart.desktop +%{_kf5_kxmlguidir}/svgpart/ %changelog