From fe1850ce0a1c290f12315a07f9823386c29e11cc Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 4 Dec 2015 16:25:06 +0100 Subject: [PATCH] install libreofficekit devel files --- libreoffice.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libreoffice.spec b/libreoffice.spec index 4b9fc56..b7a9f8b 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -844,6 +844,15 @@ through C/C++, without any need to use UNO. For now it only offers document conversion (in addition to an experimental tiled rendering API). +%package -n libreofficekit-devel +Summary: Development files for libreofficekit +Requires: libreofficekit = %{epoch}:%{version}-%{release} +License: MPLv2.0 + +%description -n libreofficekit-devel +The libreofficekit-devel package contains libraries and header files for +developing applications that use libreofficekit. + %endif %if 0%{?_enable_debug_packages} @@ -1331,7 +1340,7 @@ 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}.typelib $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 @@ -1563,6 +1572,8 @@ 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 popd rm -rf %{buildroot}%{baseinstdir}/readmes @@ -2449,6 +2460,10 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %{baseinstdir}/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 + %endif %changelog