From 455b67ba908551624ad306dcede04e3346370458069945d19bcb50c12f4db9eb Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Tue, 14 Jun 2016 11:02:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=12 --- krita.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/krita.spec b/krita.spec index 39ce484..d1899ab 100644 --- a/krita.spec +++ b/krita.spec @@ -111,6 +111,13 @@ Krita is the image manipulation application of the Calligra Suite. chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop +#Remove unwanted development files + +for i in image libpaintop store libbrush version undo2 odf color ui text plugin widgetutils pigment textlayout vectorimage flake basicflakes global widgets psd +do + rm %{buildroot}%{_kf5_libdir}/libkrita${i}.so +done + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -127,7 +134,7 @@ chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop %{_kf5_sharedir}/color/ %{_kf5_sharedir}/color-schemes/ %{_kf5_iconsdir}/hicolor/*/apps/calligrakrita.* -%{_kf5_libdir}/libkrita*.so* +%{_kf5_libdir}/libkrita*.so.* %dir %{_kf5_iconsdir}/hicolor/1024x1024 %dir %{_kf5_iconsdir}/hicolor/1024x1024/apps %dir %{_kf5_iconsdir}/hicolor/256x256