forked from pool/libreoffice
- Try to enable libreofficekit integration by mimicking what RH does
bnc#965296 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=373
This commit is contained in:
parent
27701bc666
commit
885fd60e1d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 21 09:49:35 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Try to enable libreofficekit integration by mimicking what RH does
|
||||
bnc#965296
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 9 09:19:59 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
@ -330,6 +330,7 @@ BuildRequires: doxygen >= 1.8.4
|
||||
BuildRequires: gstreamer-plugins-base-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: libgltf-devel
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
%else
|
||||
BuildRequires: gcc48-c++
|
||||
BuildRequires: gstreamer010-plugins-base-devel
|
||||
@ -766,6 +767,26 @@ This package provides extensions for LibreOffice Writer:
|
||||
|
||||
- MediaWiki Publisher
|
||||
|
||||
%package -n libreofficekit
|
||||
Summary: A library providing access to LibreOffice functionality
|
||||
License: MPL-2.0
|
||||
Group: Productivity/Office/Suite
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n libreofficekit
|
||||
LibreOfficeKit can be used to access LibreOffice functionality
|
||||
through C/C++, without any need to use UNO.
|
||||
|
||||
%package -n libreofficekit-devel
|
||||
Summary: Development files for libreofficekit
|
||||
License: MPL-2.0
|
||||
Group: Productivity/Office/Suite
|
||||
Requires: libreofficekit = %{version}
|
||||
|
||||
%description -n libreofficekit-devel
|
||||
The libreofficekit-devel package contains libraries and header files for
|
||||
developing applications that use libreofficekit.
|
||||
|
||||
# Symlink autocorr files for various conversion items
|
||||
%define make_autocorr_aliases(l:) \
|
||||
%{?-l: \
|
||||
@ -1136,6 +1157,7 @@ export NOCONFIGURE=yes
|
||||
--disable-gstreamer-0-10 \
|
||||
--enable-gstreamer-1-0 \
|
||||
--enable-gtk3 \
|
||||
--enable-introspection \
|
||||
--with-doxygen \
|
||||
--enable-gltf \
|
||||
--enable-collada --with-system-opencollada \
|
||||
@ -1383,6 +1405,11 @@ for i in file-lists/*.txt; do
|
||||
done
|
||||
rm pyfiles.txt
|
||||
|
||||
# Symlink libreofficekit to libdir
|
||||
%if %{with newmedia}
|
||||
ln -s %{_libdir}/%{name}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}/liblibreofficekitgtk.so
|
||||
%endif
|
||||
|
||||
# Symlink uno.py and unohelper.py so that python can find them
|
||||
# This is done after the cache files generating on purpose
|
||||
mkdir -p %{buildroot}%{python3_sitelib}
|
||||
@ -1543,6 +1570,19 @@ test -f /sbin/conf.d/SuSEconfig.glib2 && SuSEconfig --module glib2 > /dev/null |
|
||||
%dir %{_datadir}/icons/hicolor/512x512/apps
|
||||
%dir %{_datadir}/icons/hicolor/512x512/mimetypes
|
||||
|
||||
%if %{with newmedia}
|
||||
%files -n libreofficekit
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/girepository-1.0
|
||||
%{_libdir}/girepository-1.0/LOKDocView-0.1.typelib
|
||||
%{_libdir}/liblibreofficekitgtk.so
|
||||
|
||||
%files -n libreofficekit-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/gir-1.0
|
||||
%{_datadir}/gir-1.0/LOKDocView-0.1.gir
|
||||
%endif
|
||||
|
||||
%files -f file-lists/base_list.txt base
|
||||
%defattr(-,root,root)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user