diff --git a/libreoffice.spec b/libreoffice.spec index eb52b2b..05aeea1 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1230,9 +1230,13 @@ rm pyfiles.txt cp %{SOURCE3} %{buildroot}%{_libdir}/libreoffice/share/palette/SUSE.soc echo "%{_libdir}/libreoffice/share/palette/SUSE.soc" >> file-lists/common_list.txt -# Symlink gtk3 libreofficekit to libdir %if %{with gtk3} +# Symlink gtk3 libreofficekit to libdir ln -s %{_libdir}/%{name}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}/liblibreofficekitgtk.so + +# Libreofficekit headers +mkdir -p %{buildroot}%{_includedir}/LibreOfficeKit/ +install -m 0644 include/LibreOfficeKit/*.h %{buildroot}%{_includedir}/LibreOfficeKit/ %endif %if !%{with system_gpgme} @@ -1265,10 +1269,6 @@ export DESTDIR=%{buildroot} export SRCDIR="./" ./solenv/bin/install-gdb-printers -a %{_datadir}/gdb/auto-load%{_libdir}/%{name} -c -i %{_libdir}/%{name} -p %{_datadir}/libreoffice/gdb -# Libreofficekit headers -mkdir -p %{buildroot}%{_includedir}/LibreOfficeKit/ -install -m 0644 include/LibreOfficeKit/*.h %{buildroot}%{_includedir}/LibreOfficeKit/ - # We have ton of duped files so run over it %fdupes %{buildroot}%{_prefix}