diff --git a/libreoffice.spec b/libreoffice.spec index ef9c60f..485d85d 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1089,7 +1089,6 @@ pushd $WORKDIR/CustomTarget/sysui/share/libreoffice popd mkdir $WORKDIR/os-integration cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration -cp -pr $WORKDIR/CustomTarget/sysui/share/output/girepository-1.0/LOKDocView-%{girapiversion}.* $WORKDIR/os-integration %if %{with smallbuild} # remove the biggest offenders @@ -1331,11 +1330,14 @@ _EOF done %endif +popd + # install LibreOfficeKit +pushd $WORKDIR/CustomTarget/sysui/share/libreoffice install -m 0755 -d %{buildroot}%{_libdir}/girepository-1.0 install -m 0644 -p LOKDocView-%{girapiversion}.typelib %{buildroot}%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib install -m 0755 -d %{buildroot}%{_libdir}/gir-1.0 -install -m 0644 -p gir-1.0/LOKDocView-%{girapiversion}.gir %{buildroot}%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir +install -m 0644 -p LOKDocView-%{girapiversion}.gir %{buildroot}%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir mv %{buildroot}%{baseinstdir}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir} popd