|
 |
8dd8adf |
# download path contains version without the last (fourth) digit
|
|
 |
1db6f6a |
%define libo_version 5.0.0
|
|
 |
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.
|
|
 |
b5ea680 |
%define libo_prerelease .beta3
|
|
 |
d6f6bbf |
# rhbz#715152 state vendor
|
|
 |
d6f6bbf |
%if 0%{?rhel}
|
|
 |
d6f6bbf |
%define vendoroption --with-vendor="Red Hat, Inc."
|
|
 |
aa7e14e |
%define libo_python3 %{nil}
|
|
 |
aa7e14e |
%define libo_python_sitearch %{python_sitearch}
|
|
 |
d6f6bbf |
%endif
|
|
 |
d6f6bbf |
%if 0%{?fedora}
|
|
 |
aa7e14e |
%define libo_python3 1
|
|
 |
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 |
# limit to fedora, as it breaks building of some bundled projects
|
|
 |
e12d19b |
%if 0%{?fedora}
|
|
 |
fdf0e6e |
# default for f23 onwards
|
|
 |
7c702e2 |
%global _hardened_build 1
|
|
 |
e12d19b |
%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
|
|
 |
1db6f6a |
Version: %{libo_version}.0
|
|
 |
b5ea680 |
Release: 6%{?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
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
Richard Hughes |
0a4885c |
URL: http://www.libreoffice.org/
|
|
 |
a881c9f |
|
|
 |
a2f244f |
Source0: %{source_url}/libreoffice-%{version}%{?libo_prerelease}.tar.xz
|
|
 |
01d7644 |
Source1: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}.tar.xz
|
|
 |
01d7644 |
Source2: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}.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
|
|
 |
47c84f4 |
Source6: %{external_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
|
|
 |
47c84f4 |
Source7: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
|
|
 |
47c84f4 |
Source8: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
|
|
 |
47c84f4 |
|
|
 |
0f970d9 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
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 |
%endif
|
|
 |
36bc8f4 |
|
|
 |
36bc8f4 |
%if 0%{?rhel}
|
|
 |
5c475bf |
Source10: %{external_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
|
|
 |
2ffe239 |
Source11: %{external_url}/594eb47b4b1210e25438d51825404d5a-glew-1.10.0.zip
|
|
 |
2ffe239 |
Source12: %{external_url}/bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip
|
|
 |
2ffe239 |
Source13: %{external_url}/7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2
|
|
 |
35e9270 |
# system mdds 0.10.3 causes a crash in sc_ucalc unit test
|
|
 |
1db6f6a |
Source14: %{external_url}/17edb780d4054e4205cd956910672b83-mdds_0.12.0.tar.bz2
|
|
 |
35e9270 |
%global bundling_options %{?bundling_options} --without-system-ucpp --without-system-glew --without-system-glm --without-system-orcus --without-system-mdds
|
|
 |
35e9270 |
%if 0%{?rhel} < 7
|
|
 |
fc9bf0f |
Source15: %{external_url}/46e92b68e31e858512b680b3b61dc4c1-mythes-1.2.3.tar.gz
|
|
 |
fc9bf0f |
Source16: %{external_url}/32f8e1417a64d3c6f2c727f9053f55ea-redland-1.0.16.tar.gz
|
|
 |
fc9bf0f |
Source17: %{external_url}/4ceb9316488b0ea01acf011023cf7fff-raptor2-2.0.9.tar.gz
|
|
 |
fc9bf0f |
Source18: %{external_url}/b12c5f9cfdb6b04efce5a4a186b8416b-rasqal-0.9.30.tar.gz
|
|
 |
fc9bf0f |
Source19: %{external_url}/ae330b9493bd4503ac390106ff6060d7-libexttextcat-3.4.3.tar.bz2
|
|
 |
785ca3b |
Source20: %{external_url}/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
|
|
 |
785ca3b |
Source21: %{external_url}/lcms2-2.6.tar.gz
|
|
 |
785ca3b |
Source22: %{external_url}/36271d3fa0d9dec1632029b6d7aac925-liblangtag-0.5.1.tar.bz2
|
|
 |
785ca3b |
Source23: %{external_url}/d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2
|
|
 |
fd5883b |
Source24: %{external_url}/harfbuzz-0.9.40.tar.bz2
|
|
 |
3b240a6 |
Source25: %{external_url}/language-subtag-registry-2014-12-03.tar.bz2
|
|
 |
35e9270 |
%global bundling_options %{?bundling_options} --without-system-mythes --without-system-redland --without-system-libexttextcat --without-system-clucene --without-system-lcms2 --without-system-liblangtag --without-system-boost --without-system-harfbuzz
|
|
 |
785ca3b |
%endif
|
|
 |
3b240a6 |
Source26: %{external_url}/5821b806a98e6c38370970e682ce76e8-libcmis-0.5.0.tar.gz
|
|
 |
eb33ad5 |
Source27: %{external_url}/libcdr-0.1.1.tar.bz2
|
|
 |
a25d8c0 |
Source28: %{external_url}/libwpg-0.3.0.tar.bz2
|
|
 |
a25d8c0 |
Source29: %{external_url}/libwpd-0.10.0.tar.bz2
|
|
 |
fd5883b |
Source30: %{external_url}/libwps-0.4.0.tar.bz2
|
|
 |
6923d67 |
Source31: %{external_url}/libvisio-0.1.1.tar.bz2
|
|
 |
6923d67 |
Source32: %{external_url}/libmspub-0.1.2.tar.bz2
|
|
 |
fd5883b |
Source33: %{external_url}/libodfgen-0.1.4.tar.bz2
|
|
 |
fd5883b |
Source34: %{external_url}/libmwaw-0.3.5.tar.bz2
|
|
 |
fd5883b |
Source35: %{external_url}/libetonyek-0.1.2.tar.bz2
|
|
 |
a25d8c0 |
Source36: %{external_url}/libfreehand-0.1.0.tar.bz2
|
|
 |
6923d67 |
Source37: %{external_url}/libabw-0.1.1.tar.bz2
|
|
 |
6923d67 |
Source38: %{external_url}/librevenge-0.0.2.tar.bz2
|
|
 |
268ab33 |
Source39: %{external_url}/libpagemaker-0.0.2.tar.bz2
|
|
 |
268ab33 |
%global bundling_options %{?bundling_options} --without-system-libcmis --without-system-libcdr --without-system-libwpg --without-system-libwpd --without-system-libwps --without-system-libvisio --without-system-libmspub --without-system-libodfgen --without-system-libmwaw --without-system-libetonyek --without-system-libfreehand --without-system-libabw --without-system-librevenge --without-system-libpagemaker
|
|
 |
268ab33 |
%endif
|
|
 |
268ab33 |
|
|
 |
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 |
|
|
 |
a484797 |
# build tools
|
|
 |
a484797 |
BuildRequires: autoconf
|
|
 |
a484797 |
BuildRequires: automake
|
|
 |
a484797 |
BuildRequires: bc
|
|
 |
a484797 |
BuildRequires: binutils
|
|
 |
a484797 |
BuildRequires: bison
|
|
 |
9b1eb33 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
9b1eb33 |
BuildRequires: devtoolset-2-binutils
|
|
 |
9b1eb33 |
BuildRequires: devtoolset-2-gcc-c++
|
|
 |
9b1eb33 |
%endif
|
|
 |
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(Archive::Zip)
|
|
 |
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
|
|
 |
a484797 |
BuildRequires: cups-devel
|
|
 |
5269050 |
BuildRequires: expat-devel
|
|
 |
a484797 |
BuildRequires: fontpackages-devel
|
|
 |
e8ed230 |
BuildRequires: hyphen-devel
|
|
 |
e8ed230 |
BuildRequires: libicu-devel
|
|
 |
e8ed230 |
BuildRequires: lpsolve-devel
|
|
 |
e8ed230 |
BuildRequires: openldap-devel
|
|
 |
e8ed230 |
BuildRequires: pam-devel
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(cppunit)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(dbus-glib-1)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(evolution-data-server-1.2)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(freetype2)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(gconf-2.0)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(glu)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(hunspell)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(ice)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libcurl)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libidn)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libxml-2.0)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libxslt)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(neon)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(nss)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(poppler)
|
|
 |
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)
|
|
 |
e8ed230 |
BuildRequires: unixODBC-devel
|
|
 |
e8ed230 |
BuildRequires: vigra-devel
|
|
 |
e8ed230 |
|
|
 |
e8ed230 |
# libs / headers - conditional
|
|
 |
a0d2c2d |
%if 0%{?fedora}
|
|
 |
e8ed230 |
BuildRequires: firebird-devel
|
|
 |
e8ed230 |
BuildRequires: firebird-libfbembed
|
|
 |
e8ed230 |
BuildRequires: glm-devel
|
|
 |
e8ed230 |
BuildRequires: kdelibs4-devel
|
|
 |
038a8bf |
BuildRequires: openCOLLADA-devel
|
|
 |
6629402 |
BuildRequires: pkgconfig(glew) >= 1.10.0
|
|
 |
06c1cda |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libabw-0.1)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libcdr-0.1)
|
|
 |
3b240a6 |
BuildRequires: pkgconfig(libcmis-0.5)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libe-book-0.1)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(libeot)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libetonyek-0.1)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libfreehand-0.1)
|
|
 |
49fb7d0 |
BuildRequires: pkgconfig(libgltf-0.0)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libmspub-0.1)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libmwaw-0.3)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libodfgen-0.1)
|
|
 |
fc9bf0f |
BuildRequires: pkgconfig(liborcus-0.8)
|
|
 |
42d103d |
BuildRequires: pkgconfig(libpagemaker-0.0)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(librevenge-0.0)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libvisio-0.1)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libwpd-0.10)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libwpg-0.3)
|
|
 |
fd5883b |
BuildRequires: pkgconfig(libwps-0.4)
|
|
 |
1db6f6a |
BuildRequires: pkgconfig(mdds) >= 0.12.0
|
|
 |
fb9ee00 |
%endif
|
|
 |
e8ed230 |
|
|
 |
aab62f3 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
e8ed230 |
BuildRequires: boost-devel
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(graphite2)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(harfbuzz)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(lcms2)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libclucene-core)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(libexttextcat)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(liblangtag)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(mythes)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(poppler-cpp)
|
|
 |
e8ed230 |
BuildRequires: postgresql-devel
|
|
 |
82f2389 |
%endif
|
|
 |
e8ed230 |
|
|
 |
e8ed230 |
# libs / headers - special cases
|
|
 |
e8ed230 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
e8ed230 |
BuildRequires: gstreamer-devel
|
|
 |
e8ed230 |
BuildRequires: gstreamer-plugins-base-devel
|
|
 |
e8ed230 |
%else
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
|
 |
e8ed230 |
%endif
|
|
 |
e8ed230 |
|
|
 |
5506cea |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
5ddafd9 |
BuildRequires: libjpeg-turbo-devel
|
|
 |
5506cea |
%else
|
|
 |
5506cea |
BuildRequires: libjpeg-devel
|
|
 |
82f2389 |
%endif
|
|
 |
e8ed230 |
|
|
 |
aab62f3 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(bluez)
|
|
 |
e8ed230 |
%else
|
|
 |
e8ed230 |
%ifnarch s390 s390x
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(bluez)
|
|
 |
82f2389 |
%endif
|
|
 |
82f2389 |
%endif
|
|
 |
e8ed230 |
|
|
 |
aa7e14e |
%if 0%{libo_python3}
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(python3)
|
|
 |
aa7e14e |
%else
|
|
 |
0a0d0fc |
BuildRequires: python-devel
|
|
 |
f3c3b6d |
%endif
|
|
 |
a484797 |
|
|
 |
a484797 |
# java stuff
|
|
 |
a484797 |
BuildRequires: ant
|
|
 |
c2ed6a9 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
82f2389 |
BuildRequires: jakarta-commons-codec
|
|
 |
82f2389 |
BuildRequires: jakarta-commons-lang
|
|
 |
82f2389 |
%else
|
|
 |
a484797 |
BuildRequires: apache-commons-codec
|
|
 |
a484797 |
BuildRequires: apache-commons-lang
|
|
 |
82f2389 |
%endif
|
|
 |
a484797 |
BuildRequires: bsh
|
|
 |
c2ed6a9 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
82f2389 |
BuildRequires: hsqldb
|
|
 |
82f2389 |
%endif
|
|
 |
60d4293 |
BuildRequires: java-devel
|
|
 |
a484797 |
BuildRequires: jakarta-commons-httpclient
|
|
 |
aab62f3 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
a484797 |
BuildRequires: junit
|
|
 |
82f2389 |
%endif
|
|
 |
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 |
|
|
 |
cf7004f |
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
|
|
 |
cf7004f |
Requires: %{name}-calc = %{epoch}:%{version}-%{release}
|
|
 |
cf7004f |
Requires: %{name}-impress = %{epoch}:%{version}-%{release}
|
|
 |
cf7004f |
Requires: %{name}-draw = %{epoch}:%{version}-%{release}
|
|
 |
cf7004f |
Requires: %{name}-math = %{epoch}:%{version}-%{release}
|
|
 |
cf7004f |
Requires: %{name}-base = %{epoch}:%{version}-%{release}
|
|
 |
cf7004f |
Requires: %{name}-emailmerge = %{epoch}:%{version}-%{release}
|
|
 |
cf7004f |
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
373c53a |
Patch0: openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
373c53a |
Patch1: openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
373c53a |
Patch2: libreoffice-installfix.patch
|
|
 |
373c53a |
%if 0%{?rhel}
|
|
 |
373c53a |
%if 0%{?rhel} < 7
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
aaab1af |
Patch4: libreoffice-rhel6gcj.patch
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
aaab1af |
Patch5: libreoffice-rhel6poppler.patch
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
aaab1af |
Patch6: libreoffice-rhel6langs.patch
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
aaab1af |
Patch7: libreoffice-rhel6glib.patch
|
|
 |
18d8d86 |
# not upstreamed
|
|
 |
57b2800 |
Patch8: 0001-disable-failing-test-on-rhel-6.patch
|
|
 |
ca8f0c1 |
%endif
|
|
 |
04b03c5 |
# not upstreamed
|
|
 |
d0c0791 |
Patch10: 0001-disable-libe-book-support.patch
|
|
 |
cac2268 |
%endif
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
8484f73 |
Patch12: 0001-Resolves-rhbz-1035092-no-shortcut-key-for-Italian-To.patch
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
8484f73 |
Patch13: 0001-disable-firebird-unit-test.patch
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
8484f73 |
Patch14: 0001-never-run-autogen.sh.patch
|
|
 |
ca8f0c1 |
# not upstreamed
|
|
 |
8484f73 |
Patch15: 0001-add-X-TryExec-entries-to-desktop-files.patch
|
|
 |
452553c |
# not upstreamed
|
|
 |
8484f73 |
Patch16: 0001-disable-PSD-import-test-which-deadlocks-on-ARM.patch
|
|
 |
94f0bb8 |
# upstreamed
|
|
 |
94f0bb8 |
Patch17: 0001-Resolves-tdf-89905-don-t-copy-palettes-from-shared-t.patch
|
|
 |
6af1c7f |
Patch18: 0001-Resolves-tdf-49407-enable-CaseMap-property-in-impres.patch
|
|
 |
8076325 |
|
|
 |
8076325 |
%define instdir %{_libdir}
|
|
 |
8076325 |
%define baseinstdir %{instdir}/libreoffice
|
|
 |
042e702 |
%define sdkinstdir %{baseinstdir}/sdk
|
|
 |
8076325 |
%define fontname opensymbol
|
|
 |
8076325 |
|
|
 |
65261ea |
# rhbz#1085420 make sure we do not provide bundled libraries
|
|
 |
6a4050b |
%if 0%{?rhel}
|
|
 |
4d54e23 |
%global libo_bundled_libs_common etonyek-0.1\\|GLEW\\|mwaw-0.3\\|odfgen-0.1\\|revenge-0.0\\|wpd-0.10\\|wpg-0.3\\|wps-0.4
|
|
 |
70d2be5 |
%if 0%{?rhel} < 7
|
|
 |
65261ea |
# redland libs are already suffixed -> no need to filter them too
|
|
 |
80b7f4d |
%global libo_bundled_libs_filter /^lib\\(clucene\\|lcms2\\|%libo_bundled_libs_common\\)\\.so.*$/d
|
|
 |
65261ea |
%filter_from_provides %{libo_bundled_libs_filter}
|
|
 |
65261ea |
%filter_from_requires %{libo_bundled_libs_filter}
|
|
 |
65261ea |
%filter_setup
|
|
 |
70d2be5 |
%else
|
|
 |
80b7f4d |
%global libo_bundled_libs_filter ^lib\\(%libo_bundled_libs_common\\)\\.so.*$
|
|
 |
70d2be5 |
%global __provides_exclude %{libo_bundled_libs_filter}
|
|
 |
70d2be5 |
%global __requires_exclude %{libo_bundled_libs_filter}
|
|
 |
70d2be5 |
%endif
|
|
 |
65261ea |
%endif
|
|
 |
65261ea |
|
|
 |
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
|
|
 |
c912544 |
Group: Applications/Productivity
|
|
 |
c912544 |
Requires: %{name}-calc = %{epoch}:%{version}-%{release}
|
|
 |
c912544 |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
c912544 |
Requires: %{name}-draw = %{epoch}:%{version}-%{release}
|
|
 |
c912544 |
Requires: %{name}-graphicfilter = %{epoch}:%{version}-%{release}
|
|
 |
c912544 |
Requires: %{name}-impress = %{epoch}:%{version}-%{release}
|
|
 |
c912544 |
Requires: %{name}-math = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
c912544 |
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
|
|
 |
c912544 |
Requires: %{name}-xsltfilter = %{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
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-%{fontname}-fonts = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
Requires: liberation-sans-fonts >= 1.0, liberation-serif-fonts >= 1.0, liberation-mono-fonts >= 1.0
|
|
 |
8076325 |
Requires: dejavu-sans-fonts, dejavu-serif-fonts, dejavu-sans-mono-fonts
|
|
 |
0c51029 |
Requires: google-crosextra-caladea-fonts, google-crosextra-carlito-fonts
|
|
 |
f7506fa |
Requires: hyphen-en, hyphen >= 2.4, autocorr-en
|
|
 |
f7506fa |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
f7506fa |
Requires: hunspell-en
|
|
 |
f7506fa |
%else
|
|
 |
213dc35 |
# rhbz#949106 libreoffice-core drags in both openjdk 1.7.0 and 1.8.0
|
|
 |
3981fec |
Requires: java-headless >= 1:1.6
|
|
 |
f7506fa |
Requires: hunspell-en-US
|
|
 |
f7506fa |
%endif
|
|
 |
8076325 |
Requires(pre): gtk2 >= 2.9.4
|
|
 |
8076325 |
Requires(post): gtk2 >= 2.9.4
|
|
 |
8076325 |
Requires(preun): gtk2 >= 2.9.4
|
|
 |
8076325 |
Requires(postun): gtk2 >= 2.9.4
|
|
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
|
|
 |
453bc22 |
Provides: libreoffice-headless = %{epoch}:%{version}-%{release}
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-core = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-core%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-brand = 1:3.3.0, broffice.org-brand = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-brand%{?_isa} = 1:3.3.0, broffice.org-brand%{?_isa} = 1:3.3.0
|
|
 |
2e69e1d |
Provides: openoffice.org-headless = 1:3.3.0
|
|
 |
2e69e1d |
Provides: openoffice.org-headless%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%description core
|
|
 |
8076325 |
The shared core libraries and support files for LibreOffice.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package pyuno
|
|
 |
8076325 |
Summary: Python support for LibreOffice
|
|
 |
8076325 |
Group: Development/Libraries
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
aa7e14e |
%if 0%{libo_python3}
|
|
 |
aa7e14e |
Requires: python3
|
|
 |
aa7e14e |
%else
|
|
 |
f3c3b6d |
Requires: python
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-pyuno < 1:3.3.1
|
|
 |
aa7e14e |
%endif
|
|
 |
aa7e14e |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-pyuno = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-pyuno%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
e74cb9c |
Requires: pentaho-reporting-flow-engine
|
|
 |
9d4ac2a |
Requires: postgresql-jdbc
|
|
 |
c2ed6a9 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
82f2389 |
Requires: hsqldb
|
|
 |
82f2389 |
%endif
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
98381de |
Requires: %{name}-calc = %{epoch}:%{version}-%{release}
|
|
 |
4fb421c |
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{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
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-base-core = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-base-core%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-base = 1:3.3.0, broffice.org-base = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-base%{?_isa} = 1:3.3.0, broffice.org-base%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-report-builder = 1:3.3.0
|
|
 |
e74cb9c |
Provides: openoffice.org-report-builder%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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 |
Group: Development/Libraries
|
|
 |
8076325 |
Requires: bsh
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-bsh < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-bsh = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-bsh%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%description bsh
|
|
 |
8076325 |
Support BeanShell scripts in LibreOffice.
|
|
 |
8076325 |
|
|
 |
5139033 |
%package officebean
|
|
 |
5139033 |
Summary: JavaBean for LibreOffice Components
|
|
 |
5139033 |
Group: Development/Libraries
|
|
 |
5139033 |
Requires: %{name}-core = %{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 |
|
|
 |
8076325 |
%package rhino
|
|
 |
8076325 |
Summary: JavaScript support for LibreOffice
|
|
 |
8076325 |
Group: Development/Libraries
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-rhino < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-rhino = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-rhino%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
c2ed6a9 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
82f2389 |
Requires: jakarta-commons-codec, jakarta-commons-httpclient
|
|
 |
82f2389 |
Requires: jakarta-commons-lang, jakarta-commons-logging
|
|
 |
82f2389 |
%else
|
|
 |
6c42d87 |
Requires: apache-commons-codec, jakarta-commons-httpclient
|
|
 |
37cb83a |
Requires: apache-commons-lang, apache-commons-logging
|
|
 |
82f2389 |
%endif
|
|
 |
98381de |
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
|
|
 |
01f4c51 |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-wiki-publisher < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-wiki-publisher = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-wiki-publisher%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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
|
|
 |
445e8d9 |
Group: Applications/Productivity
|
|
 |
da679f1 |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
445e8d9 |
Requires: %{name}-calc = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{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
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
da679f1 |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
98381de |
Requires: %{name}-impress = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-ogltrans < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-ogltrans = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-ogltrans%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
da679f1 |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
98381de |
Requires: %{name}-draw = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-pdfimport < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-pdfimport = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-pdfimport%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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 |
Group: User Interface/X
|
|
 |
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
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
f3c3b6d |
Provides: openoffice.org-fonts = 1:3.3.0
|
|
 |
f3c3b6d |
Provides: openoffice.org-opensymbol-fonts = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
4fb421c |
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{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
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-writer-core = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-writer-core%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-writer = 1:3.3.0, broffice.org-writer = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-writer%{?_isa} = 1:3.3.0, broffice.org-writer%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%description writer
|
|
 |
8076325 |
The LibreOffice Word Processor application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package emailmerge
|
|
 |
8076325 |
Summary: Email mail-merge component for LibreOffice
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
|
|
 |
98381de |
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-emailmerge < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-emailmerge = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-emailmerge%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%description emailmerge
|
|
 |
8076325 |
Enables the LibreOffice writer module to mail-merge to email.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package calc
|
|
 |
8076325 |
Summary: LibreOffice Spreadsheet Application
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
4fb421c |
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{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
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-calc-core = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-calc-core%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-calc = 1:3.3.0, broffice.org-calc = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-calc%{?_isa} = 1:3.3.0, broffice.org-calc%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%description calc
|
|
 |
8076325 |
The LibreOffice Spreadsheet application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package draw
|
|
 |
8076325 |
Summary: LibreOffice Drawing Application
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
4fb421c |
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
|
|
 |
98381de |
Requires: %{name}-pdfimport = %{epoch}:%{version}-%{release}
|
|
 |
98381de |
Requires: %{name}-graphicfilter = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{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
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-draw-core = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-draw-core%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-draw = 1:3.3.0, broffice.org-draw = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-draw%{?_isa} = 1:3.3.0, broffice.org-draw%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%description draw
|
|
 |
8076325 |
The LibreOffice Drawing Application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package impress
|
|
 |
8076325 |
Summary: LibreOffice Presentation Application
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
4fb421c |
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{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
|
|
 |
a0d2c2d |
Provides: %{name}-presentation-minimizer%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
b000dc1 |
Provides: %{name}-presenter-screen%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-impress-core = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-impress-core%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-impress = 1:3.3.0, broffice.org-impress = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-impress%{?_isa} = 1:3.3.0, broffice.org-impress%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-presentation-minimizer = 1:3.3.0
|
|
 |
a0d2c2d |
Provides: openoffice.org-presentation-minimizer%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-presenter-screen = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-presenter-screen%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%description impress
|
|
 |
8076325 |
The LibreOffice Presentation Application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package math
|
|
 |
8076325 |
Summary: LibreOffice Equation Editor Application
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
4fb421c |
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{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
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-math-core = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-math-core%{?_isa} = 1:3.3.0
|
|
 |
6b03e64 |
Provides: openoffice.org-math = 1:3.3.0, broffice.org-math = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-math%{?_isa} = 1:3.3.0, broffice.org-math%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%description math
|
|
 |
8076325 |
The LibreOffice Equation Editor Application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package graphicfilter
|
|
 |
8076325 |
Summary: LibreOffice Extra Graphic filters
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-graphicfilter < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-graphicfilter = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-graphicfilter%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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
|
|
 |
8076325 |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-xsltfilter < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-xsltfilter = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-xsltfilter%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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 |
|
|
 |
aab62f3 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
518b615 |
%package postgresql
|
|
 |
518b615 |
Summary: PostgreSQL connector for LibreOffice
|
|
 |
518b615 |
Group: Applications/Productivity
|
|
 |
518b615 |
Requires: %{name}-base = %{epoch}:%{version}-%{release}
|
|
 |
80b9700 |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
518b615 |
Requires: postgresql-libs
|
|
 |
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.
|
|
 |
82f2389 |
%endif
|
|
 |
518b615 |
|
|
 |
cb73e55 |
%package ure
|
|
 |
cb73e55 |
Summary: UNO Runtime Environment
|
|
 |
cb73e55 |
Group: Development/Libraries
|
|
 |
cb73e55 |
#rhbz#1164551 we want to ensure that a libjvm.so of this arch is available
|
|
 |
cb73e55 |
%if 0%{?__isa_bits} == 64
|
|
 |
cb73e55 |
%global mark64 ()(64bit)
|
|
 |
cb73e55 |
%endif
|
|
 |
cb73e55 |
Requires: unzip, libjvm.so%{?mark64}
|
|
 |
cb73e55 |
Obsoletes: openoffice.org-ure < 1:3.3.1
|
|
 |
cb73e55 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
cb73e55 |
Provides: openoffice.org-ure = 1:3.3.0
|
|
 |
cb73e55 |
Provides: openoffice.org-ure%{?_isa} = 1:3.3.0
|
|
 |
cb73e55 |
%endif
|
|
 |
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 |
|
|
 |
8076325 |
%package sdk
|
|
 |
8076325 |
Summary: Software Development Kit for LibreOffice
|
|
 |
8076325 |
Group: Development/Libraries
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
Requires: unzip, java-devel
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-sdk < 1:3.3.1, openoffice.org-devel < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-sdk = 1:3.3.0, openoffice.org-devel = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-sdk%{?_isa} = 1:3.3.0, openoffice.org-devel%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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
|
|
 |
8076325 |
Group: Documentation
|
|
 |
98381de |
Requires: %{name}-sdk = %{epoch}:%{version}-%{release}
|
|
 |
3bafa02 |
Obsoletes: openoffice.org-sdk-doc < 1:3.3.1
|
|
 |
f3c3b6d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
6b03e64 |
Provides: openoffice.org-sdk-doc = 1:3.3.0
|
|
 |
b000dc1 |
Provides: openoffice.org-sdk-doc%{?_isa} = 1:3.3.0
|
|
 |
f3c3b6d |
%endif
|
|
 |
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
|
|
 |
5ac635d |
Group: Development/Libraries
|
|
 |
77258ed |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
cb73e55 |
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
|
|
 |
5ac635d |
Requires: glade3-libgladeui
|
|
 |
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
|
|
 |
a87a076 |
Group: Applications/Productivity
|
|
 |
a87a076 |
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
|
|
 |
a87a076 |
Requires: %{name}-pyuno = %{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 |
|
|
 |
aab62f3 |
%if 0%{?fedora}
|
|
 |
a8a7218 |
|
|
Lukas Tinkl |
c4870bd |
%package kde
|
|
Lukas Tinkl |
c4870bd |
Summary: LibreOffice KDE integration plug-in
|
|
Lukas Tinkl |
c4870bd |
Group: Applications/Productivity
|
|
 |
98381de |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
Lukas Tinkl |
c4870bd |
|
|
Lukas Tinkl |
c4870bd |
%description kde
|
|
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
|
|
 |
06c1cda |
Group: Applications/Productivity
|
|
 |
06c1cda |
Requires: %{name}-core = %{epoch}:%{version}-%{release}
|
|
 |
06c1cda |
|
|
 |
06c1cda |
%description gtk3
|
|
 |
06c1cda |
A plug-in for LibreOffice that enables integration into GTK+ 3 environment.
|
|
 |
06c1cda |
This plugin is experimental and it is not suggested for normal use.
|
|
 |
06c1cda |
|
|
 |
82f2389 |
%endif
|
|
Lukas Tinkl |
c4870bd |
|
|
 |
e400f26 |
%if 0%{?_enable_debug_packages}
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%define debug_package %{nil}
|
|
 |
e400f26 |
%global __debug_package 1
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%package debuginfo
|
|
 |
e400f26 |
Summary: Debug information for package %{name}
|
|
 |
e400f26 |
Group: Development/Debug
|
|
 |
e400f26 |
AutoReqProv: 0
|
|
 |
e400f26 |
Requires: libreoffice-core = %{epoch}:%{version}-%{release}
|
|
 |
e400f26 |
Requires: libreoffice-gdb-debug-support = %{epoch}:%{version}-%{release}
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%description debuginfo
|
|
 |
e400f26 |
This package provides debug information for package %{name}.
|
|
 |
e400f26 |
Debug information is useful when developing applications that use this
|
|
 |
e400f26 |
package or when debugging this package.
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%files debuginfo -f debugfiles.list
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%package gdb-debug-support
|
|
 |
e400f26 |
Summary: Additional support for debugging with gdb
|
|
 |
e400f26 |
Group: Development/Debug
|
|
 |
e400f26 |
Requires: gdb
|
|
 |
e400f26 |
AutoReqProv: 0
|
|
 |
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 \
|
|
 |
2aee8bd |
Group: Applications/Productivity \
|
|
 |
98381de |
Requires: %{name}-core = %{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}} \
|
|
 |
3c53372 |
%{-p:Provides: %{name}-langpack-%{-p*}} \
|
|
 |
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} \
|
|
 |
90dd62c |
%{baseinstdir}/help/%{_langpack_lang} \
|
|
 |
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 |
Group: Applications/Text \
|
|
 |
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 |
|
|
 |
5c97235 |
%langpack -l en -n English -F -H -Y -M -A -E -L en-US -O
|
|
 |
5c97235 |
|
|
 |
8c1a0f3 |
%if %{with langpacks}
|
|
 |
8076325 |
|
|
 |
0dc683a |
%langpack -l af -n Afrikaans -F -H -Y -A -o af_ZA -V -w af_ZA
|
|
 |
0dc683a |
%langpack -l ar -n Arabic -F -H -s ctl -O -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 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
3d61453 |
%langpack -l br -n Breton -F -H
|
|
 |
3d61453 |
%endif
|
|
 |
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
|
|
 |
aab62f3 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
3536b77 |
%langpack -l fa -n Farsi -A -H -Y -s ctl -X
|
|
 |
82f2389 |
%endif
|
|
 |
c2ed6a9 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
3536b77 |
%langpack -l fi -n Finnish -F -A -T -o fi_FI -V -w fi_FI -X
|
|
 |
82f2389 |
%else
|
|
 |
3536b77 |
%langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -o fi_FI -V -w fi_FI -X
|
|
 |
0dc683a |
%endif
|
|
 |
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
|
|
 |
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 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
8ae011d |
%langpack -l kk -n Kazakh -F -H
|
|
 |
8ae011d |
%endif
|
|
 |
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
|
|
 |
3536b77 |
%langpack -l lt -n Lithuanian -F -H -Y -A -o lt_LT -V -w lt_LT -X
|
|
 |
aab62f3 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
90dd62c |
%langpack -l lv -n Latvian -F -H -Y -M
|
|
 |
82f2389 |
%endif
|
|
 |
0dc683a |
%langpack -l mai -n Maithili -F -o mai_IN
|
|
 |
c2ed6a9 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
9e0f6cd |
%langpack -l ms -n Malay -F -H -o ms_MY
|
|
 |
82f2389 |
%endif
|
|
 |
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
|
|
 |
3536b77 |
%langpack -l ro -n Romanian -A -F -H -Y -M -O -X
|
|
 |
0dc683a |
%langpack -l ru -n Russian -F -H -Y -M -A -T -X -O -W
|
|
 |
aab62f3 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
0dc683a |
%langpack -l si -n Sinhalese -F -H -S ctl -T -O
|
|
 |
82f2389 |
%endif
|
|
 |
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
|
|
 |
a0d2c2d |
%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
|
|
 |
0dc683a |
%langpack -l ta -n Tamil -F -H -Y -s ctl -o ta_IN -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
|
|
 |
c2ed6a9 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
4fdd7b6 |
%langpack -l ur -n Urdu -F -H -O -W
|
|
 |
82f2389 |
%endif
|
|
 |
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
|
|
 |
a0d2c2d |
%autocorr -l sr -n Serbian -i sr-Latn
|
|
 |
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
|
|
 |
d08eb20 |
%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 |
|
|
 |
426f7ba |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
426f7ba |
cp -r translations/source/en-GB translations/source/ms
|
|
 |
426f7ba |
cp -r translations/source/en-GB translations/source/ur
|
|
 |
54041dc |
git add -A
|
|
 |
a85919d |
git commit -q -a -m 'fix translations'
|
|
 |
31187dd |
|
|
 |
31187dd |
sed -i -e /CppunitTest_lotuswordpro_test_lotuswordpro/d lotuswordpro/Module_lotuswordpro.mk
|
|
 |
31187dd |
git commit -q -a -m 'disable hanging test'
|
|
 |
13d3627 |
%endif
|
|
 |
a85919d |
|
|
 |
3d62ed1 |
%if 0%{?rhel} && 0%{?rhel} == 7
|
|
 |
15d2c2d |
# at least ppc and s390 fail on this
|
|
 |
3d62ed1 |
sed -i -e /CppunitTest_vcl_outdev/d vcl/Module_vcl.mk
|
|
 |
3d62ed1 |
git commit -q -a -m 'disable failing test'
|
|
 |
3d62ed1 |
%endif
|
|
 |
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
|
|
 |
3bfe04e |
%ifarch s390
|
|
 |
3bfe04e |
# s390 builders 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}
|
|
 |
82f2389 |
%if 0%{?rhel} < 7
|
|
 |
9b1eb33 |
%global devtoolset_path /opt/rh/devtoolset-2/root
|
|
 |
cf6e5f5 |
# make segfaults on parallel build
|
|
 |
268ab33 |
%define distrooptions --disable-eot --disable-gltf --disable-firebird-sdbc --disable-graphite --without-junit --enable-gstreamer-0-10 --disable-gstreamer-1-0 --disable-postgresql-sdbc --enable-python=system --with-system-hsqldb --without-doxygen --with-parallelism=-j1
|
|
 |
9b1eb33 |
export PATH=%{devtoolset_path}%{_bindir}:$PATH
|
|
 |
9b1eb33 |
export LD_LIBRARY_PATH=%{devtoolset_path}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
 |
51f71dc |
|
|
 |
18fa752 |
%ifarch s390 s390x
|
|
 |
18fa752 |
%define archoptions --disable-sdremote-bluetooth
|
|
 |
18fa752 |
%endif
|
|
 |
ecd3075 |
%else # rhel7
|
|
 |
268ab33 |
%define distrooptions --disable-eot --disable-gltf --disable-firebird-sdbc --disable-gstreamer-0-10 --enable-gstreamer-1-0 --with-system-mythes --enable-python=system %{?_smp_mflags:--with-parallelism=%{_smp_mflags}}
|
|
 |
82f2389 |
%endif
|
|
 |
ecd3075 |
%else # fedora
|
|
 |
268ab33 |
%define distrooptions --enable-eot --enable-gtk3 --enable-kde4 --disable-gstreamer-0-10 --enable-gstreamer-1-0 --with-system-mythes --with-system-opencollada %{?_smp_mflags:--with-parallelism=%{_smp_mflags}}
|
|
 |
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 |
|
|
 |
49f62e6 |
%if ! 0%{libo_python3}
|
|
 |
aa7e14e |
export PYTHON=%{_bindir}/python
|
|
 |
1364479 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
aa7e14e |
export PYTHON_CFLAGS=`pkg-config --cflags python`
|
|
 |
aa7e14e |
export PYTHON_LIBS=`pkg-config --libs python`
|
|
 |
1364479 |
%else
|
|
 |
1364479 |
export PYTHON_CFLAGS=`python-config --cflags python`
|
|
 |
1364479 |
export PYTHON_LIBS=`python-config --libs python`
|
|
 |
1364479 |
%endif
|
|
 |
aa7e14e |
%endif
|
|
 |
aa7e14e |
|
|
 |
785ca3b |
# %%if 0%%{?rhel} && 0%%{?rhel} < 7
|
|
 |
8dd8adf |
aclocal -I m4
|
|
 |
8076325 |
autoconf
|
|
 |
785ca3b |
# %endif
|
|
 |
5630996 |
|
|
 |
ca8f0c1 |
# TODO: enable coinmp?
|
|
 |
8dd8adf |
# avoid running autogen.sh on make
|
|
 |
8dd8adf |
touch autogen.lastrun
|
|
 |
8076325 |
%configure \
|
|
 |
c3610e9 |
%vendoroption \
|
|
 |
c3610e9 |
%{?with_lang} \
|
|
 |
ca8f0c1 |
--disable-coinmp \
|
|
 |
c3610e9 |
--disable-fetch-external \
|
|
 |
c3610e9 |
--disable-gnome-vfs \
|
|
 |
ee991b5 |
--disable-openssl \
|
|
 |
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" \
|
|
 |
c3610e9 |
--with-help \
|
|
 |
c3610e9 |
--with-system-dicts \
|
|
 |
c3610e9 |
--with-system-libs \
|
|
 |
5c475bf |
--with-system-ucpp \
|
|
 |
c3610e9 |
--without-fonts \
|
|
 |
c3610e9 |
--without-system-npapi-headers \
|
|
 |
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
|
|
 |
6222204 |
make VERBOSE=true
|
|
 |
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.
|
|
 |
6222204 |
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION WORKDIR
|
|
 |
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
|
|
 |
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," \
|
|
 |
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
|
|
 |
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 |
|
|
 |
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 |
|
|
 |
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
|
|
 |
03df115 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
03df115 |
# rhbz#833512 provide a /usr/bin/openoffice.org-1.9, etc. for backwards compat
|
|
 |
03df115 |
ln -s libreoffice openoffice.org-2.0
|
|
 |
03df115 |
ln -s libreoffice openoffice.org-1.9
|
|
 |
03df115 |
%endif
|
|
 |
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
|
|
 |
8076325 |
popd
|
|
 |
8076325 |
|
|
 |
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
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{_datadir}/glade3/catalogs
|
|
 |
afd367d |
mv %{buildroot}%{baseinstdir}/share/glade/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 |
|
|
 |
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
|
|
 |
9269ab6 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
9269ab6 |
timeout 2h make smoketest.subsequentcheck
|
|
 |
9269ab6 |
%else
|
|
 |
9269ab6 |
timeout -k 2m 2h make smoketest.subsequentcheck
|
|
 |
9269ab6 |
%endif
|
|
 |
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
|
|
 |
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.*
|
|
 |
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
|
|
 |
042e702 |
%{baseinstdir}/program/gnome-open-url
|
|
 |
6222204 |
%{baseinstdir}/program/libi18nsearchlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libldapbe2lo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libacclo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libavmedia*.so
|
|
 |
2e69e1d |
%{baseinstdir}/program/libbasebmplo.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
|
|
 |
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
|
|
 |
283df42 |
%{baseinstdir}/program/libegilo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libemelo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libepblo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libepglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libepplo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libepslo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libeptlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/liberalo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libetilo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libexplo.so
|
|
 |
99e059b |
%if 0%{?fedora}
|
|
 |
a0d2c2d |
%{baseinstdir}/program/libfirebird_sdbclo.so
|
|
 |
99e059b |
%endif
|
|
 |
283df42 |
%{baseinstdir}/program/libicdlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libicglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libidxlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libimelo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libindex_data.so
|
|
 |
283df42 |
%{baseinstdir}/program/libipblo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libipdlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libipslo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libiptlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libipxlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libiralo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libitglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libitilo.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}
|
|
 |
4a126f4 |
%{baseinstdir}/program/libetonyek-0.1.so.*
|
|
 |
ab6007e |
%{baseinstdir}/program/libGLEW.so.*
|
|
 |
3536b77 |
%{baseinstdir}/program/libmwaw-0.3.so.*
|
|
 |
785ca3b |
%{baseinstdir}/program/libodfgen-0.1.so.*
|
|
 |
785ca3b |
%{baseinstdir}/program/librevenge-0.0.so.*
|
|
 |
9194df8 |
%{baseinstdir}/program/libwpd-0.10.so.*
|
|
 |
9194df8 |
%{baseinstdir}/program/libwpg-0.3.so.*
|
|
 |
84ac4f3 |
%{baseinstdir}/program/libwps-0.4.so.*
|
|
 |
ab6007e |
%endif
|
|
 |
283df42 |
%{baseinstdir}/program/libguesslanglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libhelplinkerlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libhyphenlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libjdbclo.so
|
|
 |
42d103d |
# TODO: move elsewhere?
|
|
 |
42d103d |
%{baseinstdir}/program/liblibreofficekitgtk.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
|
|
 |
283df42 |
%{baseinstdir}/program/libpcrlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libpdffilterlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libpllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libprotocolhandlerlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libqstart_gtklo.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/libvclplug_genlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libvclplug_gtklo.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
|
|
 |
049933d |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
 |
0053515 |
# TODO how useful this is in Fedora?
|
|
 |
6222204 |
%{baseinstdir}/program/liblosessioninstalllo.so
|
|
 |
049933d |
%endif
|
|
 |
6222204 |
%{baseinstdir}/program/libmigrationoo2lo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libmigrationoo3lo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libmsformslo.so
|
|
 |
6d4b076 |
%dir %{baseinstdir}/program/opengl
|
|
 |
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
|
|
 |
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
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/linearGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/linearMultiColorGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/linearTwoColorGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/maskedTextureFragmentShader.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
|
|
 |
042e702 |
%{baseinstdir}/program/open-url
|
|
 |
ca2b956 |
%{baseinstdir}/program/types/offapi.rdb
|
|
 |
6222204 |
%{baseinstdir}/program/libpasswordcontainerlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/pagein-common
|
|
 |
042e702 |
%{baseinstdir}/program/pluginapp.bin
|
|
 |
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
|
|
 |
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
|
|
 |
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
|
|
 |
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
|
|
 |
6222204 |
%if %{with langpacks}
|
|
 |
ed8de09 |
# UI translations go into langpacks
|
|
 |
ed8de09 |
%exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res
|
|
 |
6222204 |
%endif
|
|
 |
0053515 |
%{baseinstdir}/share/config/soffice.cfg/*/ui
|
|
 |
6222204 |
%if %{with langpacks}
|
|
 |
ed8de09 |
# UI translations go into langpacks
|
|
 |
ed8de09 |
%exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res
|
|
 |
6222204 |
%endif
|
|
 |
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
|
|
 |
049933d |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
 |
049933d |
%{baseinstdir}/share/liblangtag
|
|
 |
049933d |
%endif
|
|
 |
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
|
|
 |
042e702 |
%{baseinstdir}/share/template/common/layout
|
|
 |
ad9fe53 |
%{baseinstdir}/share/template/common/officorr
|
|
 |
ad9fe53 |
%{baseinstdir}/share/template/common/offimisc
|
|
 |
ad9fe53 |
%{baseinstdir}/share/template/common/personal
|
|
 |
ad9fe53 |
%{baseinstdir}/share/template/common/presnt
|
|
 |
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
|
|
 |
|