8dd8adf
# download path contains version without the last (fourth) digit
79425c2
%define libo_version 5.3.2
8dd8adf
# Should contain .alphaX / .betaX, if this is pre-release (actually
8dd8adf
# pre-RC) version. The pre-release string is part of tarball file names,
8dd8adf
# so we need a way to define it easily at one place.
f60e340
%define libo_prerelease %{nil}
22f7cf7
# Should contain any suffix of release tarball name, e.g., -buildfix1.
dc49c27
%define libo_buildfix %{nil}
d6f6bbf
# rhbz#715152 state vendor
d6f6bbf
%if 0%{?rhel}
d6f6bbf
%define vendoroption --with-vendor="Red Hat, Inc."
c1cdecb
%define libo_use_python3 %{nil}
c1cdecb
%define libo_python python
aa7e14e
%define libo_python_sitearch %{python_sitearch}
d6f6bbf
%endif
d6f6bbf
%if 0%{?fedora}
c1cdecb
%define libo_use_python3 1
c1cdecb
%define libo_python python3
aa7e14e
%define libo_python_sitearch %{python3_sitearch}
d8b8123
%define vendoroption --with-vendor="The Fedora Project"
d6f6bbf
%endif
8076325
# rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF
8076325
%define __jar_repack %{nil}
0965287
# make it easier to download sources from pre-release site
0965287
# http://dev-builds.libreoffice.org/pre-releases/src
bb3b45f
%define source_url http://dev-builds.libreoffice.org/pre-releases/src
bb3b45f
# %%define source_url http://download.documentfoundation.org/libreoffice/src/%{libo_version}
88f272a
# URL for external projects' tarballs
88f272a
%define external_url http://dev-www.libreoffice.org/src/
e12d19b
%if 0%{?fedora}
649c556
%global weak_deps 1
bd546da
%global file_triggers 1
e12d19b
%endif
0eed0e2
%global girapiversion 0.1
0327b7b
%ifarch %{arm}
0327b7b
%global armhack 1
0327b7b
%endif
8076325
a2f244f
# get english only and no-langpacks for a faster smoketest build
d18fd8c
# fedpkg compile/install/local/mockbuild does not handle --without ATM,
d18fd8c
# so it is necessary to change this to bcond_with to achieve the same
d18fd8c
# effect
8b23922
%bcond_without langpacks
8c1a0f3
f8574d3
# remove workdir at the end of %%build, to allow build on space-constrained machines
f8574d3
%ifarch s390 s390x
f8574d3
%bcond_without smallbuild
f8574d3
%else
f8574d3
%bcond_with smallbuild
f8574d3
%endif
f8574d3
357e8af
# generated by %%langpack definitions
357e8af
%global langpack_langs %{nil}
8076325
47c84f4
%global bundling_options %{nil}
47c84f4
8076325
Summary:        Free Software Productivity Suite
8076325
Name:           libreoffice
7ce6c87
Epoch:          1
79425c2
Version:        %{libo_version}.1
79425c2
Release:        1%{?libo_prerelease}%{?dist}
Richard Hughes b67fc84
License:        (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0
Richard Hughes 0a4885c
URL:            http://www.libreoffice.org/
a881c9f
22f7cf7
Source0:        %{source_url}/libreoffice-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
22f7cf7
Source1:        %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
22f7cf7
Source2:        %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
01d7644
Source3:        http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
01d7644
Source4:        libreoffice-multiliblauncher.sh
47c84f4
Source5:        %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
ea487b1
Source6:        %{external_url}/86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz
47c84f4
Source7:        %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
47c84f4
Source8:        %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
9d4ac2a
#Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose
9d4ac2a
#backwards compatability.
5c475bf
Source9:        %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
47c84f4
%global bundling_options %{?bundling_options} --without-system-hsqldb
36bc8f4
268ab33
%if 0%{?fedora}
268ab33
Source40:       %{external_url}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
82f2389
%endif
038a8bf
e97054c
# symbolic icons
e97054c
Source42:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-base-symbolic.svg
e97054c
Source43:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-calc-symbolic.svg
e97054c
Source44:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-draw-symbolic.svg
e97054c
Source45:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-impress-symbolic.svg
e97054c
Source46:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-main-symbolic.svg
e97054c
Source47:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-math-symbolic.svg
e97054c
Source48:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-writer-symbolic.svg
e97054c
02af9c6
%if 0%{?rhel}
02af9c6
Source100:      %{external_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
84d23d6
Source101:      %{external_url}/liborcus-0.12.1.tar.gz
73f25a0
Source102:      %{external_url}/mdds-1.2.2.tar.bz2
eac72c5
Source103:      %{external_url}/libcmis-0.5.1.tar.gz
84d23d6
Source104:      %{external_url}/libwps-0.4.4.tar.bz2
eac72c5
Source105:      %{external_url}/libpagemaker-0.0.3.tar.bz2
84d23d6
Source106:      %{external_url}/libzmf-0.0.1.tar.bz2
84d23d6
Source107:      %{external_url}/libstaroffice-0.0.2.tar.bz2
84d23d6
%global bundling_options %{?bundling_options} --without-system-ucpp --without-system-orcus --without-system-mdds --without-system-libcmis --without-system-libwps --without-system-libpagemaker --without-system-libzmf --without-system-libstaroffice
02af9c6
%endif
02af9c6
a484797
# build tools
a484797
BuildRequires: autoconf
a484797
BuildRequires: automake
a484797
BuildRequires: bc
a484797
BuildRequires: binutils
a484797
BuildRequires: bison
a484797
BuildRequires: desktop-file-utils
a484797
BuildRequires: doxygen
a484797
BuildRequires: findutils
a484797
BuildRequires: flex
a484797
BuildRequires: gcc-c++
4cfeb5e
BuildRequires: gdb
a85919d
BuildRequires: git
a484797
BuildRequires: gperf
a484797
BuildRequires: icu
a484797
BuildRequires: make
a484797
BuildRequires: perl(Digest::MD5)
432f77f
%if 0%{?fedora}
ef510b5
BuildRequires: libappstream-glib
303cc4a
BuildRequires: ucpp
303cc4a
%endif
a484797
BuildRequires: zip
a484797
e8ed230
# libs / headers - common
53cedb4
BuildRequires: %{libo_python}-devel
5200d01
BuildRequires: boost-devel
a484797
BuildRequires: cups-devel
5269050
BuildRequires: expat-devel
a484797
BuildRequires: fontpackages-devel
e452bef
BuildRequires: glm-devel
e8ed230
BuildRequires: hyphen-devel
5200d01
BuildRequires: libicu-devel
5200d01
BuildRequires: libjpeg-turbo-devel
e8ed230
BuildRequires: lpsolve-devel
e8ed230
BuildRequires: openldap-devel
e8ed230
BuildRequires: pam-devel
5200d01
BuildRequires: pkgconfig(bluez)
e8ed230
BuildRequires: pkgconfig(cppunit)
e8ed230
BuildRequires: pkgconfig(dbus-glib-1)
aa370e7
BuildRequires: pkgconfig(dconf)
e5ea20e
BuildRequires: pkgconfig(epoxy)
e8ed230
BuildRequires: pkgconfig(evolution-data-server-1.2)
fb9ee00
BuildRequires: pkgconfig(freetype2)
e452bef
BuildRequires: pkgconfig(glew) >= 1.10.0
e8ed230
BuildRequires: pkgconfig(glu)
5200d01
BuildRequires: pkgconfig(graphite2)
5200d01
BuildRequires: pkgconfig(gstreamer-1.0)
5200d01
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
fb9ee00
BuildRequires: pkgconfig(gtk+-2.0)
5200d01
BuildRequires: pkgconfig(harfbuzz)
fb9ee00
BuildRequires: pkgconfig(hunspell)
fb9ee00
BuildRequires: pkgconfig(ice)
5200d01
BuildRequires: pkgconfig(lcms2)
e452bef
BuildRequires: pkgconfig(libabw-0.1)
e452bef
BuildRequires: pkgconfig(libcdr-0.1)
5200d01
BuildRequires: pkgconfig(libclucene-core)
e8ed230
BuildRequires: pkgconfig(libcurl)
02d87b3
BuildRequires: pkgconfig(libetonyek-0.1)
5200d01
BuildRequires: pkgconfig(libexttextcat)
e452bef
BuildRequires: pkgconfig(libfreehand-0.1)
e8ed230
BuildRequires: pkgconfig(libidn)
5200d01
BuildRequires: pkgconfig(liblangtag)
e452bef
BuildRequires: pkgconfig(libmspub-0.1)
3c6b679
BuildRequires: pkgconfig(libmwaw-0.3)
e452bef
BuildRequires: pkgconfig(libodfgen-0.1)
e452bef
BuildRequires: pkgconfig(librevenge-0.0)
e452bef
BuildRequires: pkgconfig(libvisio-0.1)
e452bef
BuildRequires: pkgconfig(libwpd-0.10)
e452bef
BuildRequires: pkgconfig(libwpg-0.3)
e8ed230
BuildRequires: pkgconfig(libxml-2.0)
e8ed230
BuildRequires: pkgconfig(libxslt)
5200d01
BuildRequires: pkgconfig(mythes)
e8ed230
BuildRequires: pkgconfig(neon)
e8ed230
BuildRequires: pkgconfig(nss)
e8ed230
BuildRequires: pkgconfig(poppler)
5200d01
BuildRequires: pkgconfig(poppler-cpp)
e8ed230
BuildRequires: pkgconfig(redland)
e8ed230
BuildRequires: pkgconfig(sane-backends)
fb9ee00
BuildRequires: pkgconfig(xext)
fb9ee00
BuildRequires: pkgconfig(xinerama)
fb9ee00
BuildRequires: pkgconfig(xt)
e8ed230
BuildRequires: pkgconfig(zlib)
5200d01
BuildRequires: postgresql-devel
e8ed230
BuildRequires: unixODBC-devel
5200d01
e8ed230
# libs / headers - conditional
a0d2c2d
%if 0%{?fedora}
e8ed230
BuildRequires: kdelibs4-devel
038a8bf
BuildRequires: openCOLLADA-devel
d5deb5c
BuildRequires: pkgconfig(gobject-introspection-1.0)
06c1cda
BuildRequires: pkgconfig(gtk+-3.0)
3b240a6
BuildRequires: pkgconfig(libcmis-0.5)
785ca3b
BuildRequires: pkgconfig(libe-book-0.1)
fb9ee00
BuildRequires: pkgconfig(libeot)
8d866e1
BuildRequires: pkgconfig(libgltf-0.1)
508b7e1
BuildRequires: pkgconfig(liborcus-0.12)
19303c1
BuildRequires: pkgconfig(libpagemaker-0.0)
84d23d6
BuildRequires: pkgconfig(libstaroffice-0.0)
fd5883b
BuildRequires: pkgconfig(libwps-0.4)
84d23d6
BuildRequires: pkgconfig(libzmf-0.0)
607f507
BuildRequires: pkgconfig(mdds-1.2)
fb9ee00
%endif
e8ed230
a484797
# java stuff
a484797
BuildRequires: ant
a484797
BuildRequires: bsh
60d4293
BuildRequires: java-devel
a484797
BuildRequires: junit
a484797
BuildRequires: pentaho-reporting-flow-engine
d7427b6
a484797
# fonts needed for unit tests
10ad385
BuildRequires: liberation-mono-fonts
10ad385
BuildRequires: liberation-sans-fonts
10ad385
BuildRequires: liberation-serif-fonts
Lukas Tinkl c4870bd
6456d6e
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-impress%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-draw%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-math%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-base%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-emailmerge%{?_isa} = %{epoch}:%{version}-%{release}
cf7004f
ca8f0c1
# not upstreamed
8d866e1
Patch0: 0001-installation-fix.patch
ca8f0c1
# not upstreamed
8d866e1
Patch1: 0001-never-run-autogen.sh.patch
ca8f0c1
# not upstreamed
8d866e1
Patch2: 0001-add-X-TryExec-entries-to-desktop-files.patch
4d8151e
# not upstreamed: upstream wants an automatic restart after a crash; we
4d8151e
# want a nice abrt report
8d866e1
Patch3: 0001-don-t-suppress-crashes.patch
efe739d
Patch4: 0001-change-from-glew-to-epoxy.patch
efe739d
Patch5: 0001-gtk3-implement-opengl-support-for-slideshow.patch
efe739d
Patch6: 0001-lower-the-system-epoxy-requirement.patch
efe739d
Patch7: 0001-Resolves-tdf-105998-distort-hairline-borders-to-fall.patch
ab8dfa1
Patch8: 0001-Related-rhbz-1422353-make-writer-behave-like-calc-an.patch
9f7489e
Patch9: 0001-right-click-to-insert-image.patch
84fd1dc
Patch10: 0001-Related-tdf-106100-recover-mangled-svg-in-presentati.patch
2b4b440
Patch11: 0001-Resolves-tdf-106645-gtk3-scrollbar-is-too-wide.patch
b2a4eb9
Patch12: 0001-Related-rhbz-1334915-tdf-100158-hack-using-startcent.patch
d7f62af
Patch13: 0001-Resolves-rhbz-1432468-disable-opencl-by-default.patch
508b7e1
1c6b9e3
%if 0%{?rhel}
1c6b9e3
# not upstreamed
978b4cf
Patch500: 0001-disable-libe-book-support.patch
7f35fdb
Patch501: 0001-fix-build-of-bundled-libzmf-with-boost-1.56.patch
7f35fdb
Patch502: 0001-allow-to-build-bundled-libzmf-on-aarch64.patch
7f35fdb
Patch503: 0001-impl.-missing-function.patch
1c6b9e3
%endif
8076325
8076325
%define instdir %{_libdir}
8076325
%define baseinstdir %{instdir}/libreoffice
042e702
%define sdkinstdir %{baseinstdir}/sdk
a39fefc
%define datadir %{_datadir}/%{name}
8076325
%define fontname opensymbol
8076325
8683146
# rhbz#1085420 make sure we do not provide bundled libraries
8683146
%if 0%{?rhel}
84d23d6
%global libo_bundled_libs_filter ^liborcus(-parser)?-0\\.12\\.so.*$
8683146
%global __provides_exclude %{libo_bundled_libs_filter}
8683146
%global __requires_exclude %{libo_bundled_libs_filter}
8683146
%endif
8683146
45b823c
%if 0%{?__isa_bits} == 64
45b823c
%global mark64 ()(64bit)
45b823c
%endif
45b823c
8076325
%description
8076325
LibreOffice is an Open Source, community-developed, office productivity suite.
8076325
It includes the key desktop applications, such as a word processor,
8076325
spreadsheet, presentation manager, formula editor and drawing program, with a
8076325
user interface and feature set similar to other office suites.  Sophisticated
8076325
and flexible, LibreOffice also works transparently with a variety of file
8076325
formats, including Microsoft Office File Formats.
8076325
c912544
%package filters
c912544
Summary: All import / export filters
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
87ae9dc
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
87ae9dc
Requires: %{name}-draw%{?_isa} = %{epoch}:%{version}-%{release}
87ae9dc
Requires: %{name}-graphicfilter%{?_isa} = %{epoch}:%{version}-%{release}
87ae9dc
Requires: %{name}-impress%{?_isa} = %{epoch}:%{version}-%{release}
87ae9dc
Requires: %{name}-math%{?_isa} = %{epoch}:%{version}-%{release}
87ae9dc
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
87ae9dc
Requires: %{name}-xsltfilter%{?_isa} = %{epoch}:%{version}-%{release}
c912544
632edf3
%description filters
c912544
Metapackage to pull in all subpackages that contain import or export
c912544
filters.
c912544
8076325
%package core
8076325
Summary: Core modules for LibreOffice
8ea7f95
Requires: %{name}-%{fontname}-fonts = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
e1bf4e8
Requires: %{name}-data = %{epoch}:%{version}-%{release}
5388a9d
%if 0%{?fedora}
3d4ac17
Requires: %{name}-gtk3%{?_isa} = %{epoch}:%{version}-%{release}
43fec3a
%else
cca9e4f
# these two plugins used to be part of core--keep it that way
cca9e4f
Requires: %{name}-gtk2%{?_isa} = %{epoch}:%{version}-%{release}
cca9e4f
Requires: %{name}-x11%{?_isa} = %{epoch}:%{version}-%{release}
3d4ac17
%endif
e229720
Requires: liberation-sans-fonts, liberation-serif-fonts, liberation-mono-fonts
8076325
Requires: dejavu-sans-fonts, dejavu-serif-fonts, dejavu-sans-mono-fonts
0c51029
Requires: google-crosextra-caladea-fonts, google-crosextra-carlito-fonts
ca7d829
Requires: %{name}-langpack-en = %{epoch}:%{version}-%{release}
213dc35
# rhbz#949106 libreoffice-core drags in both openjdk 1.7.0 and 1.8.0
3981fec
Requires: java-headless >= 1:1.6
Richard Hughes b67fc84
Obsoletes: libreoffice-appdata < 1:4.3.3.0
c470ea3
Obsoletes: libreoffice-binfilter < 1:4.0.0.0
2e69e1d
Obsoletes: libreoffice-headless < 1:4.4.0.0
6222204
Obsoletes: libreoffice-javafilter < 1:4.1.0.0
3bafa02
Obsoletes: openoffice.org-core < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-brand < 1:3.3.1, broffice.org-brand < 1:3.3.1
2e69e1d
Obsoletes: openoffice.org-headless < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-javafilter < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-langpack-ms < 1:3.3.1, libreoffice-langpack-ms < 1:3.3.99.1
3bafa02
Obsoletes: openoffice.org-langpack-ur < 1:3.3.1, libreoffice-langpack-ur < 1:3.3.99.1
3bafa02
Obsoletes: openoffice.org-testtools < 1:3.3.1
38aed49
Obsoletes: libreoffice-testtools < 1:3.4.99.1
a4be3f0
Obsoletes: autocorr-eu < 1:4.0.1.2
8d425fb
Provides: libreoffice-appdata = %{epoch}:%{version}-%{release}
6456d6e
Provides: libreoffice-appdata%{?_isa} = %{epoch}:%{version}-%{release}
8d425fb
Provides: libreoffice-headless = %{epoch}:%{version}-%{release}
6456d6e
Provides: libreoffice-headless%{?_isa} = %{epoch}:%{version}-%{release}
8076325
8076325
%description core
8076325
The shared core libraries and support files for LibreOffice.
8076325
8076325
%package pyuno
8076325
Summary: Python support for LibreOffice
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{libo_python}%{?_isa}
3bafa02
Obsoletes: openoffice.org-pyuno < 1:3.3.1
8076325
8076325
%description pyuno
8076325
Python bindings for the LibreOffice UNO component model. Allows scripts both
8076325
external to LibreOffice and within the internal LibreOffice scripting framework
8076325
to be written in python.
8076325
8076325
%package base
8076325
Summary: Database front-end for LibreOffice
e74cb9c
Requires: pentaho-reporting-flow-engine
9d4ac2a
Requires: postgresql-jdbc
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
b7d5e7a
Requires: %{name}-data = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
6222204
Obsoletes: %{name}-report-builder < 1:4.1.0.0
3bafa02
Obsoletes: openoffice.org-base-core < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-base < 1:3.3.1, broffice.org-base < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-report-builder < 1:3.3.1
8076325
8076325
%description base
8076325
GUI database front-end for LibreOffice. Allows creation and management of 
8076325
databases through a GUI.
8076325
8076325
%package bsh
8076325
Summary: BeanShell support for LibreOffice
8076325
Requires: bsh
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-bsh < 1:3.3.1
8076325
8076325
%description bsh
8076325
Support BeanShell scripts in LibreOffice.
8076325
5139033
%package officebean
5139033
Summary: JavaBean for LibreOffice Components
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
96f3a4e
Requires: %{name}-officebean-common = %{epoch}:%{version}-%{release}
5139033
5139033
%description officebean
5139033
Allows embedding of LibreOffice documents within the Java environment. It
5139033
provides a Java AWT window into which the backend LibreOffice process draws
5139033
its visual representation
5139033
96f3a4e
%package officebean-common
96f3a4e
Summary: Common JavaBean for LibreOffice Components
96f3a4e
Requires: %{name}-data = %{epoch}:%{version}-%{release}
96f3a4e
BuildArch: noarch
96f3a4e
96f3a4e
%description officebean-common
96f3a4e
Arch-independent part of %{name}-officebean.
96f3a4e
8076325
%package rhino
8076325
Summary: JavaScript support for LibreOffice
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-rhino < 1:3.3.1
8076325
8076325
%description rhino
8076325
Support JavaScript scripts in LibreOffice.
8076325
8076325
%package wiki-publisher
8076325
Summary: Create Wiki articles on MediaWiki servers with LibreOffice
6456d6e
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-wiki-publisher < 1:3.3.1
8076325
8076325
%description wiki-publisher
8076325
The Wiki Publisher enables you to create Wiki articles on MediaWiki servers
8076325
without having to know the syntax of the MediaWiki markup language. Publish
8076325
your new and existing documents transparently with writer to a wiki page.
8076325
445e8d9
%package nlpsolver
445e8d9
Summary: Non-linear solver engine for LibreOffice Calc
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
445e8d9
445e8d9
%description nlpsolver
445e8d9
A non-linear solver engine for Calc as an alternative to the default linear
445e8d9
programming model when more complex, nonlinear programming is required.
445e8d9
8076325
%package ogltrans
8076325
Summary: 3D OpenGL slide transitions for LibreOffice
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-impress%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-ogltrans < 1:3.3.1
8076325
8076325
%description ogltrans
8076325
OpenGL Transitions enable 3D slide transitions to be used in LibreOffice.
8076325
Requires good quality 3D support for your graphics card for best experience.
8076325
8076325
%package pdfimport
8076325
Summary: PDF Importer for LibreOffice Draw
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-draw%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-pdfimport < 1:3.3.1
8076325
8076325
%description pdfimport
8076325
The PDF Importer imports PDF into drawing documents to preserve layout
8076325
and enable basic editing of PDF documents.
8076325
8076325
%package %{fontname}-fonts
8076325
Summary: LibreOffice dingbats font
8076325
Requires: fontpackages-filesystem
3bafa02
Obsoletes: openoffice.org-fonts < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-opensymbol-fonts < 1:3.3.1
8076325
BuildArch: noarch
8076325
8076325
%description %{fontname}-fonts
8076325
A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and
8076325
mathematical symbols. 
8076325
8076325
%package writer
8076325
Summary: LibreOffice Word Processor Application
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
b7d5e7a
Requires: %{name}-data = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-writer-core < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-writer < 1:3.3.1, broffice.org-writer < 1:3.3.1
8076325
8076325
%description writer
8076325
The LibreOffice Word Processor application.
8076325
8076325
%package emailmerge
8076325
Summary: Email mail-merge component for LibreOffice 
6456d6e
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-emailmerge < 1:3.3.1
8076325
8076325
%description emailmerge
8076325
Enables the LibreOffice writer module to mail-merge to email.
8076325
8076325
%package calc
8076325
Summary: LibreOffice Spreadsheet Application
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
b7d5e7a
Requires: %{name}-data = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-calc-core < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-calc < 1:3.3.1, broffice.org-calc < 1:3.3.1
8076325
8076325
%description calc
8076325
The LibreOffice Spreadsheet application.
8076325
8076325
%package draw
8076325
Summary: LibreOffice Drawing Application
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
b7d5e7a
Requires: %{name}-data = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pdfimport%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-graphicfilter%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-draw-core < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-draw < 1:3.3.1, broffice.org-draw < 1:3.3.1
8076325
8076325
%description draw
8076325
The LibreOffice Drawing Application.
8076325
8076325
%package impress
8076325
Summary: LibreOffice Presentation Application
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
b7d5e7a
Requires: %{name}-data = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
a0d2c2d
Obsoletes: %{name}-presentation-minimizer < 2:4.2.0.0-1.alpha1
8bd7b0b
Obsoletes: %{name}-presenter-screen < 2:4.0.0.0-1.beta1
3bafa02
Obsoletes: openoffice.org-impress-core < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-impress < 1:3.3.1, broffice.org-impress < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-presentation-minimizer < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-presenter-screen < 1:3.3.1
8d425fb
Provides: %{name}-presentation-minimizer = %{epoch}:%{version}-%{release}
a0d2c2d
Provides: %{name}-presentation-minimizer%{?_isa} = %{epoch}:%{version}-%{release}
8d425fb
Provides: %{name}-presenter-screen = %{epoch}:%{version}-%{release}
b000dc1
Provides: %{name}-presenter-screen%{?_isa} = %{epoch}:%{version}-%{release}
8076325
8076325
%description impress
8076325
The LibreOffice Presentation Application.
8076325
8076325
%package math
8076325
Summary: LibreOffice Equation Editor Application
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-math-core < 1:3.3.1
3bafa02
Obsoletes: openoffice.org-math < 1:3.3.1, broffice.org-math < 1:3.3.1
8076325
8076325
%description math 
8076325
The LibreOffice Equation Editor Application.
8076325
8076325
%package graphicfilter
8076325
Summary: LibreOffice Extra Graphic filters
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
b7d5e7a
Requires: %{name}-data = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-graphicfilter < 1:3.3.1
8076325
8076325
%description graphicfilter
8076325
The graphicfilter module for LibreOffice provides graphic filters, e.g. svg and
8076325
flash filters.
8076325
8076325
%package xsltfilter
8076325
Summary: Optional xsltfilter module for LibreOffice
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
3bafa02
Obsoletes: openoffice.org-xsltfilter < 1:3.3.1
8076325
8076325
%description xsltfilter
8076325
The xsltfilter module for LibreOffice, provides additional docbook and
8076325
xhtml export transforms. Install this to enable docbook export.
8076325
518b615
%package postgresql
518b615
Summary: PostgreSQL connector for LibreOffice
6456d6e
Requires: %{name}-base%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: postgresql-libs%{?_isa}
518b615
518b615
%description postgresql
518b615
A PostgreSQL connector for the database front-end for LibreOffice. Allows
518b615
creation and management of PostgreSQL databases through a GUI.
518b615
cb73e55
%package ure
cb73e55
Summary: UNO Runtime Environment
cb73e55
#rhbz#1164551 we want to ensure that a libjvm.so of this arch is available
96f3a4e
Requires: %{name}-ure-common = %{epoch}:%{version}-%{release}
6456d6e
Requires: unzip%{?_isa}, libjvm.so%{?mark64}
cb73e55
Obsoletes: openoffice.org-ure < 1:3.3.1
cb73e55
cb73e55
%description ure
cb73e55
UNO is the component model of LibreOffice. UNO offers interoperability between
cb73e55
programming languages, other components models and hardware architectures,
cb73e55
either in process or over process boundaries, in the Intranet as well as in the
cb73e55
Internet. UNO components may be implemented in and accessed from any
cb73e55
programming language for which a UNO implementation (AKA language binding) and
cb73e55
an appropriate bridge or adapter exists
cb73e55
96f3a4e
%package ure-common
96f3a4e
Summary: Common UNO Runtime Environment
96f3a4e
BuildArch: noarch
96f3a4e
96f3a4e
%description ure-common
96f3a4e
Arch-independent part of %{name}-ure.
96f3a4e
8076325
%package sdk
8076325
Summary: Software Development Kit for LibreOffice
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
5006c25
Requires: unzip%{?_isa}, java-devel
3bafa02
Obsoletes: openoffice.org-sdk < 1:3.3.1, openoffice.org-devel < 1:3.3.1
8076325
8076325
%description sdk
8076325
The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides
8076325
the necessary tools for programming using the LibreOffice APIs and for creating
8076325
extensions (UNO components) for LibreOffice.  To set the build environment for
8076325
building against the sdk use %{sdkinstdir}/setsdkenv_unix.sh.
8076325
8076325
%package sdk-doc
8076325
Summary: Software Development Kit documentation for LibreOffice
3bafa02
Obsoletes: openoffice.org-sdk-doc < 1:3.3.1
8076325
8076325
%description sdk-doc
8076325
This provides documentation for programming using the LibreOffice APIs
8076325
and examples of creating extensions (UNO components) for LibreOffice.
8076325
5ac635d
%package glade
5ac635d
Summary: Support for creating LibreOffice dialogs in glade
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
5ac635d
5ac635d
%description glade
5ac635d
%{name}-glade contains a catalog of LibreOffice-specific widgets for
77258ed
glade and ui-previewer tool to check the visual appearance of dialogs.
5ac635d
a87a076
%package librelogo
a87a076
Summary: LibreLogo scripting language
6456d6e
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
6456d6e
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
a87a076
a87a076
%description librelogo
a87a076
Enables LibreLogo scripting in Writer. LibreLogo is a Logo-like
a87a076
programming language with interactive vectorgraphics for education and
a87a076
DTP.
a87a076
e1bf4e8
%package data
e1bf4e8
Summary: LibreOffice data files
3d15ea5
BuildArch: noarch
3d15ea5
e1bf4e8
%description data
e1bf4e8
%{name}-data contains platform-independent data files.
3d15ea5
77c7765
%package x11
77c7765
Summary: LibreOffice generic X11 support plug-in
77c7765
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
77c7765
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
77c7765
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
77c7765
%if 0%{?weak_deps}
77c7765
Supplements: (%{name}-core%{?_isa} and Xserver)
77c7765
%endif
77c7765
77c7765
%description x11
77c7765
A plug-in for LibreOffice that enables generic X11 support.
77c7765
77c7765
%package gtk2
77c7765
Summary: LibreOffice GTK+ 2 integration plug-in
77c7765
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
77c7765
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
77c7765
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
77c7765
%if 0%{?weak_deps}
77c7765
Supplements: (%{name}-core%{?_isa} and gtk2%{?_isa})
77c7765
%endif
77c7765
77c7765
%description gtk2
77c7765
A plug-in for LibreOffice that enables integration into GTK+ 2 environment.
77c7765
aab62f3
%if 0%{?fedora}
a8a7218
668a0bc
%package kde4
Lukas Tinkl c4870bd
Summary: LibreOffice KDE integration plug-in
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
668a0bc
Obsoletes: %{name}-kde < 1:5.1.1.3-2
668a0bc
Provides: %{name}-kde = %{epoch}:%{version}-%{release}
668a0bc
Provides: %{name}-kde%{?_isa} = %{epoch}:%{version}-%{release}
77c7765
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
77c7765
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
Lukas Tinkl c4870bd
668a0bc
%description kde4
Lukas Tinkl c4870bd
A plug-in for LibreOffice that enables integration into the KDE desktop environment.
a8a7218
06c1cda
%package gtk3
06c1cda
Summary: LibreOffice GTK+ 3 integration plug-in
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
45b823c
Requires: gstreamer1(element-gtksink)%{?mark64}
3e2a140
Supplements: (%{name}-core%{?_isa} and gtk3%{?_isa})
06c1cda
06c1cda
%description gtk3
06c1cda
A plug-in for LibreOffice that enables integration into GTK+ 3 environment.
06c1cda
439fedf
%package -n libreofficekit
439fedf
Summary: A library providing access to LibreOffice functionality
e6b18f6
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
439fedf
License: MPLv2.0
439fedf
439fedf
%description -n libreofficekit
439fedf
LibreOfficeKit can be used to access LibreOffice functionality
439fedf
through C/C++, without any need to use UNO.
439fedf
439fedf
For now it only offers document conversion (in addition to an
439fedf
experimental tiled rendering API).
439fedf
fe1850c
%package -n libreofficekit-devel
fe1850c
Summary: Development files for libreofficekit
e6b18f6
Requires: libreofficekit%{?_isa} = %{epoch}:%{version}-%{release}
fe1850c
License: MPLv2.0
fe1850c
fe1850c
%description -n libreofficekit-devel
fe1850c
The libreofficekit-devel package contains libraries and header files for
fe1850c
developing applications that use libreofficekit.
fe1850c
82f2389
%endif
Lukas Tinkl c4870bd
e400f26
%if 0%{?_enable_debug_packages}
e400f26
e400f26
%package gdb-debug-support
e400f26
Summary: Additional support for debugging with gdb
6456d6e
Requires: gdb%{?_isa}
c1cdecb
Requires: %{libo_python}-six
Thierry Vignaud 0fab6a6
Requires: libreoffice-core%{?_isa} = %{epoch}:%{version}-%{release}
2d12405
%if 0%{?weak_deps}
cbe89aa
Supplements: libreoffice-debuginfo%{?_isa} = %{epoch}:%{version}-%{release}
87ae9dc
%endif
e400f26
e400f26
%description gdb-debug-support
e400f26
This package provides gdb pretty printers for package %{name}.
e400f26
e400f26
%files gdb-debug-support
e400f26
%{_datadir}/gdb/auto-load%{baseinstdir}
e400f26
%{_datadir}/libreoffice/gdb
e400f26
e400f26
%endif
8076325
90dd62c
%define _langpack_common() \
90dd62c
%{baseinstdir}/program/resource/*%{1}.res  \
b515936
%{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/%{1}.zip \
b515936
%{baseinstdir}/share/config/soffice.cfg/*/ui/res/%{1}.zip \
90dd62c
%{baseinstdir}/share/template/%{1} \
90dd62c
%{baseinstdir}/share/registry/Langpack-%{1}.xcd \
90dd62c
%{baseinstdir}/share/registry/res/registry_%{1}.xcd \
90dd62c
%{baseinstdir}/share/registry/res/fcfg_langpack_%{1}.xcd \
90dd62c
%{nil}
90dd62c
2aee8bd
# Defines a language pack subpackage.
2aee8bd
#
2aee8bd
# It's necessary to define language code (-l) and language name (-n).
2aee8bd
# Additionally, it's possible
2aee8bd
# * to require autocorr, hunspell, hyphen or mythes package or font for
2aee8bd
#   given language,
0dc683a
# * to obsolete openoffice.org-langpack package,
3c53372
# * to provide libreoffice-langpack-loc package, where loc is glibc
3c53372
#   locale--this is necessary for yum to pick it automatically,
2aee8bd
# * to require other, unrelated, packages,
2aee8bd
# * to specify file serving as file list.
2aee8bd
# For these, lower case character argument takes an argument specifying
2aee8bd
# language, upper case character argument uses language from -l.
2aee8bd
#
2aee8bd
# All remaining arguments are considered to be files and added to the file
2aee8bd
# list.
2aee8bd
#
90dd62c
# Aa:  autocorr dependency
90dd62c
# c:   additional config file (just the name stem)
90dd62c
# E    the package does not contain any files (i.e., has empty filelist)
90dd62c
# Ff:  font language dependency
90dd62c
# Hh:  hunspell dependency
90dd62c
# i:   additional language added to this package
357e8af
# L:   internal (LibreOffice) language code, used in file names
90dd62c
# l:   language code, e.g., cs
90dd62c
# Mm:  mythes dependency
90dd62c
# n:   language name, e.g., Czech
0dc683a
# Oo:  Obsoletes: of openoffice.org-langpack
0dc683a
# Vv:  Very archaic Obsoletes: of openoffice.org-langpack
0dc683a
# Ww:  Archaic Obsoletes: of openoffice.org2-langpack
90dd62c
# p:   Provides: of libreoffice-langpack
90dd62c
# r:   comma-separated list of additional requires
5cb5cc6
# S:s: script classification (cjk, ctl). -S is only a marker, as it does
5cb5cc6
#      not add any .xcd into the package (the file does not exist for at
5cb5cc6
#      least one CTL-using locale, si)
90dd62c
# T    has help files
58ec5ff
# Xx:  has autotext definitions
90dd62c
# Yy:  hyphen dependency
2aee8bd
#
2aee8bd
# Example:
2aee8bd
# libreoffice-langpack-cs: langpack for Czech lang. requiring hyphen-cs,
0dc683a
# autocorr-cs, mythes-cs-CZ and suitable font, obsoleting
0dc683a
# openoffice.org-langpack-cs_CZ:
90dd62c
# %%langpack -l cs -n Czech -H -A -m cs-CZ
0dc683a
#  b de g  jk     q  tu    z BCD  G IJK  N PQR  U    Z0123456789
0dc683a
%define langpack(Aa:c:EFf:Hh:i:L:l:Mm:n:p:Oo:r:S:s:TVv:Ww:Xx:Yy:) \
2aee8bd
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
357e8af
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
2aee8bd
%define pkgname langpack-%{lang} \
2aee8bd
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
2aee8bd
\
357e8af
%global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \
357e8af
\
2aee8bd
%package %{pkgname} \
05abd19
Summary: %{langname} language pack for LibreOffice \
6456d6e
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \
2aee8bd
%{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \
2aee8bd
%{-f:Requires: font(:lang=%{-f*})}%{!-f:%{-F:Requires: font(:lang=%{lang})}} \
2aee8bd
%{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \
2aee8bd
%{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \
2aee8bd
%{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \
2aee8bd
%{-r:Requires: %{-r*}} \
05abd19
%{-o:Obsoletes: openoffice.org-langpack-%{-o*} < 1:3.3.1}%{!-o:%{-O:Obsoletes: openoffice.org-langpack-%{lang} < 1:3.3.1}} \
05abd19
%{-w:Obsoletes: openoffice.org2-langpack-%{-x*} < 1:3.0.0}%{!-x:%{-W:Obsoletes: openoffice.org2-langpack-%{lang} < 1:3.0.0}} \
61b3a77
%{-v:Obsoletes: openoffice.org-langpack-%{-v*} < 1:2.0.3}%{!-v:%{-V:Obsoletes: openoffice.org-langpack-%{lang} < 1:2.0.3}} \
cbfdd5e
%{-p:Provides: %{name}-langpack-%{-p*} = %{epoch}:%{version}-%{release}} \
cbfdd5e
%{-p:Provides: %{name}-langpack-%{-p*}%{?_isa} = %{epoch}:%{version}-%{release}} \
2d12405
%if 0%{?weak_deps} \
234400b
%{-p:Supplements: (%{name}-core%{?_isa} = %{epoch}:%{version}-%{release} and langpacks-%{-p*})} \
234400b
%{!-p:Supplements: (%{name}-core%{?_isa} = %{epoch}:%{version}-%{release} and langpacks-%{lang})} \
234400b
%endif \
2aee8bd
\
2aee8bd
%description %{pkgname} \
05abd19
Provides additional %{langname} translations and resources for LibreOffice. \
2aee8bd
\
90dd62c
%files %{pkgname} \
90dd62c
%{!-E: \
90dd62c
%{expand:%%_langpack_common %{_langpack_lang}} \
05abd19
%{-x:%{baseinstdir}/share/autotext/%{-x*}}%{!-x:%{-X:%{baseinstdir}/share/autotext/%{_langpack_lang}}} \
90dd62c
%{-c:%{baseinstdir}/share/registry/%{-c*}.xcd} \
90dd62c
%{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \
90dd62c
%{-T: \
90dd62c
%docdir %{baseinstdir}/help/%{_langpack_lang} \
357c522
%if !0%{?armhack}
90dd62c
%{baseinstdir}/help/%{_langpack_lang} \
357c522
%endif
90dd62c
} \
90dd62c
%{-i:%{expand:%%_langpack_common %{-i*}}} \
90dd62c
} \
90dd62c
%{nil}
2aee8bd
2aee8bd
# Defines an auto-correction subpackage.
2aee8bd
#
a5510ed
# i: add autocorrections from additional language
2aee8bd
# l: language code
2aee8bd
# n: language name
a5510ed
# L  the filename does not contain country code
2aee8bd
#
2aee8bd
# All remaining arguments are considered to be files and added to the file
2aee8bd
# list.
a5510ed
%define autocorr(i:Ll:n:) \
2aee8bd
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
2aee8bd
%define pkgname autocorr-%{lang} \
2aee8bd
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
2aee8bd
\
2aee8bd
%package -n %{pkgname} \
2aee8bd
Summary: %{langname} auto-correction rules \
2aee8bd
BuildArch: noarch \
2aee8bd
\
2aee8bd
%description -n %{pkgname} \
2aee8bd
Rules for auto-correcting common %{langname} typing errors. \
2aee8bd
\
2aee8bd
%files -n %{pkgname} \
78c68ee
%doc instdir/LICENSE \
2aee8bd
%dir %{_datadir}/autocorr \
a5510ed
%{-L:%{_datadir}/autocorr/acor_%{lang}.dat} \
a5510ed
%{!-L:%{_datadir}/autocorr/acor_%{lang}-*.dat} \
a5510ed
%{-i:%{_datadir}/autocorr/acor_%{-i*}-*.dat} \
a5510ed
%{nil}
8076325
438369d
%langpack -l en -n English -F -h en-US -Y -M -A -E -L en-US -O
5c97235
8c1a0f3
%if %{with langpacks}
8076325
eb89796
%langpack -l af -n Afrikaans -F -H -Y -A -o af_ZA -V -w af_ZA
0d90bd1
%langpack -l ar -n Arabic -F -H -s ctl -O -T -W
0dc683a
%langpack -l as -n Assamese -F -H -Y -o as_IN -w as_IN
0dc683a
%langpack -l bg -n Bulgarian -F -H -Y -M -A -T -X -o bg_BG -V -w bg_BG
0dc683a
%langpack -l bn -n Bengali -F -H -Y -T -O -v bn_IN -W
3d61453
%langpack -l br -n Breton -F -H
3536b77
%langpack -l ca -n Catalan -F -H -Y -M -A -T -o ca_ES -V -w ca_ES -X
0dc683a
%langpack -l cs -n Czech -F -H -Y -M -A -T -X -o cs_CZ -V -w cs_CZ
0dc683a
%langpack -l cy -n Welsh -F -H -Y -o cy_GB -V -w cy_GB
0dc683a
%langpack -l da -n Danish -F -H -Y -M -A -T -X -o da_DK -V -w da_DK
0dc683a
%langpack -l de -n German -F -H -Y -M -A -T -X -O -W
0dc683a
%langpack -l dz -n Dzongkha -F -s ctl -T -O
0dc683a
%langpack -l el -n Greek -F -H -Y -M -T -o el_GR -V -w el_GR
0dc683a
%langpack -l es -n Spanish -F -H -Y -M -A -T -X -O -W
0dc683a
%langpack -l et -n Estonian -F -H -Y -T -o et_EE -V -w et_EE
0dc683a
%langpack -l eu -n Basque -F -H -Y -T -o eu_ES -V -w eu_ES
3536b77
%langpack -l fa -n Farsi -A -H -Y -s ctl -X
3536b77
%langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -o fi_FI -V -w fi_FI -X
0dc683a
%langpack -l fr -n French -F -H -Y -M -A -T -X -O -W
0dc683a
%langpack -l ga -n Irish -F -H -Y -M -A -o ga_IE -w ga_IE
0dc683a
%langpack -l gl -n Galician -F -H -Y -T -o gl_ES -V -w gl_ES
56deb9e
%langpack -l gu -n Gujarati -F -H -Y -s ctl -o gu_IN -w gu_IN -T
56deb9e
%langpack -l he -n Hebrew -F -H -s ctl -o he_IL -V -w he_IL -T
3536b77
%langpack -l hi -n Hindi -F -H -Y -s ctl -T -o hi_IN -v hi-IN -w hi_IN -X
3536b77
%langpack -l hr -n Croatian -F -H -Y -A -o hr_HR -V -w hr_HR -T -X
0dc683a
%langpack -l hu -n Hungarian -F -H -Y -M -A -T -X -o hu_HU -V -w hu_HU
e231fcb
%langpack -l id -n Indonesian -F -H -Y -T
0dc683a
%langpack -l it -n Italian -F -H -Y -M -A -T -X -O -W
0dc683a
%langpack -l ja -n Japanese -F -A -s cjk -T -X -o ja_JP -V -w ja_JP
8ae011d
%langpack -l kk -n Kazakh -F -H
0dc683a
%langpack -l kn -n Kannada -F -H -Y -o kn_IN -w ka_IN
42d103d
%langpack -l ko -n Korean -F -H -A -s cjk -T -X -o ko_KR -V -w ko_KR
ea46a4d
%langpack -l lt -n Lithuanian -F -H -Y -A -o lt_LT -T -V -w lt_LT -X
ea46a4d
%langpack -l lv -n Latvian -F -H -Y -M -T
0dc683a
%langpack -l mai -n Maithili -F -o mai_IN
0dc683a
%langpack -l ml -n Malayalam -F -H -Y -o ml_IN -w ml_IN
0dc683a
%langpack -l mr -n Marathi -F -H -Y -o mr_IN -w mr_IN
0dc683a
%langpack -l nb -n Bokmal -F -H -Y -M -T -o nb_NO -V -w nb_NO
0dc683a
%langpack -l nl -n Dutch -F -H -Y -M -A -T -X -O -W
0dc683a
%langpack -l nn -n Nynorsk -F -H -Y -M -T -o nn_NO -V -w nn_NO
2aee8bd
%define langpack_lang Southern Ndebele
0dc683a
%langpack -l nr -n %{langpack_lang} -F -H -o nr_ZA
2aee8bd
%define langpack_lang Northern Sotho
0dc683a
%langpack -l nso -n %{langpack_lang} -F -H -o nso_ZA -w nso_ZA
ba563a6
%langpack -l or -n Odia -F -H -Y -s ctl -o or_IN -w or_IN
0dc683a
%langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN -O -v pa_IN -w pa_IN
0dc683a
%langpack -l pl -n Polish -F -H -Y -M -A -T -X -o pl_PL -V -w pl_PL
2aee8bd
%define langpack_lang Brazilian Portuguese
0dc683a
%langpack -l pt-BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -p pt_BR -T -X -o pt_BR -V -w pt_BR
0dc683a
%langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -x pt -o pt_PT -v pt -W
ea46a4d
%langpack -l ro -n Romanian -A -F -H -Y -M -O -T -X
0dc683a
%langpack -l ru -n Russian -F -H -Y -M -A -T -X -O -W
0dc683a
%langpack -l si -n Sinhalese -F -H -S ctl -T -O
0dc683a
%langpack -l sk -n Slovak -F -H -Y -M -A -T -X -o sk_SK -V -w sk_SK
0dc683a
%langpack -l sl -n Slovenian -F -H -Y -M -A -T -X -o sl_SI -V -w sl_SI
6222204
%{baseinstdir}/share/wordbook/sl.dic
6222204
90dd62c
#rhbz#452379 clump serbian translations together
Bastien Nocera 1bd7201
%langpack -l sr -n Serbian -F -H -Y -A -i sr-Latn -O -v sr_CS -w sr_CS
0dc683a
%langpack -l ss -n Swati -F -H -o ss_ZA
2aee8bd
%define langpack_lang Southern Sotho
0dc683a
%langpack -l st -n %{langpack_lang} -F -H -o st_ZA
0dc683a
%langpack -l sv -n Swedish -F -H -Y -M -A -T -X -O -W
ea46a4d
%langpack -l ta -n Tamil -F -H -Y -s ctl -o ta_IN -T -w ta_IN
0dc683a
%langpack -l te -n Telugu -F -H -Y -o te_IN -w te_IN
0dc683a
%langpack -l th -n Thai -F -H -s ctl -c ctlseqcheck_th -o th_TH -V -w th_TH
0dc683a
%langpack -l tn -n Tswana -F -H -o tn_ZA -V -w tn_ZA
0dc683a
%langpack -l tr -n Turkish -F -A -T -X -o tr_TR -V -W
0dc683a
%langpack -l ts -n Tsonga -F -H -o ts_ZA -V -w ts_ZA
0dc683a
%langpack -l uk -n Ukrainian -F -H -Y -M -T -O
0dc683a
%langpack -l ve -n Venda -F -H -o ve_ZA
0dc683a
%langpack -l xh -n Xhosa -F -H -o xh_ZA
2aee8bd
%define langpack_lang Simplified Chinese
0dc683a
%langpack -l zh-Hans -n %{langpack_lang} -f zh-cn -a zh -p zh_CN -s cjk -T -L zh-CN -x zh-CN -o zh_CN -v zh-CN -w zh_CN
2aee8bd
%define langpack_lang Traditional Chinese
0dc683a
%langpack -l zh-Hant -n %{langpack_lang} -f zh-tw -a zh -p zh_TW -s cjk -T -L zh-TW -x zh-TW -o zh_TW -v zh-TW -w zh_TW
0dc683a
%langpack -l zu -n Zulu -F -H -Y -o zu_ZA -V -w zu_ZA
2aee8bd
%undefine langpack_lang
8076325
2aee8bd
%endif
8076325
2aee8bd
%autocorr -l en -n English
8076325
8c1a0f3
%if %{with langpacks}
8076325
2aee8bd
%autocorr -l af -n Afrikaans
2aee8bd
%autocorr -l bg -n Bulgarian
6168b26
%autocorr -l ca -n Catalan
2aee8bd
%autocorr -l cs -n Czech
2aee8bd
%autocorr -l da -n Danish
c40c477
%autocorr -l de -n German -L
c40c477
%autocorr -l es -n Spanish -L
2aee8bd
%autocorr -l fa -n Farsi
2aee8bd
%autocorr -l fi -n Finnish
e36e88a
%autocorr -l fr -n French -L
2aee8bd
%autocorr -l ga -n Irish
6d05ca9
%autocorr -l hr -n Croatian
2aee8bd
%autocorr -l hu -n Hungarian
6222204
%autocorr -l is -n Icelandic
c40c477
%autocorr -l it -n Italian -L
2aee8bd
%autocorr -l ja -n Japanese
2aee8bd
%autocorr -l ko -n Korean
2aee8bd
%autocorr -l lb -n Luxembourgish
2aee8bd
%autocorr -l lt -n Lithuanian
2aee8bd
%autocorr -l mn -n Mongolian
2aee8bd
%autocorr -l nl -n Dutch
2aee8bd
%autocorr -l pl -n Polish
2aee8bd
%autocorr -l pt -n Portuguese
9fade6e
%autocorr -l ro -n Romanian
2aee8bd
%autocorr -l ru -n Russian
2aee8bd
%autocorr -l sk -n Slovak
2aee8bd
%autocorr -l sl -n Slovenian
a5510ed
#rhbz#452379 clump serbian autocorrections together
11acefa
%autocorr -l sr -n Serbian -i sr-Latn -i sr
2aee8bd
%autocorr -l sv -n Swedish
2aee8bd
%autocorr -l tr -n Turkish
2aee8bd
%autocorr -l vi -n Vietnamese
2aee8bd
%autocorr -l zh -n Chinese
8076325
2aee8bd
%endif
8076325
9df525f
%define make_autocorr_aliases(l:) \
9df525f
%{?-l: \
9df525f
for lang in %{*}; do \
9df525f
    ln -sf acor_%{-l*}.dat acor_$lang.dat \
9df525f
done \
9df525f
} \
9df525f
%{!?-l:%{error:-l must be present}}
9df525f
8076325
%prep
1495658
%setup -q -n %{name}-%{version}%{?libo_prerelease} -b 1 -b 2
02742a4
rm -rf git-hooks */git-hooks
a85919d
a85919d
# set up git repo
a85919d
git init
3faa92c
git config user.name rpmbuild
3faa92c
git config user.email rpmbuild@fedoraproject.org
a85919d
git config gc.auto 0 # disable auto packing
a85919d
git add -A
a85919d
git commit -q -a -m %{name}-%{version}
a85919d
fb1b641
#Customize Palette to add Red Hat colours
8076325
(head -n -1 extras/source/palettes/standard.soc && \
51e536d
 echo -e '  <draw:color draw:name="Red Hat 1" draw:color="#cc0000"/>
51e536d
  <draw:color draw:name="Red Hat 2" draw:color="#0093d9"/>
51e536d
  <draw:color draw:name="Red Hat 3" draw:color="#ff8d00"/>
51e536d
  <draw:color draw:name="Red Hat 4" draw:color="#abb400"/>
51e536d
  <draw:color draw:name="Red Hat 5" draw:color="#4e376b"/>' && \
8076325
 tail -n 1 extras/source/palettes/standard.soc) > redhat.soc
8076325
mv -f redhat.soc extras/source/palettes/standard.soc
a85919d
git commit -q -a -m 'add Red Hat colors to palette'
a85919d
a85919d
# apply patches
a85919d
git am %{patches}
5198193
79e6cde
sed -i -e /CppunitTest_sw_ooxmlexport7/d sw/Module_sw.mk
aedda92
sed -i -e /CppunitTest_sd_import_tests/d sd/Module_sd.mk
a9045d2
git commit -q -a -m 'temporarily disable failing tests'
3d62ed1
a048020
# Seeing .git dir makes some of the build tools change their behavior.
a048020
# We do not want that. Note: it is still possible to use
a048020
# git --git-dir=.git-rpm
a048020
mv .git .git-rpm
a048020
8076325
%build
8076325
echo build start time is `date`, diskspace: `df -h . | tail -n 1`
357e8af
echo building localizations: %{langpack_langs}
21c8368
# path to external tarballs
21c8368
EXTSRCDIR=`dirname %{SOURCE0}`
8076325
aab62f3
%if 0%{?fedora}
Lukas Tinkl c4870bd
# KDE bits
Lukas Tinkl c4870bd
export QT4DIR=%{_qt4_prefix}
Lukas Tinkl c4870bd
export KDE4DIR=%{_kde4_prefix}
Lukas Tinkl c4870bd
export PATH=$QT4DIR/bin:$PATH
82f2389
%endif
Lukas Tinkl c4870bd
263625b
#use the RPM_OPT_FLAGS but remove the OOo overridden ones
263625b
for i in $RPM_OPT_FLAGS; do
263625b
        case "$i" in
b9adaae
                -pipe|-Wall|-Werror*|-g|-fexceptions) continue;;
263625b
        esac
263625b
        ARCH_FLAGS="$ARCH_FLAGS $i"
263625b
done
c3a23d6
%ifarch s390 aarch64
c3a23d6
# these builders typically do not have enough memory to link the big libs with -g2
3bfe04e
ARCH_FLAGS="$ARCH_FLAGS -g1"
3bfe04e
%endif
263625b
export ARCH_FLAGS
263625b
export CFLAGS=$ARCH_FLAGS
263625b
export CXXFLAGS=$ARCH_FLAGS
263625b
c2ed6a9
%if 0%{?rhel}
3621635
%define distrooptions --disable-eot --disable-gltf --enable-python=system --disable-introspection --disable-gtk3
ecd3075
%else # fedora
5200d01
%define distrooptions --enable-eot --enable-gtk3 --enable-kde4 --with-system-opencollada --with-system-ucpp
038a8bf
export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
038a8bf
export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'
82f2389
%endif
82f2389
357e8af
%if %{with langpacks}
357e8af
%define with_lang --with-lang='%{langpack_langs}'
357e8af
%endif
357e8af
c1cdecb
%if ! 0%{libo_use_python3}
aa7e14e
export PYTHON=%{_bindir}/python
aa7e14e
export PYTHON_CFLAGS=`pkg-config --cflags python`
aa7e14e
export PYTHON_LIBS=`pkg-config --libs python`
aa7e14e
%endif
aa7e14e
2c5d177
%if 0%{?fedora}
2c5d177
export MDDS_CFLAGS=`pkg-config --cflags mdds-1.0`
2c5d177
export MDDS_LIBS=' '
2c5d177
%endif
2c5d177
8dd8adf
aclocal -I m4
8076325
autoconf
5630996
8bf116f
SMP_MFLAGS=%{?_smp_mflags}
8bf116f
SMP_MFLAGS=$[${SMP_MFLAGS/-j/}]
8bf116f
ca8f0c1
# TODO: enable coinmp?
8dd8adf
# avoid running autogen.sh on make
8dd8adf
touch autogen.lastrun
8076325
%configure \
c3610e9
 %vendoroption \
c3610e9
 %{?with_lang} \
8bf116f
 --with-parallelism=$SMP_MFLAGS \
ca8f0c1
 --disable-coinmp \
c3610e9
 --disable-fetch-external \
3621635
 --disable-firebird-sdbc \
ee991b5
 --disable-openssl \
ef72370
 --disable-systray \
aa370e7
 --enable-dconf \
c3610e9
 --enable-evolution2 \
c3610e9
 --enable-ext-nlpsolver \
f0238d1
 --enable-ext-wiki-publisher \
c3610e9
 --enable-release-build \
c3610e9
 --enable-scripting-beanshell \
c3610e9
 --enable-scripting-javascript \
c3610e9
 --enable-symbols \
c3610e9
 --with-build-version="%{version}-%{release}" \
82f2389
 --with-external-dict-dir=/usr/share/myspell \
f0238d1
 --with-external-tar="$EXTSRCDIR" \
357c522
%if !0%{?armhack}
c3610e9
 --with-help \
357c522
%endif
c3610e9
 --with-system-dicts \
c3610e9
 --with-system-libs \
c3610e9
 --without-fonts \
1f0bd94
 --with-gdrive-client-secret="GYWrDtzyZQZ0_g5YoBCC6F0I" \
1f0bd94
 --with-gdrive-client-id="457862564325.apps.googleusercontent.com" \
18fa752
 %{distrooptions} \
51f71dc
 %{?bundling_options} \
a0d2c2d
 %{?archoptions}
8076325
4cfeb5e
ulimit -c unlimited
5f71d9e
f9fe071
make verbose=true build-nocheck
8076325
8076325
#generate the icons and mime type stuff
6222204
export DESTDIR=../output
8076325
export KDEMAINDIR=/usr
8076325
export GNOMEDIR=/usr
8076325
export GNOME_MIME_THEME=hicolor
42d103d
export PREFIXDIR=/usr
9158d60
# TODO use empty variables? Should make the renaming hacks in %%install
9158d60
# unnecessary.
8c4977e
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR PKG_CONFIG INSTDIR
f8574d3
pushd $WORKDIR/CustomTarget/sysui/share/libreoffice
8076325
./create_tree.sh
f8574d3
popd
f8574d3
mkdir $WORKDIR/os-integration
f8574d3
cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration
526f4de
%if 0%{?fedora}
fe1850c
cp -pr $WORKDIR/CustomTarget/sysui/share/output/girepository-1.0/LOKDocView-%{girapiversion}.* $WORKDIR/os-integration
526f4de
%endif
f8574d3
f8574d3
%if %{with smallbuild}
f8574d3
# remove the biggest offenders
f8574d3
# NOTE: not removing complete LinkTarget, as some libs are needed for smoketest
f8574d3
rm -rf $WORKDIR/CxxObject $WORKDIR/GenCxxObject $WORKDIR/HelpTarget $WORKDIR/LinkTarget/CppunitTest
f8574d3
%endif
8076325
8076325
echo build end time is `date`, diskspace: `df -h . | tail -n 1`
8076325
72d0bbd
8076325
%install
64fe969
# TODO investigate use of make distro-pack-install
8076325
#figure out the icon version
6222204
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR
6222204
export PRODUCTVERSIONSHORT PRODUCTVERSION
6222204
6222204
# installation
6222204
f21e0d6
install -m 0755 -d %{buildroot}%{instdir}
6222204
if ! make instsetoo_native PKGFORMAT=installed EPM=not-used-but-must-be-set; then
8076325
    echo - ---dump log start---
de9a357
    cat $WORKDIR/installation/LibreOffice/installed/logging/en-US/log_*_en-US.log
8076325
    echo - ---dump log end---
6222204
    echo - ---dump log start -- SDK---
de9a357
    cat $WORKDIR/installation/LibreOffice_SDK/installed/logging/en-US/log_*_en-US.log
6222204
    echo - ---dump log end -- SDK---
6222204
    echo - ---dump log start -- languagepacks---
de9a357
    cat $WORKDIR/installation/LibreOffice_languagepack/installed/logging/en-US/log_*_en-US.log
6222204
    echo - ---dump log end -- languagepacks---
8076325
    exit 1
8076325
fi
f21e0d6
install -m 0755 -d %{buildroot}%{baseinstdir}
afd367d
mv $WORKDIR/installation/LibreOffice/installed/install/en-US/* %{buildroot}%{baseinstdir}
6222204
%if %{with langpacks}
6222204
for langpack in $WORKDIR/installation/LibreOffice_languagepack/installed/install/*; do
6222204
  [ `basename $langpack` = log ] && continue
afd367d
  cp -rp $langpack/* %{buildroot}%{baseinstdir}
6222204
  rm -rf $langpack
6222204
done
6222204
%endif
afd367d
mv $WORKDIR/installation/LibreOffice_SDK/installed/install/en-US/sdk %{buildroot}%{sdkinstdir}
afd367d
chmod -R +w %{buildroot}%{baseinstdir}
6222204
6222204
# postprocessing and tweaks
6222204
423b003
# The installer currently sets UserInstallation to
423b003
# $ORIGIN/../libreoffice/4, which is of course total nonsense. Because I
423b003
# have no inclination to crawl through mountains of perl code to figure out
423b003
# where it comes from, I am just going to replace it by a sensible
423b003
# value here.
afd367d
sed -i -e '/UserInstallation/s@\$ORIGIN/..@$SYSUSERCONFIG@' %{buildroot}%{baseinstdir}/program/bootstraprc
8076325
8076325
#configure sdk
afd367d
pushd %{buildroot}%{sdkinstdir}
6222204
    sed -e "s,@OO_SDK_NAME@,sdk," \
6222204
        -e "s,@OO_SDK_HOME@,%{sdkinstdir}," \
6222204
        -e "s,@OFFICE_HOME@,%{baseinstdir}," \
6222204
        -e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \
6222204
        -e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \
6222204
        -e "s,@OO_SDK_CPP_HOME@,/usr/bin," \
c3bcbf7
        -e "s,@OO_SDK_CAT_HOME@,/usr/bin," \
c3bcbf7
        -e "s,@OO_SDK_SED_HOME@,/usr/bin," \
6222204
        -e "s,@OO_SDK_CC_55_OR_HIGHER@,," \
6222204
        -e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \
6222204
        -e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \
6222204
        -e "s,@SDK_AUTO_DEPLOYMENT@,NO," \
6222204
        setsdkenv_unix.sh.in > setsdkenv_unix.sh
5d27d5d
    # ensure no unexpanded vars sneaked in
5d27d5d
    grep '@[A_Z0-9_]\+@' setsdkenv_unix.sh && exit 1
6222204
    chmod 755 setsdkenv_unix.sh
6222204
    # we don't want to install the input file
6222204
    rm -f setsdkenv_unix.sh.in
6222204
# TODO: is this still necessary?
8076325
#fix permissions
8076325
    find examples -type f -exec chmod -x {} \;
8076325
popd
8076325
e39cb48
#ensure a template dir for each lang
afd367d
pushd %{buildroot}%{baseinstdir}/share/template
8076325
for I in %{langpack_langs}; do
4dd8a72
    mkdir -p $I
8076325
done
8076325
popd
8076325
8076325
#Set some aliases to canonical autocorrect language files for locales with matching languages
afd367d
pushd %{buildroot}%{baseinstdir}/share/autocorr
8076325
9df525f
%make_autocorr_aliases -l en-GB en-AG en-AU en-BS en-BW en-BZ en-CA en-DK en-GH en-HK en-IE en-IN en-JM en-NG en-NZ en-SG en-TT
9df525f
%make_autocorr_aliases -l en-US en-PH
e39cb48
#en-ZA exists and has a good autocorrect file with two or three extras that make sense for 
e39cb48
#neighbouring english speaking territories
9df525f
%make_autocorr_aliases -l en-ZA en-NA en-ZW
8c1a0f3
%if %{with langpacks}
9df525f
%make_autocorr_aliases -l af-ZA af-NA
9df525f
%make_autocorr_aliases -l nl-NL nl-AW
9df525f
%make_autocorr_aliases -l sv-SE sv-FI
8076325
%else
8076325
rm -f acor_[a-df-z]*.dat acor_e[su]*.dat
8076325
%endif
8076325
popd
8076325
#rhbz#484055 make these shared across multiple applications
f21e0d6
install -m 0755 -d %{buildroot}%{_datadir}
afd367d
mv -f %{buildroot}%{baseinstdir}/share/autocorr %{buildroot}%{_datadir}/autocorr
afd367d
chmod 755 %{buildroot}%{_datadir}/autocorr
f2d50d4
ln -s %{_datadir}/autocorr %{buildroot}%{baseinstdir}/share/autocorr
8076325
8076325
#remove it in case we didn't build with gcj
afd367d
rm -f %{buildroot}%{baseinstdir}/program/classes/sandbox.jar
8076325
8076325
#remove dummy .dat files
afd367d
rm -f %{buildroot}%{baseinstdir}/program/root?.dat
8076325
a4b9630
# I don't think we need this...
07914fb
rm -f %{buildroot}%{baseinstdir}/share/classification/example*.xml
a4b9630
rmdir %{buildroot}%{baseinstdir}/share/classification
a4b9630
8076325
#set standard permissions for rpmlint
afd367d
find %{buildroot}%{baseinstdir} -exec chmod +w {} \;
afd367d
find %{buildroot}%{baseinstdir} -type d -exec chmod 0755 {} \;
8076325
8076325
# move python bits into site-packages
f21e0d6
install -m 0755 -d %{buildroot}%{libo_python_sitearch}
afd367d
pushd %{buildroot}%{libo_python_sitearch}
8076325
echo "import sys, os" > uno.py
042e702
echo "sys.path.append('%{baseinstdir}/program')" >> uno.py
8076325
echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{baseinstdir}/program/fundamentalrc')" >> uno.py
afd367d
cat %{buildroot}%{baseinstdir}/program/uno.py >> uno.py
afd367d
rm -f %{buildroot}%{baseinstdir}/program/uno.py*
afd367d
mv -f %{buildroot}%{baseinstdir}/program/unohelper.py* .
14b15ff
mv -f %{buildroot}%{baseinstdir}/program/officehelper.py* .
8076325
popd
8076325
8076325
# rhbz#477435 package opensymbol separately
afd367d
pushd %{buildroot}%{baseinstdir}/share/fonts/truetype
8076325
install -d -m 0755 %{buildroot}%{_fontdir}
8076325
install -p -m 0644 *.ttf %{buildroot}%{_fontdir}
8076325
popd
afd367d
rm -rf %{buildroot}%{baseinstdir}/share/fonts
8076325
b804fb8
# move platform-independent data into shared dir
b804fb8
install -m 0755 -d %{buildroot}%{datadir}
b804fb8
rm -f %{buildroot}%{baseinstdir}/CREDITS.fodt %{buildroot}%{baseinstdir}/LICENSE* %{buildroot}%{baseinstdir}/NOTICE
b804fb8
8076325
#ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs 
8076325
#have snuck through
8076325
pic=0
8076325
executable=0
afd367d
for foo in `find %{buildroot}%{instdir} -name "*" -exec file {} \;| grep ": ELF" | cut -d: -f 1` ; do
8076325
    chmod +wx $foo
8076325
    ls -asl $foo
8076325
    result=`readelf -d $foo | grep TEXTREL` || true
8076325
    if [ "$result" != "" ]; then
8076325
        echo "TEXTREL Warning: $foo is b0rked (-fpic missing)"
8076325
        pic=1
8076325
    fi
8076325
    result=`readelf -l $foo | grep GNU_STACK | grep RWE` || true
8076325
    if [ "$result" != "" ]; then
8076325
        echo "GNU_STACK Warning: $foo is b0rked (-noexecstack missing)"
8076325
        executable=1
8076325
    fi
8076325
done
8076325
if [ $pic == 1 ]; then false; fi
8076325
if [ $executable == 1 ]; then false; fi
8076325
8076325
#make up some /usr/bin scripts
f21e0d6
install -m 0755 -d %{buildroot}%{_bindir}
8076325
5ebfd5a
pushd %{buildroot}%{_bindir}
5ebfd5a
echo \#\!/bin/sh > ooffice
5ebfd5a
echo exec libreoffice \"\$@\" >> ooffice
5ebfd5a
chmod a+x ooffice
8076325
5ebfd5a
echo \#\!/bin/sh > ooviewdoc
5ebfd5a
echo exec libreoffice --view \"\$@\" >> ooviewdoc
5ebfd5a
chmod a+x ooviewdoc
8076325
a324ab4
for app in base calc draw impress math writer; do
5ebfd5a
    echo \#\!/bin/sh > oo$app
5ebfd5a
    echo exec libreoffice --$app \"\$@\" >> oo$app
5ebfd5a
    chmod a+x oo$app
a324ab4
done
8076325
5ebfd5a
sed -e s/LAUNCHER/unopkg/g -e s/BRAND/libreoffice/g %{SOURCE4} > unopkg
5ebfd5a
chmod a+x unopkg
8076325
5ebfd5a
sed -e s/LAUNCHER/soffice/g -e s/BRAND/libreoffice/g %{SOURCE4} > libreoffice
5ebfd5a
chmod a+x libreoffice
8076325
8076325
# rhbz#499474 provide a /usr/bin/soffice for .recently-used.xbel
8076325
ln -s %{baseinstdir}/program/soffice soffice
8076325
# rhbz#499474 provide a /usr/bin/openoffice.org for backwards compat
b0d8eda
ln -s libreoffice openoffice.org
8076325
popd
8076325
afd367d
pushd %{buildroot}%{baseinstdir}/share/xdg/
8076325
chmod u+w *.desktop
fd64338
ICONVERSION=`echo $PRODUCTVERSION | sed -e 's/\.//'`
8076325
for file in *.desktop; do
8076325
    # rhbz#156677 remove the version from Name=
8076325
    # rhbz#156067 don't version the icons
cf86fd0
    sed -i -e "s/ *$PRODUCTVERSION//g" \
fd64338
        -e "s/$ICONVERSION//g" \
fd64338
        -e "s/$PRODUCTVERSIONSHORT//g" \
fd64338
        $file
8076325
done
3818cfc
# rhbz#156677 / rhbz#186515 do not show math and startcenter
3818cfc
sed -i -e /NoDisplay/s/false/true/ math.desktop startcenter.desktop
8076325
# relocate the .desktop and icon files
f21e0d6
install -m 0755 -d %{buildroot}%{_datadir}/applications
6222204
for app in base calc draw impress math startcenter writer xsltfilter; do
a0d2c2d
    sed -i -e 's/\${UNIXBASISROOTNAME}/%{name}/' $app.desktop
89e597a
    desktop-file-validate $app.desktop
f21e0d6
    install -m 0644 -p $app.desktop %{buildroot}%{_datadir}/applications/libreoffice-$app.desktop
8076325
done
8076325
popd
8076325
f8574d3
pushd $WORKDIR/os-integration
8076325
#get rid of the gnome icons and other unneeded files
8076325
rm -rf icons/gnome applications application-registry
8076325
8076325
#relocate the rest of them
9472e15
# rhbz#901346 512x512 icons are not used by anything
9472e15
for icon in `find icons -path '*/512x512' -prune -o -type f -print`; do
f21e0d6
    install -m 0755 -d %{buildroot}%{_datadir}/`dirname $icon`
f21e0d6
    install -m 0644 -p $icon %{buildroot}%{_datadir}/`echo $icon | sed -e s@libreoffice$ICONVERSION-@libreoffice-@ | sed -e s@libreoffice$PRODUCTVERSION-@libreoffice-@`
57c9d18
done
f21e0d6
install -m 0755 -d %{buildroot}%{_datadir}/mime-info
f21e0d6
install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.keys %{buildroot}%{_datadir}/mime-info/libreoffice.keys
f21e0d6
install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.mime %{buildroot}%{_datadir}/mime-info/libreoffice.mime
8076325
#add our mime-types, e.g. for .oxt extensions
f21e0d6
install -m 0755 -d %{buildroot}%{_datadir}/mime/packages
f21e0d6
install -m 0644 -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml
ab3939b
ab3939b
# install LibreOfficeKit
26f8b37
install -m 0755 -d %{buildroot}%{_libdir}/girepository-1.0
f10908f
%if 0%{?fedora}
26f8b37
install -m 0644 -p LOKDocView-%{girapiversion}.typelib %{buildroot}%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
26f8b37
install -m 0755 -d %{buildroot}%{_libdir}/gir-1.0
24ece08
install -m 0644 -p gir-1.0/LOKDocView-%{girapiversion}.gir %{buildroot}%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir
75b3640
mv %{buildroot}%{baseinstdir}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}
f10908f
%endif
8076325
popd
8076325
ab3939b
%if 0%{?fedora}
ab3939b
# install LibreOfficeKit headers
ab3939b
install -m 0755 -d %{buildroot}%{_includedir}/LibreOfficeKit
ab3939b
install -m 0644 -p include/LibreOfficeKit/* %{buildroot}%{_includedir}/LibreOfficeKit
ab3939b
%endif
ab3939b
afd367d
rm -rf %{buildroot}%{baseinstdir}/readmes
afd367d
rm -rf %{buildroot}%{baseinstdir}/licenses
8076325
7d07cf6
# to-do, remove this in libreoffice 4.4 when --without-ppds is gone, it'll do the right thing on its own then
f21e0d6
install -m 0755 -d %{buildroot}%{baseinstdir}/share/psprint/driver
f21e0d6
install -m 0644 -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS
8076325
8076325
# rhbz#452385 to auto have postgres in classpath if subsequently installed
afd367d
sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc
8076325
5ac635d
# move glade catalog to system glade dir
c2c27fc
install -m 0755 -d %{buildroot}%{_datadir}/glade/catalogs
c2c27fc
mv %{buildroot}%{baseinstdir}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade/catalogs
e3a1f36
install -m 0755 -d %{buildroot}%{_datadir}/glade3/catalogs
e3a1f36
ln -sr %{buildroot}%{_datadir}/glade/catalogs/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade3/catalogs
5ac635d
a8a7218
# rhbz#1049543 install appdata
f21e0d6
install -m 0755 -d %{buildroot}%{_datadir}/appdata
f21e0d6
install -m 0644 -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/appdata
a8a7218
e97054c
# rhbz#1215800 install symbolic icons
e97054c
install -m 0755 -d %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
e97054c
install -m 0644 -p %{SOURCE42} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
e97054c
install -m 0644 -p %{SOURCE43} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
e97054c
install -m 0644 -p %{SOURCE44} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
e97054c
install -m 0644 -p %{SOURCE45} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
e97054c
install -m 0644 -p %{SOURCE46} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
e97054c
install -m 0644 -p %{SOURCE47} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
e97054c
install -m 0644 -p %{SOURCE48} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
e97054c
596b501
# install man pages
afd367d
install -m 0755 -d %{buildroot}%{_mandir}/man1
afd367d
install -m 0644 -p sysui/desktop/man/*.1 %{buildroot}%{_mandir}/man1
596b501
for app in oobase oocalc oodraw ooffice ooimpress oomath ooviewdoc oowriter openoffice.org soffice; do
596b501
    echo '.so man1/libreoffice.1' > $app.1
afd367d
    install -m 0644 -p $app.1 %{buildroot}%{_mandir}/man1
596b501
done
596b501
afd367d
export DESTDIR=%{buildroot}
1db6f6a
./solenv/bin/install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb
14d4997
a5f2c4f
%if 0%{?fedora}
Richard Hughes f913611
# Update the screenshot shown in the software center
Richard Hughes f913611
#
Richard Hughes f913611
# NOTE: It would be *awesome* if this file was pushed upstream.
Richard Hughes f913611
#
Richard Hughes f913611
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
Richard Hughes f913611
#
9f7cddd
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-writer.appdata.xml \
Richard Hughes f913611
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/a.png \
Richard Hughes f913611
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/b.png 
9f7cddd
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-calc.appdata.xml \
Richard Hughes f913611
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-calc/a.png 
9f7cddd
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-draw.appdata.xml \
Richard Hughes f913611
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-draw/a.png 
9f7cddd
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-impress.appdata.xml \
Richard Hughes f913611
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-impress/a.png 
a5f2c4f
%endif
e400f26
96f3a4e
# rhbz#1247399 - move stable API jars to noarch java location
96f3a4e
install -m 0755 -d %{buildroot}%{_javadir}/%{name}
96f3a4e
for jar in %{buildroot}%{baseinstdir}/program/classes/*.jar; do
96f3a4e
    j=`basename $jar`
96f3a4e
    case ${j%.jar} in
96f3a4e
        juh|jurt|ridl|unoloader|unoil|officebean)
96f3a4e
            mv $jar %{buildroot}%{_javadir}/%{name}
96f3a4e
            ln -sr %{buildroot}%{_javadir}/%{name}/$j $jar
96f3a4e
            ;;
96f3a4e
    esac
96f3a4e
done
96f3a4e
9269ab6
%check
9269ab6
unset WITH_LANG
9269ab6
# work around flawed accessibility check
9269ab6
export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1"
afd367d
export OOO_TEST_SOFFICE=path:%{buildroot}%{baseinstdir}/program/soffice
aedda92
# timeout -k 2m 2h make smoketest.subsequentcheck
9269ab6
# we don't need this anymore
afd367d
rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
8076325
cf7004f
%files
cf7004f
c912544
%files filters
c912544
8076325
%files core
042e702
%dir %{baseinstdir}
042e702
%dir %{baseinstdir}/help
357c522
%if !0%{?armhack}
6222204
%docdir %{baseinstdir}/help/en-US
6222204
%dir %{baseinstdir}/help/en-US
6222204
%{baseinstdir}/help/en-US/default.css
6222204
%{baseinstdir}/help/en-US/err.html
6222204
%{baseinstdir}/help/en-US/highcontrast1.css
6222204
%{baseinstdir}/help/en-US/highcontrast2.css
6222204
%{baseinstdir}/help/en-US/highcontrastblack.css
6222204
%{baseinstdir}/help/en-US/highcontrastwhite.css
6222204
%{baseinstdir}/help/en-US/sbasic.*
6222204
%{baseinstdir}/help/en-US/schart.*
6222204
%{baseinstdir}/help/en-US/shared.*
357c522
%endif
042e702
%{baseinstdir}/help/idxcaption.xsl
042e702
%{baseinstdir}/help/idxcontent.xsl
042e702
%{baseinstdir}/help/main_transform.xsl
042e702
%{baseinstdir}/presets
042e702
%dir %{baseinstdir}/program
6222204
%{baseinstdir}/program/libbasprovlo.so
6222204
%{baseinstdir}/program/libcairocanvaslo.so
6222204
%{baseinstdir}/program/libcanvasfactorylo.so
042e702
%dir %{baseinstdir}/program/classes
042e702
%{baseinstdir}/program/classes/commonwizards.jar
042e702
%{baseinstdir}/program/classes/form.jar
042e702
%{baseinstdir}/program/classes/query.jar
042e702
%{baseinstdir}/program/classes/report.jar
042e702
%{baseinstdir}/program/classes/ScriptFramework.jar
042e702
%{baseinstdir}/program/classes/ScriptProviderForJava.jar
042e702
%{baseinstdir}/program/classes/table.jar
042e702
%{baseinstdir}/program/classes/unoil.jar
042e702
%{baseinstdir}/program/classes/XMergeBridge.jar
042e702
%{baseinstdir}/program/classes/xmerge.jar
6222204
%{baseinstdir}/program/libcmdmaillo.so
042e702
%{baseinstdir}/program/libdeployment.so
042e702
%{baseinstdir}/program/libdeploymentgui.so
6222204
%{baseinstdir}/program/libdlgprovlo.so
6222204
%{baseinstdir}/program/libexpwraplo.so
8dd8adf
%{baseinstdir}/program/flat_logo.svg
6222204
%{baseinstdir}/program/libfps_officelo.so
57327c2
%{baseinstdir}/program/gdbtrace
36aefe0
%{baseinstdir}/program/gengal
36aefe0
%{baseinstdir}/program/gengal.bin
6222204
%{baseinstdir}/program/libi18nsearchlo.so
6222204
%{baseinstdir}/program/libldapbe2lo.so
283df42
%{baseinstdir}/program/libacclo.so
042e702
%{baseinstdir}/program/libavmedia*.so
283df42
%{baseinstdir}/program/libbasctllo.so
283df42
%{baseinstdir}/program/libbiblo.so
042e702
%{baseinstdir}/program/libcached1.so
283df42
%{baseinstdir}/program/libcanvastoolslo.so
283df42
%{baseinstdir}/program/libchart*lo.so
266cb4a
%{baseinstdir}/program/libclewlo.so
042e702
%{baseinstdir}/program/libcollator_data.so
283df42
%{baseinstdir}/program/libcppcanvaslo.so
283df42
%{baseinstdir}/program/libctllo.so
283df42
%{baseinstdir}/program/libcuilo.so
283df42
%{baseinstdir}/program/libdbalo.so
283df42
%{baseinstdir}/program/libdbaselo.so
283df42
%{baseinstdir}/program/libdbaxmllo.so
283df42
%{baseinstdir}/program/libdbmmlo.so
042e702
%{baseinstdir}/program/libdbpool2.so
283df42
%{baseinstdir}/program/libdbtoolslo.so
283df42
%{baseinstdir}/program/libdbulo.so
283df42
%{baseinstdir}/program/libdeploymentmisclo.so
283df42
%{baseinstdir}/program/libdesktop_detectorlo.so
042e702
%{baseinstdir}/program/libdict_ja.so
042e702
%{baseinstdir}/program/libdict_zh.so
283df42
%{baseinstdir}/program/libdrawinglayerlo.so
283df42
%{baseinstdir}/program/libeditenglo.so
042e702
%{baseinstdir}/program/libembobj.so
23c1c9f
%{baseinstdir}/program/libemboleobj.so
042e702
%{baseinstdir}/program/libevoab*.so
283df42
%{baseinstdir}/program/libevtattlo.so
65e459e
%{baseinstdir}/program/libgielo.so
283df42
%{baseinstdir}/program/libicglo.so
042e702
%{baseinstdir}/program/libindex_data.so
283df42
%{baseinstdir}/program/libfilelo.so
283df42
%{baseinstdir}/program/libfilterconfiglo.so
283df42
%{baseinstdir}/program/libflatlo.so
283df42
%{baseinstdir}/program/libfrmlo.so
ab6007e
%if 0%{?rhel}
7f35fdb
%{baseinstdir}/program/libstaroffice-0.0-lo.so.*
ef18634
%{baseinstdir}/program/libwps-0.4-lo.so.*
ab6007e
%endif
283df42
%{baseinstdir}/program/libguesslanglo.so
283df42
%{baseinstdir}/program/libhelplinkerlo.so
283df42
%{baseinstdir}/program/libhyphenlo.so
283df42
%{baseinstdir}/program/libjdbclo.so
283df42
%{baseinstdir}/program/liblnglo.so
283df42
%{baseinstdir}/program/libloglo.so
042e702
%{baseinstdir}/program/liblocaledata_en.so
042e702
%{baseinstdir}/program/liblocaledata_es.so
042e702
%{baseinstdir}/program/liblocaledata_euro.so
042e702
%{baseinstdir}/program/liblocaledata_others.so
042e702
%{baseinstdir}/program/libmcnttype.so
0053515
%{baseinstdir}/program/libmorklo.so
a0d2c2d
%{baseinstdir}/program/libmozbootstraplo.so
283df42
%{baseinstdir}/program/libmsfilterlo.so
6222204
%{baseinstdir}/program/libmtfrendererlo.so
283df42
%{baseinstdir}/program/libmysqllo.so
283df42
%{baseinstdir}/program/libodbclo.so
a0d2c2d
%{baseinstdir}/program/liboglcanvaslo.so
283df42
%{baseinstdir}/program/liboffacclo.so
283df42
%{baseinstdir}/program/libooxlo.so
266cb4a
%{baseinstdir}/program/libopencllo.so
283df42
%{baseinstdir}/program/libpcrlo.so
283df42
%{baseinstdir}/program/libpdffilterlo.so
283df42
%{baseinstdir}/program/libprotocolhandlerlo.so
042e702
%{baseinstdir}/program/librecentfile.so
283df42
%{baseinstdir}/program/libreslo.so
283df42
%{baseinstdir}/program/libsaxlo.so
283df42
%{baseinstdir}/program/libscnlo.so
042e702
%{baseinstdir}/program/libscriptframe.so
283df42
%{baseinstdir}/program/libsdlo.so
283df42
%{baseinstdir}/program/libsdfiltlo.so
042e702
%{baseinstdir}/program/libsdbc2.so
79bf9ca
%{baseinstdir}/program/libsdbtlo.so
283df42
%{baseinstdir}/program/libsddlo.so
283df42
%{baseinstdir}/program/libsduilo.so
283df42
%{baseinstdir}/program/libspelllo.so
042e702
%{baseinstdir}/program/libsrtrs1.so
ca8f0c1
%{baseinstdir}/program/libstoragefdlo.so
402ae8c
%{baseinstdir}/program/libsvgiolo.so
283df42
%{baseinstdir}/program/libsvxlo.so
283df42
%{baseinstdir}/program/libsvxcorelo.so
80b9700
%{baseinstdir}/program/libswdlo.so
283df42
%{baseinstdir}/program/libswlo.so
042e702
%{baseinstdir}/program/libtextconv_dict.so
283df42
%{baseinstdir}/program/libtextconversiondlgslo.so
8dd8adf
%{baseinstdir}/program/libtextfdlo.so
283df42
%{baseinstdir}/program/libodfflatxmllo.so
6222204
# TODO: shouldn't it have lo suffix?
6222204
%{baseinstdir}/program/libucbhelper.so
042e702
%{baseinstdir}/program/libucpchelp1.so
042e702
%{baseinstdir}/program/libucpdav1.so
042e702
%{baseinstdir}/program/libucpftp1.so
042e702
%{baseinstdir}/program/libucphier1.so
042e702
%{baseinstdir}/program/libucppkg1.so
283df42
%{baseinstdir}/program/libunordflo.so
042e702
%{baseinstdir}/program/libunopkgapp.so
283df42
%{baseinstdir}/program/libunoxmllo.so
283df42
%{baseinstdir}/program/libuuilo.so
283df42
%{baseinstdir}/program/libvbahelperlo.so
283df42
%{baseinstdir}/program/libxmlfalo.so
283df42
%{baseinstdir}/program/libxmlfdlo.so
283df42
%{baseinstdir}/program/libxoflo.so
042e702
%{baseinstdir}/program/libxsec_fw.so
042e702
%{baseinstdir}/program/libxsec_xmlsec.so
283df42
%{baseinstdir}/program/libxsltdlglo.so
283df42
%{baseinstdir}/program/libxsltfilterlo.so
042e702
%{baseinstdir}/program/libxstor.so
0053515
# TODO how useful this is in Fedora?
6222204
%{baseinstdir}/program/liblosessioninstalllo.so
6222204
%{baseinstdir}/program/libmigrationoo2lo.so
6222204
%{baseinstdir}/program/libmigrationoo3lo.so
6222204
%{baseinstdir}/program/libmsformslo.so
a0e75be
%{baseinstdir}/program/opencl
6d4b076
%dir %{baseinstdir}/program/opengl
f724533
%{baseinstdir}/program/opengl/areaHashCRC64TFragmentShader.glsl
55d104a
%{baseinstdir}/program/opengl/areaScaleFragmentShader.glsl
55d104a
%{baseinstdir}/program/opengl/areaScaleFastFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/backgroundFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/backgroundVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/blendedTextureFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/blendedTextureVertexShader.glsl
5363b1f
%{baseinstdir}/program/opengl/combinedFragmentShader.glsl
5363b1f
%{baseinstdir}/program/opengl/combinedTextureFragmentShader.glsl
5363b1f
%{baseinstdir}/program/opengl/combinedTextureVertexShader.glsl
5363b1f
%{baseinstdir}/program/opengl/combinedVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/commonFragmentShader.glsl
2680297
%{baseinstdir}/program/opengl/commonVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/convolutionFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/debugFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/debugVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/diffTextureFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/dumbVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/dummyVertexShader.glsl
de71f14
%{baseinstdir}/program/opengl/greyscaleFragmentShader.glsl
e0af96c
%{baseinstdir}/program/opengl/invert50FragmentShader.glsl
8501724
%{baseinstdir}/program/opengl/lineFragmentShader.glsl
8501724
%{baseinstdir}/program/opengl/lineVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/linearGradientFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/linearMultiColorGradientFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/linearTwoColorGradientFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/maskedTextureFragmentShader.glsl
f724533
%{baseinstdir}/program/opengl/maskedTextureVertexShader.glsl
2680297
%{baseinstdir}/program/opengl/maskFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/pickingFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/pickingVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/radialGradientFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/radialMultiColorGradientFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/radialTwoColorGradientFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/rectangularMultiColorGradientFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/rectangularTwoColorGradientFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/renderTextureFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/renderTextureVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/replaceColorFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/screenTextFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/screenTextVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/shape3DFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/shape3DFragmentShaderBatch.glsl
6d4b076
%{baseinstdir}/program/opengl/shape3DFragmentShaderBatchScroll.glsl
6d4b076
%{baseinstdir}/program/opengl/shape3DFragmentShaderV300.glsl
6d4b076
%{baseinstdir}/program/opengl/shape3DVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/shape3DVertexShaderBatch.glsl
6d4b076
%{baseinstdir}/program/opengl/shape3DVertexShaderBatchScroll.glsl
6d4b076
%{baseinstdir}/program/opengl/shape3DVertexShaderV300.glsl
6d4b076
%{baseinstdir}/program/opengl/solidFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/symbolFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/symbolVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/textFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/textFragmentShaderBatch.glsl
6d4b076
%{baseinstdir}/program/opengl/textVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/textVertexShaderBatch.glsl
6d4b076
%{baseinstdir}/program/opengl/textureFragmentShader.glsl
6d4b076
%{baseinstdir}/program/opengl/textureVertexShader.glsl
6d4b076
%{baseinstdir}/program/opengl/transformedTextureVertexShader.glsl
ca2b956
%{baseinstdir}/program/types/offapi.rdb
6222204
%{baseinstdir}/program/libpasswordcontainerlo.so
042e702
%{baseinstdir}/program/pagein-common
042e702
%dir %{baseinstdir}/program/resource
042e702
%{baseinstdir}/program/resource/avmediaen-US.res
042e702
%{baseinstdir}/program/resource/accen-US.res
042e702
%{baseinstdir}/program/resource/basctlen-US.res
042e702
%{baseinstdir}/program/resource/biben-US.res
042e702
%{baseinstdir}/program/resource/chartcontrolleren-US.res
042e702
%{baseinstdir}/program/resource/cuien-US.res
042e702
%{baseinstdir}/program/resource/dbaen-US.res
042e702
%{baseinstdir}/program/resource/dbmmen-US.res
042e702
%{baseinstdir}/program/resource/dbuen-US.res
042e702
%{baseinstdir}/program/resource/dbwen-US.res
042e702
%{baseinstdir}/program/resource/deploymenten-US.res
042e702
%{baseinstdir}/program/resource/deploymentguien-US.res
042e702
%{baseinstdir}/program/resource/dkten-US.res
042e702
%{baseinstdir}/program/resource/editengen-US.res
042e702
%{baseinstdir}/program/resource/epsen-US.res
042e702
%{baseinstdir}/program/resource/euren-US.res
042e702
%{baseinstdir}/program/resource/fps_officeen-US.res
042e702
%{baseinstdir}/program/resource/frmen-US.res
042e702
%{baseinstdir}/program/resource/fween-US.res
042e702
%{baseinstdir}/program/resource/galen-US.res
042e702
%{baseinstdir}/program/resource/impen-US.res
042e702
%{baseinstdir}/program/resource/ofaen-US.res
042e702
%{baseinstdir}/program/resource/pcren-US.res
042e702
%{baseinstdir}/program/resource/pdffilteren-US.res
042e702
%{baseinstdir}/program/resource/sben-US.res
8dd8adf
%{baseinstdir}/program/resource/scnen-US.res
042e702
%{baseinstdir}/program/resource/sden-US.res
042e702
%{baseinstdir}/program/resource/sfxen-US.res
042e702
%{baseinstdir}/program/resource/sdbten-US.res
042e702
%{baseinstdir}/program/resource/svlen-US.res
042e702
%{baseinstdir}/program/resource/svten-US.res
042e702
%{baseinstdir}/program/resource/svxen-US.res
042e702
%{baseinstdir}/program/resource/swen-US.res
042e702
%{baseinstdir}/program/resource/tplen-US.res
042e702
%{baseinstdir}/program/resource/uuien-US.res
042e702
%{baseinstdir}/program/resource/upden-US.res
042e702
%{baseinstdir}/program/resource/vclen-US.res
a4b9630
%{baseinstdir}/program/resource/writerperfecten-US.res
042e702
%{baseinstdir}/program/resource/wzien-US.res
042e702
%{baseinstdir}/program/resource/xmlsecen-US.res
042e702
%{baseinstdir}/program/resource/xsltdlgen-US.res
042e702
%{baseinstdir}/program/senddoc
402ae8c
%dir %{baseinstdir}/program/services
ca2b956
%{baseinstdir}/program/services/services.rdb
6222204
%{baseinstdir}/program/libsimplecanvaslo.so
6222204
%{baseinstdir}/program/libslideshowlo.so
042e702
%{baseinstdir}/program/libsofficeapp.so
6222204
%{baseinstdir}/program/libstringresourcelo.so
6222204
%{baseinstdir}/program/libsysshlo.so
6222204
%{baseinstdir}/program/libucpcmis1lo.so
6222204
%{baseinstdir}/program/libucpexpand1lo.so
6222204
%{baseinstdir}/program/libucpextlo.so
5e3fd3b
%{baseinstdir}/program/libucpimagelo.so
6222204
%{baseinstdir}/program/libucptdoc1lo.so
42d103d
%{baseinstdir}/program/lounorc
6222204
%{baseinstdir}/program/libupdatefeedlo.so
042e702
%{baseinstdir}/program/uri-encode
6222204
%{baseinstdir}/program/libvbaeventslo.so
6222204
%{baseinstdir}/program/libvclcanvaslo.so
042e702
%{baseinstdir}/program/versionrc
64e04e1
%{baseinstdir}/program/xid-fullscreen-on-all-monitors
042e702
%dir %{baseinstdir}/share
042e702
%dir %{baseinstdir}/share/Scripts
042e702
%{baseinstdir}/share/Scripts/java
58ec5ff
%dir %{baseinstdir}/share/autotext
dbe428a
%dir %{_datadir}/autocorr
5545ffd
%{baseinstdir}/share/autocorr
58ec5ff
%{baseinstdir}/share/autotext/en-US
042e702
%{baseinstdir}/share/basic
042e702
%dir %{baseinstdir}/share/config
1db6f6a
%{baseinstdir}/share/config/images_breeze.zip
84d23d6
%{baseinstdir}/share/config/images_breeze_dark.zip
dab66d4
%{baseinstdir}/share/config/images_galaxy.zip
042e702
%{baseinstdir}/share/config/images_hicontrast.zip
042e702
%{baseinstdir}/share/config/images_oxygen.zip
a0d2c2d
%{baseinstdir}/share/config/images_sifr.zip
042e702
%{baseinstdir}/share/config/images_tango.zip
042e702
%dir %{baseinstdir}/share/config/soffice.cfg
042e702
%{baseinstdir}/share/config/soffice.cfg/modules
0053515
%{baseinstdir}/share/config/soffice.cfg/*/ui
ed8de09
# UI translations go into langpacks
ea2fb23
%if %{with langpacks}
7f9e50a
%exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/*
7f9e50a
%exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res/*
ea2fb23
%endif
84d23d6
%dir %{baseinstdir}/share/emojiconfig
84d23d6
%{baseinstdir}/share/emojiconfig/emoji.json
8254450
%{baseinstdir}/share/palette
042e702
%{baseinstdir}/share/config/webcast
042e702
%{baseinstdir}/share/config/wizard
042e702
%dir %{baseinstdir}/share/dtd
042e702
%{baseinstdir}/share/dtd/officedocument
042e702
%{baseinstdir}/share/gallery
6222204
%dir %{baseinstdir}/share/labels
6222204
%{baseinstdir}/share/labels/labels.xml
042e702
%dir %{baseinstdir}/share/psprint
042e702
%config %{baseinstdir}/share/psprint/psprint.conf
042e702
%{baseinstdir}/share/psprint/driver
042e702
%dir %{baseinstdir}/share/registry
042e702
%{baseinstdir}/share/registry/gnome.xcd
042e702
%{baseinstdir}/share/registry/lingucomponent.xcd
042e702
%{baseinstdir}/share/registry/main.xcd
042e702
%{baseinstdir}/share/registry/oo-ad-ldap.xcd.sample
042e702
%{baseinstdir}/share/registry/oo-ldap.xcd.sample
042e702
%{baseinstdir}/share/registry/Langpack-en-US.xcd
042e702
%dir %{baseinstdir}/share/registry/res
042e702
%{baseinstdir}/share/registry/res/fcfg_langpack_en-US.xcd
042e702
%dir %{baseinstdir}/share/template
042e702
%{baseinstdir}/share/template/en-US
042e702
%dir %{baseinstdir}/share/template/common
0053515
%{baseinstdir}/share/template/common/internal
ad9fe53
%{baseinstdir}/share/template/common/officorr
ad9fe53
%{baseinstdir}/share/template/common/offimisc
ad9fe53
%{baseinstdir}/share/template/common/personal
ad9fe53
%{baseinstdir}/share/template/common/presnt
6b9c194
%{baseinstdir}/share/template/common/styles
0053515
%{baseinstdir}/share/template/common/wizard
042e702
%{baseinstdir}/share/template/wizard
042e702
%dir %{baseinstdir}/share/wordbook
042e702
%{baseinstdir}/share/wordbook/en-GB.dic
042e702
%{baseinstdir}/share/wordbook/en-US.dic
042e702
%{baseinstdir}/share/wordbook/technical.dic
283df42
%{baseinstdir}/program/liblnthlo.so
8076325
%{_bindir}/unopkg
596b501
%{_mandir}/man1/unopkg.1*
042e702
%{baseinstdir}/program/libxmlsecurity.so
6222204
%{baseinstdir}/program/libconfigmgrlo.so
6222204
%{baseinstdir}/program/libdesktopbe1lo.so
6222204
%{baseinstdir}/program/libfsstoragelo.so
6222204
%{baseinstdir}/program/libi18npoollo.so
283df42
%{baseinstdir}/program/libbasegfxlo.so
6222204
# TODO: shouldn't it have lo suffix?
6222204
%{baseinstdir}/program/libcomphelper.so
283df42
%{baseinstdir}/program/libfwelo.so
283df42
%{baseinstdir}/program/libfwilo.so
283df42
%{baseinstdir}/program/libfwklo.so
283df42
%{baseinstdir}/program/libfwllo.so
283df42
%{baseinstdir}/program/libfwmlo.so
6222204
%{baseinstdir}/program/libi18nlangtag.so
6222204
# TODO: shouldn't it have lo suffix?
6222204
%{baseinstdir}/program/libi18nutil.so
042e702
%{baseinstdir}/program/libpackage2.so
283df42
%{baseinstdir}/program/libsblo.so
283df42
%{baseinstdir}/program/libsfxlo.so
283df42
%{baseinstdir}/program/libsotlo.so
283df42
%{baseinstdir}/program/libspllo.so
283df42
%{baseinstdir}/program/libsvllo.so
283df42
%{baseinstdir}/program/libsvtlo.so
283df42
%{baseinstdir}/program/libtklo.so
283df42
%{baseinstdir}/program/libtllo.so
042e702
%{baseinstdir}/program/libucb1.so
042e702
%{baseinstdir}/program/libucpfile1.so
283df42
%{baseinstdir}/program/libutllo.so
283df42
%{baseinstdir}/program/libvcllo.so
ca8f0c1
%{baseinstdir}/program/libwriterperfectlo.so
0053515
%{baseinstdir}/program/libxmlscriptlo.so
283df42
%{baseinstdir}/program/libxolo.so
6222204
%{baseinstdir}/program/liblocalebe1lo.so
6222204
%{baseinstdir}/program/libucpgio1lo.so
ca2b956
%{baseinstdir}/program/types/oovbaapi.rdb
8076325
#share unopkg
8076325
%dir %{baseinstdir}/share/extensions
8076325
%{baseinstdir}/share/extensions/package.txt
8076325
%{baseinstdir}/program/unopkg
8076325
%{baseinstdir}/program/unopkg.bin
8076325
%{baseinstdir}/program/bootstraprc
8076325
%{baseinstdir}/program/fundamentalrc
8076325
%{baseinstdir}/program/setuprc
8076325
%{baseinstdir}/program/intro.*
8076325
%{baseinstdir}/program/soffice
8076325
%{baseinstdir}/program/soffice.bin
8076325
%{baseinstdir}/program/sofficerc
8076325
%{baseinstdir}/program/unoinfo
042e702
%{baseinstdir}/program/oosplash
457672e
%{baseinstdir}/program/shell/
ca8f0c1
%dir %{baseinstdir}/share/filter
ca8f0c1
%{baseinstdir}/share/filter/oox-drawingml-adj-names
ca8f0c1
%{baseinstdir}/share/filter/oox-drawingml-cs-presets
ca8f0c1
%{baseinstdir}/share/filter/vml-shape-types
8076325
%{baseinstdir}/share/xdg/
8076325
%{baseinstdir}/program/redirectrc
8076325
%{_datadir}/applications/libreoffice-startcenter.desktop
8076325
#launchers
8076325
%{_bindir}/libreoffice
8076325
%{_bindir}/openoffice.org
8076325
%{_bindir}/soffice
8076325
%{_bindir}/ooffice
8076325
%{_bindir}/ooviewdoc
596b501
%{_mandir}/man1/libreoffice.1*
596b501
%{_mandir}/man1/openoffice.org.1*
596b501
%{_mandir}/man1/soffice.1*
596b501
%{_mandir}/man1/ooffice.1*
596b501
%{_mandir}/man1/ooviewdoc.1*
8076325
bd546da
%if ! 0%{?file_triggers}
8076325
%post core
8076325
update-desktop-database %{_datadir}/applications &> /dev/null || :
8076325
8076325
%postun core
8076325
update-desktop-database %{_datadir}/applications &> /dev/null || :
bd546da
%endif
Christopher Aillon 08bde27
8076325
%files base
357c522
%if !0%{?armhack}
6222204
%{baseinstdir}/help/en-US/sdatabase.*
357c522
%endif
042e702
%{baseinstdir}/program/classes/hsqldb.jar
6222204
%{baseinstdir}/program/classes/reportbuilder.jar
07665a6
%{baseinstdir}/program/classes/reportbuilderwizard.jar
042e702
%{baseinstdir}/program/classes/sdbc_hsqldb.jar
283df42
%{baseinstdir}/program/libabplo.so
283df42
%{baseinstdir}/program/libdbplo.so
042e702
%{baseinstdir}/program/libhsqldb.so
8dd8adf
%{baseinstdir}/program/librptlo.so
8dd8adf
%{baseinstdir}/program/librptuilo.so
8dd8adf
%{baseinstdir}/program/librptxmllo.so
042e702
%{baseinstdir}/program/resource/abpen-US.res
042e702
%{baseinstdir}/program/resource/cnren-US.res
042e702
%{baseinstdir}/program/resource/dbpen-US.res
042e702
%{baseinstdir}/program/resource/rpten-US.res
042e702
%{baseinstdir}/program/resource/rptuien-US.res
042e702
%{baseinstdir}/program/resource/sdbclen-US.res
042e702
%{baseinstdir}/program/resource/sdberren-US.res
042e702
%{baseinstdir}/share/registry/base.xcd
6222204
%{baseinstdir}/share/registry/reportbuilder.xcd
8076325
%{baseinstdir}/program/sbase
Richard Hughes b67fc84
%{_datadir}/appdata/libreoffice-base.appdata.xml
8076325
%{_datadir}/applications/libreoffice-base.desktop
8076325
%{_bindir}/oobase
596b501
%{_mandir}/man1/oobase.1*
8076325
bd546da
%if ! 0%{?file_triggers}
8076325
%post base
8076325
update-desktop-database %{_datadir}/applications &> /dev/null || :
8076325
8076325
%postun base
8076325
update-desktop-database %{_datadir}/applications &> /dev/null || :
bd546da
%endif
8076325
8076325
%files bsh
40ef2af
%{baseinstdir}/program/classes/ScriptProviderForBeanShell.jar
40ef2af
%{baseinstdir}/program/services/scriptproviderforbeanshell.rdb
042e702
%{baseinstdir}/share/Scripts/beanshell
8076325
8076325
%files rhino
40ef2af
%{baseinstdir}/program/classes/js.jar
40ef2af
%{baseinstdir}/program/classes/ScriptProviderForJavaScript.jar
40ef2af
%{baseinstdir}/program/services/scriptproviderforjavascript.rdb
042e702
%{baseinstdir}/share/Scripts/javascript
8076325
8076325
%files wiki-publisher
8076325
%docdir %{baseinstdir}/share/extensions/wiki-publisher/license
8076325
%{baseinstdir}/share/extensions/wiki-publisher
8076325
445e8d9
%files nlpsolver
445e8d9
%docdir %{baseinstdir}/share/extensions/nlpsolver/help
445e8d9
%{baseinstdir}/share/extensions/nlpsolver
445e8d9
5139033
%files officebean
5139033
%{baseinstdir}/program/classes/officebean.jar
5139033
%{baseinstdir}/program/libofficebean.so
5139033
96f3a4e
%files officebean-common
96f3a4e
%{_javadir}/%{name}/officebean.jar
96f3a4e
8076325
%files ogltrans
6222204
%{baseinstdir}/program/libOGLTranslo.so
5e3fd3b
%{baseinstdir}/program/opengl/basicFragmentShader.glsl
709c6aa
%{baseinstdir}/program/opengl/basicVertexShader.glsl
709c6aa
%{baseinstdir}/program/opengl/dissolveFragmentShader.glsl
5e3fd3b
%{baseinstdir}/program/opengl/fadeBlackFragmentShader.glsl
5e3fd3b
%{baseinstdir}/program/opengl/fadeFragmentShader.glsl
85ff9ac
%{baseinstdir}/program/opengl/glitterFragmentShader.glsl
85ff9ac
%{baseinstdir}/program/opengl/glitterVertexShader.glsl
85ff9ac
%{baseinstdir}/program/opengl/honeycombFragmentShader.glsl
85ff9ac
%{baseinstdir}/program/opengl/honeycombGeometryShader.glsl
85ff9ac
%{baseinstdir}/program/opengl/honeycombVertexShader.glsl
5e3fd3b
%{baseinstdir}/program/opengl/rippleFragmentShader.glsl
5e3fd3b
%{baseinstdir}/program/opengl/reflectionFragmentShader.glsl
5e3fd3b
%{baseinstdir}/program/opengl/reflectionVertexShader.glsl
709c6aa
%{baseinstdir}/program/opengl/staticFragmentShader.glsl
de71f14
%{baseinstdir}/program/opengl/vortexFragmentShader.glsl
de71f14
%{baseinstdir}/program/opengl/vortexGeometryShader.glsl
5e3fd3b
%{baseinstdir}/program/opengl/vortexVertexShader.glsl
042e702
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions-ogl.xml
042e702
%{baseinstdir}/share/registry/ogltrans.xcd
8076325
8076325
%files pdfimport
6222204
%{baseinstdir}/program/libpdfimportlo.so
5f6a514
%{baseinstdir}/program/xpdfimport
5f6a514
%{baseinstdir}/share/registry/pdfimport.xcd
5f6a514
%dir %{baseinstdir}/share/xpdfimport
5f6a514
%{baseinstdir}/share/xpdfimport/xpdfimport_err.pdf
8076325
8076325
%_font_pkg -n %{fontname} opens___.ttf
78c68ee
%doc instdir/LICENSE
8076325
8076325
%files calc
357c522
%if !0%{?armhack}
6222204
%{baseinstdir}/help/en-US/scalc.*
357c522
%endif
283df42
%{baseinstdir}/program/libanalysislo.so
283df42
%{baseinstdir}/program/libcalclo.so
283df42
%{baseinstdir}/program/libdatelo.so
283df42
%{baseinstdir}/program/libforlo.so
283df42
%{baseinstdir}/program/libforuilo.so
8683146
%if 0%{?rhel}
84d23d6
%{baseinstdir}/program/liborcus-0.12.