From 26f8b37ec00697425754db1204cae3e06f0d0d5b Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 4 Dec 2015 20:55:30 +0100 Subject: [PATCH] move the GIR files to system dirs --- libreoffice.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index 45674d7..d895b89 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1571,10 +1571,10 @@ install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.mime %{buildroot}%{_data #add our mime-types, e.g. for .oxt extensions install -m 0755 -d %{buildroot}%{_datadir}/mime/packages install -m 0644 -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml -install -m 0755 -d %{buildroot}%{baseinstdir}/girepository-1.0 -install -m 0644 -p LOKDocView-%{girapiversion}.typelib %{buildroot}%{baseinstdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib -install -m 0755 -d %{buildroot}%{baseinstdir}/gir-1.0 -install -m 0644 -p LOKDocView-%{girapiversion}.gir %{buildroot}%{baseinstdir}/gir-1.0/LOKDocView-%{girapiversion}.gir +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 LOKDocView-%{girapiversion}.gir %{buildroot}%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir popd rm -rf %{buildroot}%{baseinstdir}/readmes @@ -2457,13 +2457,11 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %{baseinstdir}/program/libvclplug_gtk3lo.so %files -n libreofficekit -%dir %{baseinstdir}/girepository-1.0 -%{baseinstdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib +%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib %{baseinstdir}/program/liblibreofficekitgtk.so %files -n libreofficekit-devel -%dir %{baseinstdir}/girepository-1.0 -%{baseinstdir}/gir-1.0/LOKDocView-%{girapiversion}.gir +%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir %endif