From ab3939b93986337c7ab2da914f84223268c5995b Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 5 Sep 2016 13:51:55 +0200 Subject: [PATCH] Resolves: rhbz#1363874 install LibreOfficeKit headers --- libreoffice.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libreoffice.spec b/libreoffice.spec index d738b29..6c33e66 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1350,6 +1350,8 @@ 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 LibreOfficeKit install -m 0755 -d %{buildroot}%{_libdir}/girepository-1.0 %if 0%{?fedora} install -m 0644 -p LOKDocView-%{girapiversion}.typelib %{buildroot}%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib @@ -1359,6 +1361,12 @@ mv %{buildroot}%{baseinstdir}/program/liblibreofficekitgtk.so %{buildroot}%{_lib %endif popd +%if 0%{?fedora} +# install LibreOfficeKit headers +install -m 0755 -d %{buildroot}%{_includedir}/LibreOfficeKit +install -m 0644 -p include/LibreOfficeKit/* %{buildroot}%{_includedir}/LibreOfficeKit +%endif + rm -rf %{buildroot}%{baseinstdir}/readmes rm -rf %{buildroot}%{baseinstdir}/licenses @@ -2283,12 +2291,14 @@ done %files -n libreofficekit-devel %{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir +%{_includedir}/LibreOfficeKit %endif %changelog * Mon Sep 05 2016 David Tardon - 1:5.2.1.2-2 - Resolves: rhbz#1247399 install public jars according to packaging guidelines +- Resolves: rhbz#1363874 install LibreOfficeKit headers * Fri Aug 26 2016 David Tardon - 1:5.2.1.2-1 - update to 5.2.1 rc2