Raymond Wooninck 2016-06-14 11:02:24 +00:00 committed by Git OBS Bridge
parent da22e8d8cb
commit 455b67ba90

View File

@ -111,6 +111,13 @@ Krita is the image manipulation application of the Calligra Suite.
chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop 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 %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -127,7 +134,7 @@ chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop
%{_kf5_sharedir}/color/ %{_kf5_sharedir}/color/
%{_kf5_sharedir}/color-schemes/ %{_kf5_sharedir}/color-schemes/
%{_kf5_iconsdir}/hicolor/*/apps/calligrakrita.* %{_kf5_iconsdir}/hicolor/*/apps/calligrakrita.*
%{_kf5_libdir}/libkrita*.so* %{_kf5_libdir}/libkrita*.so.*
%dir %{_kf5_iconsdir}/hicolor/1024x1024 %dir %{_kf5_iconsdir}/hicolor/1024x1024
%dir %{_kf5_iconsdir}/hicolor/1024x1024/apps %dir %{_kf5_iconsdir}/hicolor/1024x1024/apps
%dir %{_kf5_iconsdir}/hicolor/256x256 %dir %{_kf5_iconsdir}/hicolor/256x256