2010-10-21 01:05:15 +02:00
#
2011-09-07 17:42:32 +02:00
# spec file for package libreoffice
2010-10-21 01:05:15 +02:00
#
2014-01-02 11:24:51 +01:00
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
2010-10-21 01:05:15 +02:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2014-02-05 09:44:20 +01:00
# vlc is only on 13.1 and later and not for SLE
2014-02-06 15:57:49 +01:00
%if 0%{?suse_version} < 1310
%bcond_with vlc
2014-02-05 09:44:20 +01:00
%else
2014-02-06 15:57:49 +01:00
%bcond_without vlc
2014-02-05 09:44:20 +01:00
%endif
2014-01-02 11:24:51 +01:00
# List of supported langs, populated bellow in the lang macros
%global langpack_langs %{nil}
2011-09-07 17:41:42 +02:00
# extensions
2013-04-17 14:53:49 +02:00
%define ct2n_version 1.3.2
%define numbertext_version 0.9.5
2014-01-02 11:24:51 +01:00
# Urls
%define external_url http://dev-www.libreoffice.org/src/
2014-09-27 17:39:07 +02:00
%define tarball_url http://download.documentfoundation.org/libreoffice/src/4.3.2/
2014-06-16 12:43:39 +02:00
# This is used due to the need for beta releases
2014-01-02 11:24:51 +01:00
Name : libreoffice
2014-09-27 17:39:07 +02:00
Version : 4.3.2.2
2012-03-16 13:17:00 +01:00
Release : 0
2010-10-21 01:05:15 +02:00
Summary : A Free Office Suite (Framework)
2012-04-26 17:35:13 +02:00
License : Apache-2.0 and Artistic-1.0 and BSD-3-Clause and BSD-4-Clause and GPL-2.0+ and LPPL-1.3c and LGPL-2.1+ and LGPL-3.0 and MPL-1.1 and MIT and SUSE-Public-Domain and W3C
2012-03-16 13:17:00 +01:00
Group : Productivity/Office/Suite
2010-12-05 22:38:34 +01:00
Url : http://www.documentfoundation.org/
2014-06-23 13:12:04 +02:00
Source0 : %{tarball_url} /libreoffice-%{version} .tar.xz
Source1 : %{tarball_url} /libreoffice-help-%{version} .tar.xz
Source2 : %{tarball_url} /libreoffice-translations-%{version} .tar.xz
2014-07-11 10:26:42 +02:00
Source99 : %{name} -rpmlintrc
2012-01-20 20:24:03 +01:00
# 256x256 desktop icons (bnc#722644)
Source20 : libreoffice-desktop-icons-256x256.tar.bz2
2011-09-07 17:41:42 +02:00
# Prebuilt sofficerc for the noarch upstream branding package
Source201 : sofficerc-upstream
# helper scripts
2014-01-02 11:24:51 +01:00
# create compat symlinks from %{_datadir} to %{_prefix}/lib(64); used by noarch packages
2011-09-07 17:41:42 +02:00
Source300 : link-to-ooo-home
# prebuilt extensions
2014-01-02 11:24:51 +01:00
Source402 : %{external_url} /b7cae45ad2c23551fd6ccb8ae2c1f59e-numbertext_%{numbertext_version} .oxt
2011-09-07 17:41:42 +02:00
# used extensions sources
2014-01-02 11:24:51 +01:00
Source450 : %{external_url} /451ccf439a36a568653b024534669971-ConvertTextToNumber-%{ct2n_version} .oxt
Source452 : %{external_url} /90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2
# Internal bundled stuff we can't remove
# XMLSec is patched over and over in here
Source2000 : %{external_url} /1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
# To build this we would pull cygwin; not worth it
Source2001 : http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
# hsqldb simply does not work with new system version, but luckily we migrate to firebird
Source2002 : %{external_url} /17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
# Heavily patched and not possible to use system one
Source2003 : %{external_url} /798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
Source2004 : %{external_url} /35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
# Needed for wiki-published and always taken as bundled
Source2005 : %{external_url} /a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
# search help icons in %{_prefix}/share
2011-09-07 17:41:42 +02:00
# FIXME: make it configurable in integrate into git
Patch3 : officecfg-help-in-usr-share.diff
# change user config dir name from ~/.libreoffice/3 to ~/.libreoffice/3-suse
# to avoid BerkleyDB incompatibility with the plain build
2012-06-16 06:56:56 +02:00
# FIXME: make it configurable and push upstream
2011-09-07 17:41:42 +02:00
Patch5 : scp2-user-config-suse.diff
2012-10-31 17:59:37 +01:00
# pack new desktop files
Patch6 : pack-desktop-files-for-optional-filters.diff
2014-01-02 11:24:51 +01:00
# As the patch2 and usr share search is broken we can't do this anymore
2014-01-03 22:05:27 +01:00
# search libreoffice/share/template/common for language independent templates
2012-04-26 17:35:13 +02:00
# FIXME: make it configurable to push upstream
2011-09-07 17:41:42 +02:00
Patch9 : office-cfg-linux-common-template-dir.diff
2013-04-17 14:53:49 +02:00
# correctly bootstrap python stuff with system python (deb#501028, i#90701)
Patch10 : system-pyuno.diff
2011-09-07 17:41:42 +02:00
# do not use the broken help; unopkg complained about it when registering extensions
# FIXME: the right fix is to compile the help and produce the .db_, .ht_, and other files
Patch11 : nlpsolver-no-broken-help.diff
2012-04-04 19:20:25 +02:00
Patch12 : mediawiki-no-broken-help.diff
2014-05-19 10:17:48 +02:00
# LO never worked well with it
2012-06-01 22:31:21 +02:00
Patch13 : jvmfwk-disable-gcj.diff
2014-07-21 09:17:56 +02:00
Patch14 : libreoffice-4.3.0.3-themes-symlinks.patch
2012-11-23 17:08:34 +01:00
# try to save space by using hardlinks
Patch990 : install-with-hardlinks.diff
2014-01-02 11:24:51 +01:00
BuildRequires : ImageMagick
BuildRequires : ant
BuildRequires : ant-apache-regexp
BuildRequires : ant-nodeps
BuildRequires : autoconf
BuildRequires : bison
BuildRequires : bluez-devel
BuildRequires : boost-devel
2014-01-06 20:00:59 +01:00
BuildRequires : bsh2
2014-01-02 11:24:51 +01:00
BuildRequires : clucene-core-devel
BuildRequires : commons-codec
BuildRequires : commons-httpclient
BuildRequires : commons-lang
BuildRequires : commons-logging
BuildRequires : cups-devel
BuildRequires : curl-devel
BuildRequires : db-devel
BuildRequires : dbus-1-glib-devel
2014-01-17 21:19:51 +01:00
BuildRequires : doxygen >= 1.8.4
2014-01-02 11:24:51 +01:00
BuildRequires : fdupes
BuildRequires : flac-devel
BuildRequires : flex
2014-01-26 18:03:23 +01:00
BuildRequires : flute
2014-01-02 11:24:51 +01:00
BuildRequires : gcc-c++
2014-06-17 11:17:28 +02:00
BuildRequires : glew-devel >= 1.10.0
2014-06-16 12:43:39 +02:00
BuildRequires : glm-devel
2014-01-02 11:24:51 +01:00
BuildRequires : glu-devel
BuildRequires : gnome-vfs2-devel
BuildRequires : gperf
BuildRequires : graphite2-devel
BuildRequires : gstreamer-plugins-base-devel
BuildRequires : gtk2-devel
BuildRequires : gtk3-devel
BuildRequires : harfbuzz-devel
BuildRequires : hunspell-devel
BuildRequires : hyphen-devel
BuildRequires : icu
BuildRequires : java-devel >= 1.6
BuildRequires : junit4
BuildRequires : krb5
BuildRequires : krb5-devel
2014-01-17 20:10:21 +01:00
BuildRequires : libabw-devel
2014-01-26 18:03:23 +01:00
BuildRequires : libbase
2014-01-02 11:24:51 +01:00
BuildRequires : libcdr-devel
BuildRequires : libcmis-devel
BuildRequires : libcppunit-devel
BuildRequires : libe-book-devel
2014-01-08 13:50:22 +01:00
# Fonts are needed for tests
BuildRequires : liberation-fonts
2014-01-02 11:24:51 +01:00
BuildRequires : libetonyek-devel
BuildRequires : libexif
BuildRequires : libexpat-devel
BuildRequires : libexttextcat-devel
BuildRequires : libfbembed-devel
2014-01-26 18:03:23 +01:00
BuildRequires : libfonts
BuildRequires : libformula
2014-01-02 11:24:51 +01:00
BuildRequires : libfreehand-devel
2014-09-19 15:53:43 +02:00
BuildRequires : libgltf-devel
2014-01-02 11:24:51 +01:00
BuildRequires : libicu-devel
BuildRequires : libkde4-devel
BuildRequires : liblangtag-devel
2014-01-26 18:03:23 +01:00
BuildRequires : liblayout
2014-01-02 11:24:51 +01:00
BuildRequires : liblcms2-devel
2014-01-26 18:03:23 +01:00
BuildRequires : libloader
2014-01-02 11:24:51 +01:00
BuildRequires : libmspub-devel
BuildRequires : libmwaw-devel
BuildRequires : libmysqlclient-devel
BuildRequires : libmysqlcppconn-devel >= 1.0.6
BuildRequires : libodfgen-devel
2014-06-16 12:43:39 +02:00
BuildRequires : liborcus-devel >= 0.7.0
2014-01-02 11:24:51 +01:00
BuildRequires : libpoppler-devel
BuildRequires : libredland-devel
2014-01-26 18:03:23 +01:00
BuildRequires : librepository
2014-01-02 11:24:51 +01:00
BuildRequires : librsvg-devel
2014-01-26 18:03:23 +01:00
BuildRequires : libserializer
2014-01-02 11:24:51 +01:00
BuildRequires : libtool
BuildRequires : libvisio-devel
BuildRequires : libwpd-devel
BuildRequires : libwpg-devel
BuildRequires : libwps-devel
BuildRequires : libxml2-devel
2014-05-06 22:00:42 +02:00
BuildRequires : libxslt-devel
2014-01-02 11:24:51 +01:00
BuildRequires : lpsolve-devel
BuildRequires : make
BuildRequires : mdds-devel >= 0.8.0
BuildRequires : mozilla-nspr-devel
BuildRequires : mozilla-nss-devel
BuildRequires : mythes-devel
BuildRequires : neon-devel
BuildRequires : npapi-sdk
BuildRequires : openldap2-devel
BuildRequires : pam-devel
BuildRequires : patch
2014-01-26 18:03:23 +01:00
BuildRequires : pentaho-libxml
BuildRequires : pentaho-reporting-flow-engine
2014-01-02 11:24:51 +01:00
BuildRequires : perl-Archive-Zip
BuildRequires : perl-Compress-Zlib
BuildRequires : postgresql-devel
BuildRequires : procps
2014-07-22 23:48:37 +02:00
BuildRequires : python3-devel
BuildRequires : python3-lxml
BuildRequires : python3-xml
2014-01-02 11:24:51 +01:00
BuildRequires : recode
BuildRequires : rhino
2014-01-26 18:03:23 +01:00
BuildRequires : sac
2014-01-02 11:24:51 +01:00
BuildRequires : sane-backends-devel
BuildRequires : telepathy-glib-devel
BuildRequires : ucpp
BuildRequires : unixODBC-devel
BuildRequires : unzip
BuildRequires : vigra-devel
BuildRequires : xml-commons-apis
BuildRequires : xorg-x11
BuildRequires : xorg-x11-fonts
BuildRequires : xz
BuildRequires : zip
2014-07-24 07:18:31 +02:00
BuildRequires : pkgconfig(fbembed)
2014-08-08 14:58:59 +02:00
Requires : google-carlito-fonts
2014-01-02 11:24:51 +01:00
Requires : libreoffice-branding >= 4.0
Requires : libreoffice-icon-themes = %{version}
2014-02-01 12:34:48 +01:00
# We need at least english to launch ourselves.
2014-08-08 14:58:59 +02:00
Requires : liberation-fonts
2014-02-01 12:34:48 +01:00
Requires : libreoffice-l10n-en = %{version}
2014-07-24 10:33:51 +02:00
Requires : python3
2014-01-02 11:24:51 +01:00
Requires(post) : coreutils
Requires(post) : grep
Requires(post) : gtk2
Requires(post) : zip
Requires(postun) : coreutils
Requires(postun) : gtk2
Requires(pre) : findutils
# Remove after 13.1 is out of support scope
Provides : %{name} -draw-extensions = %{version}
Obsoletes : %{name} -draw-extensions < %{version}
# Remove after 13.1 is out of support scope
2014-01-02 16:55:18 +01:00
Provides : %{name} -impress-extensions = %{version}
Obsoletes : %{name} -impress-extensions < %{version}
# Remove after 13.1 is out of support scope
2014-01-03 22:05:27 +01:00
Provides : %{name} -base-extensions = %{version}
Obsoletes : %{name} -base-extensions < %{version}
# Remove after 13.1 is out of support scope
2014-01-02 11:24:51 +01:00
Provides : %{name} -kde = %{version}
Obsoletes : %{name} -kde < %{version}
# Remove after 13.1 is out of support scope
Provides : %{name} -l10n-prebuild = %{version}
Obsoletes : %{name} -l10n-prebuild < %{version}
2010-10-21 01:05:15 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2014-01-02 11:24:51 +01:00
ExclusiveArch : %{arm} %{ix86} x86_64 ppc ppc64
2014-02-12 14:37:15 +01:00
%if %{with vlc}
2014-01-26 18:03:23 +01:00
BuildRequires : vlc-devel
%endif
2014-01-02 11:24:51 +01:00
# we need a JRE for oobase and the other stuff
%ifarch %{ix86}
Recommends: jre-32 >= 1.6
%endif
%ifarch x86_64
Recommends: jre-64 >= 1.6
%endif
%ifarch ppc
Recommends: jre-32 >= 1.6
%endif
2010-10-21 01:05:15 +02:00
%description
2010-12-05 22:38:34 +01:00
LibreOffice is a comprehensive office package featuring a word
2010-10-21 01:05:15 +02:00
processor, a spreadsheet, a presentation program, and much more. This
package provides only the basic framework. You have to install the
additional modules to get the required functionality, see packages:
- libreoffice-base
- libreoffice-calc
- libreoffice-draw
- libreoffice-impress
- libreoffice-math
- libreoffice-writer
Some optional features are provided by extra packages, for example:
- libreoffice-mailmerge
- libreoffice-filters
2014-06-03 09:12:37 +02:00
- libreoffice-kde4
2010-10-21 01:05:15 +02:00
- libreoffice-gnome
2014-02-12 14:37:15 +01:00
Non-English localizations are provided by extra packages as well, for
2010-10-21 01:05:15 +02:00
example:
2014-01-02 11:24:51 +01:00
- libreoffice-l10n-de
- libreoffice-l10n-fr
- libreoffice-l10n-it
2014-01-04 14:57:12 +01:00
%package branding-upstream
Summary : Original Branding for LibreOffice
License : Apache-2.0 and Artistic-1.0 and BSD-3-Clause and BSD-4-Clause and GPL-2.0+ and LPPL-1.3c and LGPL-2.1+ and LGPL-3.0 and MPL-1.1 and MIT and SUSE-Public-Domain and W3C
Group : Productivity/Office/Suite
Supplements: packageand(libreoffice:branding-upstream)
Provides : libreoffice-branding = %{version}
BuildArch : noarch
Conflicts : otherproviders(libreoffice-branding)
%description branding-upstream
This package includes the original branding for the LibreOffice office suite.
2014-01-02 11:24:51 +01:00
%package icon-theme-crystal
Summary : Crystal LibreOffice Icon Theme (KDE3 default)
License : LGPL-2.1
Group : Productivity/Office/Suite
Supplements: packageand(libreoffice:kdebase3-session)
2014-02-01 12:21:51 +01:00
Requires(post) : %{name} = %{version}
2014-04-11 13:45:39 +02:00
Requires(postun) : %{name} = %{version}
2014-01-02 11:24:51 +01:00
Provides : libreoffice-icon-themes = %{version}
Obsoletes : libreoffice-icon-themes < %{version}
BuildArch : noarch
2010-10-21 01:05:15 +02:00
2014-01-02 11:24:51 +01:00
%description icon-theme-crystal
This package provides Crystal LibreOffice icon theme. It is used in KDE3 by default.
2010-10-21 01:05:15 +02:00
2014-01-02 11:24:51 +01:00
%package icon-theme-galaxy
Summary : Galaxy LibreOffice Icon Theme (OOo-3.x default)
License : LGPL-3.0
Group : Productivity/Office/Suite
Supplements: libreoffice
2014-02-01 12:21:51 +01:00
Requires(post) : %{name} = %{version}
2014-04-11 13:45:39 +02:00
Requires(postun) : %{name} = %{version}
2014-01-02 11:24:51 +01:00
Provides : libreoffice-icon-themes = %{version}
Obsoletes : libreoffice-icon-themes < %{version}
BuildArch : noarch
2010-10-21 01:05:15 +02:00
2014-01-02 11:24:51 +01:00
%description icon-theme-galaxy
This package provides Galaxy LibreOffice icon theme. It is used in the original OOo-3.x by default.
%package icon-theme-hicontrast
Summary : Hicontrast LibreOffice Icon Theme
License : LGPL-3.0
Group : Productivity/Office/Suite
Supplements: libreoffice
2014-02-01 12:21:51 +01:00
Requires(post) : %{name} = %{version}
2014-04-11 13:45:39 +02:00
Requires(postun) : %{name} = %{version}
2014-01-02 11:24:51 +01:00
Provides : libreoffice-icon-themes = %{version}
Obsoletes : libreoffice-icon-themes < %{version}
BuildArch : noarch
%description icon-theme-hicontrast
This package provides Hicontrast LibreOffice icon theme.
%package icon-theme-oxygen
Summary : Oxygen LibreOffice Icon Theme (KDE4 default)
License : LGPL-3.0 or CC-BY-SA-3.0
Group : Productivity/Office/Suite
Supplements: packageand(libreoffice:kdebase4-workspace)
2014-02-01 12:21:51 +01:00
Requires(post) : %{name} = %{version}
2014-04-11 13:45:39 +02:00
Requires(postun) : %{name} = %{version}
2014-01-02 11:24:51 +01:00
Provides : libreoffice-icon-themes = %{version}
Obsoletes : libreoffice-icon-themes < %{version}
BuildArch : noarch
%description icon-theme-oxygen
This package provides Oxygen LibreOffice icon theme. It is used in KDE4 by default.
2014-01-25 15:33:55 +01:00
%package icon-theme-sifr
Summary : Sifr LibreOffice Icon Theme
License : LGPL-3.0
Group : Productivity/Office/Suite
Supplements: libreoffice
2014-02-01 12:21:51 +01:00
Requires(post) : %{name} = %{version}
2014-04-11 13:45:39 +02:00
Requires(postun) : %{name} = %{version}
2014-01-25 15:33:55 +01:00
Provides : libreoffice-icon-themes = %{version}
Obsoletes : libreoffice-icon-themes < %{version}
BuildArch : noarch
%description icon-theme-sifr
This package provides Sifr LibreOffice icon theme.
2014-01-02 11:24:51 +01:00
%package icon-theme-tango
Summary : Tango LibreOffice Icon Theme (GNOME default)
License : LGPL-3.0
Group : Productivity/Office/Suite
Supplements: packageand(libreoffice:gnome-session)
2014-02-01 12:21:51 +01:00
Requires(post) : %{name} = %{version}
2014-04-11 13:45:39 +02:00
Requires(postun) : %{name} = %{version}
2014-01-02 11:24:51 +01:00
Provides : libreoffice-icon-themes = %{version}
Obsoletes : libreoffice-icon-themes < %{version}
BuildArch : noarch
%description icon-theme-tango
This package provides Tango LibreOffice icon theme. It is used in GNOME by default
and obsoleted the old Industrial theme.
2010-10-21 01:05:15 +02:00
2011-09-07 17:41:42 +02:00
%package base
Summary : LibreOffice Base
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description base
This module allows you to manage databases, create queries and reports
to track and manage your information by using LibreOffice office
suite.
%package calc
Summary : LibreOffice Calc
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description calc
This module allows you to perform calculation, analyze information and
manage lists in spreadsheets by using LibreOffice office suite.
%package draw
Summary : LibreOffice Draw
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description draw
This module allows you to create and edit drawings, flow charts, and
logos by using LibreOffice office suite.
%package math
Summary : LibreOffice Math
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
%description math
2011-09-07 17:41:42 +02:00
This module allows you to create and edit scientific formulas and
equations by using LibreOffice office suite.
%package impress
Summary : LibreOffice Impress
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description impress
This module allows you to create and edit presentations for slideshows,
meeting and Web pages by using LibreOffice office suite.
%package writer
Summary : LibreOffice Writer and Web
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description writer
This module allows you to create and edit text and graphics in letters,
reports, documents and Web pages by using LibreOffice office suite.
%package base-drivers-postgresql
Summary : PostgreSQL Database Driver for LibreOffice
2012-03-16 13:17:00 +01:00
License : LGPL-2.1+
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
Requires : postgresql
%description base-drivers-postgresql
This package allows to access PostgreSQL databases from LibreOffice
Base.
%package filters-optional
Summary : Additional Import and Export Filters for LibreOffice
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} -calc = %{version}
Requires : %{name} -draw = %{version}
Requires : %{name} -impress = %{version}
Requires : %{name} -math = %{version}
Requires : %{name} -writer = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description filters-optional
This package includes some additional import and export filters for
LibreOffice:
- AportisDoc (Palm)
- Pocket Excel
- Pocket Word
- DocBook
- XHTML
%package mailmerge
Summary : Mail Merge Functionality for LibreOffice
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} -pyuno = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description mailmerge
This module allows you to create form letters or send E-mail messages
to many recipients using LibreOffice office suite.
%package pyuno
Summary : Python UNO Bridge for LibreOffice
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description pyuno
The Python-UNO bridge allows to use the standard LibreOffice API
from the well known Python scripting language. It can be used to
develop UNO components in python, thus python UNO components may be run
within the LibreOffice process and can be called from Java, C++ or
the built in StarBasic scripting language. You can create and invoke
scripts with the office scripting framework (OOo 2.0 and later) with
it. For example, it is used for the mail merge functionality.
You can find the more information at
http://udk.openoffice.org/python/python-bridge.html
%package gnome
Summary : GNOME Extensions for LibreOffice
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2011-09-07 17:41:42 +02:00
%description gnome
This package contains some GNOME extensions for LibreOffice.
%package kde4
Summary : KDE4 Extensions for LibreOffice
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2011-09-07 17:41:42 +02:00
%description kde4
This package contains some KDE4 extensions for LibreOffice.
%package sdk
Summary : LibreOffice SDK
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Documentation/HTML
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2012-03-16 13:17:00 +01:00
Requires : gcc-c++
Requires : make
2014-03-27 10:00:24 +01:00
Requires : ucpp
2012-03-16 13:17:00 +01:00
Requires : zip
2011-09-07 17:41:42 +02:00
Recommends: java-devel
%description sdk
This package contains the files needed to build plugins/add-ons for
LibreOffice. It includes header files, IDL files, needed build
tools, etc.
2013-07-16 18:32:06 +02:00
The documentation is in the package libreoffice-sdk-doc
2011-09-07 17:41:42 +02:00
%package sdk-doc
Summary : LibreOffice SDK Documentation
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Development/Libraries/Other
2014-01-02 11:24:51 +01:00
Suggests : %{name} -sdk = %{version}
Enhances: %{name} -sdk = %{version}
2011-09-07 17:41:42 +02:00
%description sdk-doc
This package includes documentation and examples for the LibreOffice
Software Development Kit (SDK).
%package officebean
Summary : OfficeBean Java Bean component for LibreOffice
2012-03-16 13:17:00 +01:00
License : LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2011-09-07 17:41:42 +02:00
%description officebean
With the OfficeBean, a developer can easily write Java applications,
harnessing the power of LibreOffice. It encapsulates a connection to
a locally running LibreOffice process, and hides the complexity of
establishing and maintaining that connection from the developer.
It also allows embedding of LibreOffice documents within the Java
environment. It provides an interface the developer can use to obtain
Java AWT windows into which the backend LibreOffice process draws
its visual representation. These windows are then plugged into the UI
hierarchy of the hosting Java application. The embedded document is
controlled from the Java environment, since the OfficeBean allows
developers to access the complete LibreOffice API from their Java
environment giving them full control over the embedded document, its
appearance and behavior.
%package base-drivers-mysql
Summary : MySQL Database Driver for LibreOffice
2012-03-16 13:17:00 +01:00
License : GPL-2.0 and LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : libreoffice-base = %{version}
Requires(pre) : libreoffice = %{version}
2011-09-07 17:41:42 +02:00
Supplements: packageand(libreoffice-base:mysql-client)
%description base-drivers-mysql
This package allows to access MySQL databases from LibreOffice
Base.
%package calc-extensions
Summary : LibreOffice Calc Extensions
2012-03-16 13:17:00 +01:00
License : LGPL-2.1+ and LGPL-3.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : libreoffice-calc = %{version}
2011-09-07 17:41:42 +02:00
# pyuno is needed for the numbertext extension
2014-01-02 11:24:51 +01:00
Requires : libreoffice-pyuno = %{version}
Requires(pre) : libreoffice = %{version}
2011-09-07 17:41:42 +02:00
# the watchWindow extension is written in java
2014-01-02 11:24:51 +01:00
%ifarch %{ix86} ppc
2011-09-07 17:41:42 +02:00
Requires : jre-32 > 1.5
2014-01-02 11:24:51 +01:00
Recommends: jre-32 >= 1.6
2011-09-07 17:41:42 +02:00
%endif
%ifarch x86_64
Requires : jre-64 > 1.5
2014-01-02 11:24:51 +01:00
Recommends: jre-64 >= 1.6
2011-09-07 17:41:42 +02:00
%endif
%description calc-extensions
This package provides extensions for LibreOffice Calc:
- Convert Text to Number
- New Functions NUMBERTEXT and MONEYTEXT
- Solver for Nonlinear Programming
%package writer-extensions
Summary : LibreOffice Writer Extensions
2012-03-16 13:17:00 +01:00
License : Apache-2.0 and LGPL-3.0 and CDDL-1.0
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : libreoffice-writer = %{version}
Requires(pre) : libreoffice = %{version}
2011-09-07 17:41:42 +02:00
# the wiki extension is written in java
2014-01-02 11:24:51 +01:00
%ifarch %{ix86} ppc
2011-09-07 17:41:42 +02:00
Requires : jre-32 > 1.5
2014-01-02 11:24:51 +01:00
Recommends: jre-32 >= 1.6
2011-09-07 17:41:42 +02:00
%endif
%ifarch x86_64
Requires : jre-64 > 1.5
2014-01-02 11:24:51 +01:00
Recommends: jre-64 >= 1.6
2011-09-07 17:41:42 +02:00
%endif
%description writer-extensions
This package provides extensions for LibreOffice Writer:
- MediaWiki Publisher
2014-05-05 15:52:23 +02:00
# Symlink autocorr files for various conversion items
%define make_autocorr_aliases(l:) \
%{?-l: \
for lang in %{*}; do \
ln -sf acor_%{-l*}.dat %{buildroot} %{_libdir} /%{name} /share/autocorr/acor_$lang.dat \
done \
} \
%{!?-l:%{error:-l must be present}}
2014-01-31 14:44:47 +01:00
# Symlinking macro for /usr/lib64 and /usr/share packing
# As argument takes name of the package
%define _link_noarch_files() \
%posttrans %{1} \
rpm -ql %{name} -%{1} > %{_datadir} /libreoffice/%{1}_list.txt || true \
if [ -f %{_datadir} /libreoffice/%{1}_list.txt ] ; then \
%{_datadir} /libreoffice/link-to-ooo-home %{_datadir} /libreoffice/%{1}_list.txt || true \
fi \
\
%postun %{1} \
if [ " $ 1 " = " 0 " -a -f %{_datadir} /libreoffice/%{1}_list.txt ]; then \
%{_datadir} /libreoffice/link-to-ooo-home --unlink %{_datadir} /libreoffice/%{1}_list.txt || true \
rm -f %{_datadir} /libreoffice/%{1}_list.txt 2> /dev/null || true \
fi \
%{nil}
2014-01-02 11:24:51 +01:00
# Crazy magic for the auto help/lang generating.
# Inspired and adjusted from Fedora spec.
%define _langpack_common() \
2014-01-22 16:48:10 +01:00
%dir %{_datadir} /%{name} /program/resource \
2014-01-06 20:00:59 +01:00
%{_datadir} /%{name} /program/resource/*%{1}.res \
2014-01-26 11:35:27 +01:00
%if "%{1}" != "tn" \
%exclude %{_datadir} /%{name} /program/resource/*sr-Latn.res \
%endif \
2014-01-06 20:00:59 +01:00
%if "%{1}" != "en-US" \
2014-01-22 16:48:10 +01:00
%dir %{_datadir} /%{name} /share/config/soffice.cfg \
%dir %{_datadir} /%{name} /share/config/soffice.cfg/modules \
2014-01-24 10:42:00 +01:00
%dir %{_datadir} /%{name} /share/config/soffice.cfg/modules/*/ui/res \
2014-01-24 21:47:40 +01:00
%dir %{_datadir} /%{name} /share/config/soffice.cfg/modules/*/ui \
%dir %{_datadir} /%{name} /share/config/soffice.cfg/modules/* \
2014-01-03 10:43:27 +01:00
%{_datadir} /%{name} /share/config/soffice.cfg/modules/*/ui/res/%{1}.zip \
2014-01-24 10:42:00 +01:00
%dir %{_datadir} /%{name} /share/config/soffice.cfg/*/ui/res \
2014-01-24 21:47:40 +01:00
%dir %{_datadir} /%{name} /share/config/soffice.cfg/*/ui \
%dir %{_datadir} /%{name} /share/config/soffice.cfg/* \
2014-01-03 10:43:27 +01:00
%{_datadir} /%{name} /share/config/soffice.cfg/*/ui/res/%{1}.zip \
2014-01-06 20:00:59 +01:00
%endif \
2014-01-22 16:48:10 +01:00
%dir %{_datadir} /%{name} /share/registry \
%dir %{_datadir} /%{name} /share/registry/res \
2014-01-02 11:24:51 +01:00
%{_datadir} /%{name} /share/registry/Langpack-%{1}.xcd \
2014-01-06 20:00:59 +01:00
%if "%{1}" != "en-US" \
2014-01-02 11:24:51 +01:00
%{_datadir} /%{name} /share/registry/res/registry_%{1}.xcd \
2014-01-06 20:00:59 +01:00
%endif \
2014-01-02 11:24:51 +01:00
%{_datadir} /%{name} /share/registry/res/fcfg_langpack_%{1}.xcd \
%{nil}
# Defines a language pack subpackage.
#
# It's necessary to define language code (-l) and language name (-n).
# Additionally, it's possible
# * to require autocorr, hunspell, hyphen or mythes package or font for
# given language,
# * to obsolete openoffice.org-langpack package,
# * to provide libreoffice-langpack-loc package, where loc is glibc
# locale--this is necessary for yum to pick it automatically,
# * to require other, unrelated, packages,
# * to specify file serving as file list.
# For these, lower case character argument takes an argument specifying
# language, upper case character argument uses language from -l.
#
# All remaining arguments are considered to be files and added to the file
# list.
#
# c: additional config file (just the name stem)
# E the package does not contain any files (i.e., has empty filelist)
# i: additional language added to this package
# L: internal (LibreOffice) language code, used in file names
# l: language code, e.g., cs
2014-04-25 13:43:03 +02:00
# Mm: myspell dependency
2014-01-02 11:24:51 +01:00
# n: language name, e.g., Czech
# p: Provides: of libreoffice-l10n
# r: comma-separated list of additional requires
# S:s: script classification (cjk, ctl). -S is only a marker, as it does
# not add any .xcd into the package (the file does not exist for at
# least one CTL-using locale, si)
# T has help files
# Xx: has autotext definitions
#
# Example:
2014-04-25 13:43:03 +02:00
# libreoffice-l10n-cs: langpack for Czech lang. Requiring myspell-cs_CZ:
# %%langpack -l cs -n Czech -m cs_CZ
2014-01-02 11:24:51 +01:00
%define langpack(c:Ei:L:l:Mm:n:p:r:S:s:TXx:) \
%define project LibreOffice \
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
%define pkgname l10n-%{lang} \
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
\
%global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \
\
%package %{pkgname} \
Summary : %{langname} Localization Files for LibreOffice \
Group : Productivity/Office/Suite \
Requires : %{name} = %{version} \
2014-01-29 13:04:33 +01:00
Requires(post,): %{name} = %{version} \
2014-04-11 13:45:39 +02:00
Requires(postun,): %{name} = %{version} \
2014-01-02 11:24:51 +01:00
Provides : locale(libreoffice:%{lang} ) \
BuildArch : noarch \
2014-04-25 13:43:03 +02:00
%{-m:Requires: myspell-%{-m*}}%{!-m:%{-M:Requires: myspell-%{lang} }} \
2014-01-02 11:24:51 +01:00
%{-r:Requires: %{-r*}} \
%{-p:Provides: %{name} -l10n-%{-p*}} \
%{-T: \
Provides : %{name} -help-%{lang} = %{version} \
Obsoletes : %{name} -help-%{lang} < %{version} \
2014-07-29 17:07:59 +02:00
%{-L: \
Provides : %{name} -help-%{-L*} = %{version} \
Obsoletes : %{name} -help-%{-L*} < %{version} \
} \
%{-p: \
Provides : %{name} -help-%{-p*} = %{version} \
Obsoletes : %{name} -help-%{-p*} = %{version} \
} \
} \
2014-01-02 11:24:51 +01:00
\
%description %{pkgname} \
Provides additional %{langname} translations and resources for %{project} . \
\
%files %{pkgname} \
2014-01-07 16:17:31 +01:00
%defattr (-,root,root) \
2014-01-02 11:24:51 +01:00
%{!-E: \
%define autotextdir %{_datadir}/%{name}/share/autotext \
2014-01-25 10:29:34 +01:00
%dir %{autotextdir} \
2014-01-02 11:24:51 +01:00
%{expand:%%_langpack_common %{_langpack_lang}} \
%{-x:%{autotextdir} /%{-x*}}%{!-x:%{-X:%{autotextdir} /%{_langpack_lang}}} \
%{-c:%{_datadir} /%{name} /share/registry/%{-c*}.xcd} \
%{-s:%{_datadir} /%{name} /share/registry/%{-s*}_%{_langpack_lang}.xcd} \
%{-T: \
%docdir %{_datadir} /%{name} /help/%{_langpack_lang} \
%{_datadir} /%{name} /help/%{_langpack_lang} \
} \
%{-i:%{expand:%%_langpack_common %{-i*}}} \
} \
2014-01-27 21:35:55 +01:00
\
2014-01-31 14:44:47 +01:00
%{expand:%%_link_noarch_files %{pkgname} } \
2014-01-02 11:24:51 +01:00
%{nil}
2014-04-25 13:43:03 +02:00
%langpack -l af -n Afrikaans -m af_ZA
%langpack -l ar -n Arabic -s ctl -m ar
2014-01-02 11:24:51 +01:00
%langpack -l as -n Assamese
2014-04-25 13:43:03 +02:00
%langpack -l bg -n Bulgarian -T -X -m bg_BG
%langpack -l bn -n Bengali -T -m bn_BD
%langpack -l br -n Breton -m br_FR
2014-06-20 21:04:10 +02:00
%langpack -l ca -n Catalan -T -M -X
2014-04-25 13:43:03 +02:00
%langpack -l cs -n Czech -T -X -m cs_CZ
2014-01-02 11:24:51 +01:00
%langpack -l cy -n Welsh
2014-04-25 13:43:03 +02:00
%langpack -l da -n Danish -T -X -m da_DK
%langpack -l de -n German -T -X -M
2014-05-16 21:58:40 +02:00
%langpack -l dz -n Dzongkha -s ctl -T
2014-04-25 13:43:03 +02:00
%langpack -l el -n Greek -T -m el_GR
%langpack -l en -n English -L en-US -T -X -p en-GB -p en-ZA -M
2014-01-02 11:24:51 +01:00
%langpack -l es -n Spanish -M -T -X
2014-04-25 13:43:03 +02:00
%langpack -l et -n Estonian -T -m et_EE
2014-01-02 11:24:51 +01:00
%langpack -l eu -n Basque -T
2014-06-20 21:04:10 +02:00
%langpack -l fa -n Farsi -s ctl -X
%langpack -l fi -n Finnish -r libreoffice-voikko -T -X
2014-04-25 13:43:03 +02:00
%langpack -l fr -n French -T -X -m fr_FR
%langpack -l ga -n Irish
%langpack -l gl -n Galician -T -M
%langpack -l gu -n Gujarati -s ctl -T -p gu-IN -m gu_IN
%langpack -l he -n Hebrew -s ctl -T -m he_IL
%langpack -l hi -n Hindi -s ctl -T -p hi-IN -m hi_IN
2014-06-20 21:04:10 +02:00
%langpack -l hr -n Croatian -T -m hr_HR -X
2014-04-25 13:43:03 +02:00
%langpack -l hu -n Hungarian -T -X -m hu_HU
%langpack -l it -n Italian -T -X -m it_IT
2014-01-02 11:24:51 +01:00
%langpack -l ja -n Japanese -s cjk -T -X
%langpack -l kk -n Kazakh
%langpack -l kn -n Kannada
%langpack -l ko -n Korean -s cjk -T -c korea -X
2014-06-20 21:04:10 +02:00
%langpack -l lt -n Lithuanian -m lt_LT -X
2014-04-25 13:43:03 +02:00
%langpack -l lv -n Latvian -m lv_LV
2014-01-02 11:24:51 +01:00
%langpack -l mai -n Maithili
%langpack -l ml -n Malayalam
%langpack -l mr -n Marathi
2014-04-25 13:43:03 +02:00
%langpack -l nb -n Bokmal -M -T -m no
%langpack -l nl -n Dutch -T -X -m nl_NL
%langpack -l nn -n Nynorsk -T -m no
2014-01-02 11:24:51 +01:00
%define langpack_lang Southern Ndebele
%langpack -l nr -n %{langpack_lang}
%define langpack_lang Northern Sotho
%langpack -l nso -n %{langpack_lang}
%langpack -l or -n Odia -s ctl
2014-02-12 11:26:08 +01:00
%langpack -l pa -n Punjabi -s ctl -L pa-IN -p pa-IN
2014-04-25 13:43:03 +02:00
%langpack -l pl -n Polish -T -X -m pl_PL
2014-01-02 11:24:51 +01:00
%define langpack_lang Brazilian Portuguese
2014-04-25 13:43:03 +02:00
%langpack -l pt-BR -n %{langpack_lang} -m pt_BR -p pt_BR -T -X
%langpack -l pt-PT -n Portuguese -m pt_PT -T -L pt -x pt
2014-06-20 21:04:10 +02:00
%langpack -l ro -n Romanian -M -X
2014-04-25 13:43:03 +02:00
%langpack -l ru -n Russian -T -X -m ru_RU
%langpack -l si -n Sinhalese -S ctl -T -m si_LK
%langpack -l sk -n Slovak -T -X -m sk_SK
%langpack -l sl -n Slovenian -T -X -m sl_SI
%langpack -l sr -n Serbian -i sr-Latn -M
2014-01-02 11:24:51 +01:00
%langpack -l ss -n Swati
%define langpack_lang Southern Sotho
%langpack -l st -n %{langpack_lang}
2014-04-25 13:43:03 +02:00
%langpack -l sv -n Swedish -T -X -m sv_SE
2014-01-02 11:24:51 +01:00
%langpack -l ta -n Tamil -s ctl
2014-04-25 13:43:03 +02:00
%langpack -l te -n Telugu -m te_IN
%langpack -l th -n Thai -s ctl -c ctlseqcheck_th -m th_TH
2014-01-02 11:24:51 +01:00
%langpack -l tn -n Tswana
%langpack -l tr -n Turkish -T -X
%langpack -l ts -n Tsonga
2014-04-25 13:43:03 +02:00
%langpack -l uk -n Ukrainian -T -m uk_UA
2014-01-02 11:24:51 +01:00
%langpack -l ve -n Venda
%langpack -l xh -n Xhosa
%define langpack_lang Simplified Chinese
2014-02-12 11:26:08 +01:00
%langpack -l zh-Hans -n %{langpack_lang} -p zh-CN -s cjk -T -L zh-CN -x zh-CN
2014-01-02 11:24:51 +01:00
%define langpack_lang Traditional Chinese
2014-02-12 11:26:08 +01:00
%langpack -l zh-Hant -n %{langpack_lang} -p zh-TW -s cjk -T -L zh-TW -x zh-TW
2014-04-25 13:43:03 +02:00
%langpack -l zu -n Zulu -m zu_ZA
2014-01-02 11:24:51 +01:00
%undefine langpack_lang
2010-10-21 01:05:15 +02:00
%prep
2014-06-23 13:12:04 +02:00
%setup -q -b1 -b2
2013-07-30 18:39:30 +02:00
%patch3 -p1
2011-09-07 17:41:42 +02:00
%patch5
2013-04-17 14:53:49 +02:00
%patch6 -p1
2013-07-30 18:39:30 +02:00
%patch9 -p1
2013-04-17 14:53:49 +02:00
%patch10 -p1
2011-09-07 17:41:42 +02:00
%patch11
%patch12
2012-06-01 22:31:21 +02:00
%patch13 -p1
2014-07-21 09:17:56 +02:00
%patch14 -p1
2013-07-30 18:39:30 +02:00
%patch990 -p1
2012-05-08 06:45:59 +02:00
# 256x256 icons
2014-01-02 11:24:51 +01:00
tar -xjf %{SOURCE20}
%build
# Parallel build settings ...
2014-01-07 16:24:37 +01:00
lo_jobs=" % { ? j o b s : %{jobs} } "
%ifarch %{arm}
2014-01-02 11:24:51 +01:00
%if ! 0%{?qemu_user_space_build:1}
# native hardware is not that powerful
lo_jobs=" 1 "
%endif
2012-04-04 19:20:25 +02:00
%endif
2014-01-02 11:24:51 +01:00
# do not eat all memory
echo " A v a i l a b l e m e m o r y : "
free
echo " S y s t e m l i m i t s : "
ulimit -a
lo_jobs_reduced=
2014-01-07 16:24:37 +01:00
if test -e " %{_libexecdir} / i c e c c / b i n / g c c " -a -e " %{_libexecdir} / i c e c c / b i n / g + + " ; then
2014-01-03 10:43:27 +01:00
PARALLEL_BUILD=" $ P A R A L L E L _ B U I L D - - e n a b l e - i c e c r e a m "
else
if test -n " $ l o _ j o b s " -a " $ l o _ j o b s " -gt 1 ; then
if test `uname -i` = " x 8 6 _ 6 4 " ; then
mem_per_process=1000
else
mem_per_process=800
fi
%if 0%{?qemu_user_space_build:1}
mem_per_process=1200
%endif
max_mem=`LANG=C free -t -m | sed -n " s | ^ M e m : * \ ( [ 0 - 9 ] * \ ) . * $ | \1 | p " `
max_jobs=" $ ( ( $ m a x _ m e m / $ m e m _ p e r _ p r o c e s s ) ) "
test " $ l o _ j o b s " -gt " $ m a x _ j o b s " && lo_jobs=" $ m a x _ j o b s " && lo_jobs_reduced=" y e s " && echo " W a r n i n g : R e d u c i n g n u m b e r o f j o b s t o $ m a x _ j o b s b e c a u s e o f m e m o r y l i m i t s "
test " $ l o _ j o b s " -le 0 && lo_jobs=1 && echo " W a r n i n g : D o n o t u s e t h e p a r a l l e l b u i l d a t a l l b e c u s e o f m e m o r y l i m i t s "
2014-01-02 11:24:51 +01:00
fi
fi
# finally set jobs
PARALLEL_BUILD=
if test -n " $ l o _ j o b s " ; then
PARALLEL_BUILD=" - - w i t h - p a r a l l e l i s m = $ l o _ j o b s "
fi
# using icecream
# make sure that JAVA_HOME is set correctly
2014-01-07 16:24:37 +01:00
source %{_sysconfdir} /profile.d/alljava.sh
2014-01-02 11:24:51 +01:00
# use RPM_OPT_FLAGS, ...
# FIXME: use -g1 instead of -g; the .o files need about 12GB disk space with full debugging symbols; there is not enough disk space and not enough memory for linking libmerged on the build hosts
# 12.3 has broken cppconnector with wrong incude paths
%if 0%{?suse_version} == 01230
2014-01-07 16:24:37 +01:00
ARCH_FLAGS=" ` e c h o %{optflags} | s e d - e ' s / \ - f e x c e p t i o n s / / g ' - e ' s / ^ - g / - g 1 / g ' - e ' s / - g / - g 1 / g ' - e ' s / - g $ / - g 1 / g ' ` - f n o - s t r i c t - a l i a s i n g - I %{_includedir} / m y s q l - c o n n e c t o r / "
2014-01-02 11:24:51 +01:00
%else
2014-01-07 16:24:37 +01:00
ARCH_FLAGS=" ` e c h o %{optflags} | s e d - e ' s / \ - f e x c e p t i o n s / / g ' - e ' s / ^ - g / - g 1 / g ' - e ' s / - g / - g 1 / g ' - e ' s / - g $ / - g 1 / g ' ` - f n o - s t r i c t - a l i a s i n g "
2014-01-02 11:24:51 +01:00
%endif
CFLAGS=" $ A R C H _ F L A G S "
CXXFLAGS=" $ A R C H _ F L A G S "
export ARCH_FLAGS CFLAGS CXXFLAGS
2010-10-21 01:05:15 +02:00
2014-07-22 23:48:37 +02:00
# Whack in our python3 so we don't have to use internal one
2013-08-02 09:26:14 +02:00
# which is quite nightmare.
2014-07-22 23:48:37 +02:00
export PYTHON=%{_bindir} /python3
export PYTHON_CFLAGS=`pkg-config --cflags python3`
export PYTHON_LIBS=`pkg-config --libs python3`
2014-01-02 11:24:51 +01:00
# do not run configure in autogen but use macro later
export NOCONFIGURE=yes
./autogen.sh
%configure \
$PARALLEL_BUILD \
2012-04-26 17:35:13 +02:00
--docdir=%{_docdir} /%{name} \
2014-03-12 13:03:20 +01:00
--with-compat-oowrappers \
2014-01-02 11:24:51 +01:00
--with-system-headers \
--with-system-libs \
--with-system-jars \
--with-system-dicts \
2012-10-31 17:59:37 +01:00
--with-vendor=SUSE \
2014-01-02 11:24:51 +01:00
--with-alloc=system \
2014-01-03 10:43:27 +01:00
--with-lang='%{langpack_langs}' \
2012-04-26 17:35:13 +02:00
--disable-fetch-external \
2011-09-07 17:41:42 +02:00
--with-external-tar=" $RPM_SOURCE_DIR " \
2014-01-02 11:24:51 +01:00
--disable-epm \
--disable-gnome-vfs \
--disable-gstreamer-0-10 \
--disable-kdeab \
--disable-kde \
--disable-online-update \
--disable-systray \
2013-04-17 14:53:49 +02:00
--enable-release-build \
2012-04-26 17:35:13 +02:00
--enable-split-app-modules \
--enable-split-opt-features \
2013-04-17 14:53:49 +02:00
--enable-mergelibs \
2014-01-02 11:24:51 +01:00
--enable-cairo-canvas \
--enable-graphite \
--enable-largefile \
--enable-mergelibs \
2013-04-17 14:53:49 +02:00
--enable-python=system \
2014-01-02 11:24:51 +01:00
--enable-randr \
--enable-randr-link \
2012-04-26 17:35:13 +02:00
--without-fonts \
--without-myspell-dicts \
2014-01-02 11:24:51 +01:00
--with-jdk-home=$JAVA_HOME \
2014-01-06 20:00:59 +01:00
--with-beanshell-jar=%{_datadir} /java/bsh2/bsh.jar \
2014-01-02 11:24:51 +01:00
--with-ant-home=%{_datadir} /ant \
2014-05-05 09:15:16 +02:00
--with-external-dict-dir=%{_datadir} /hunspell \
--with-external-hyph-dir=%{_datadir} /hyphen \
--with-external-thes-dir=%{_datadir} /mythes \
2014-01-02 11:24:51 +01:00
--with-help \
2012-04-26 17:35:13 +02:00
--enable-odk \
2014-01-02 11:24:51 +01:00
--with-doxygen \
2012-10-31 17:59:37 +01:00
--enable-gtk3 \
2012-04-26 17:35:13 +02:00
--enable-kde4 \
2014-01-02 11:24:51 +01:00
--enable-gstreamer \
2012-04-26 17:35:13 +02:00
--enable-evolution2 \
--enable-lockdown \
--enable-dbus \
2014-01-02 11:24:51 +01:00
--enable-hardlink-deliver \
2012-04-26 17:35:13 +02:00
--enable-ext-ct2n \
--enable-ext-nlpsolver \
--enable-ext-numbertext \
--enable-ext-wiki-publisher \
2013-07-30 18:39:30 +02:00
--enable-ext-mariadb-connector \
2013-04-17 14:53:49 +02:00
--enable-scripting-beanshell \
--enable-scripting-javascript \
2014-01-03 22:05:27 +01:00
--enable-telepathy \
--enable-opengl \
2014-02-12 14:37:15 +01:00
%if %{with vlc}
2014-01-03 22:05:27 +01:00
--enable-vlc \
2014-01-09 15:15:26 +01:00
%endif
2014-01-03 22:05:27 +01:00
--enable-neon \
2013-04-17 14:53:49 +02:00
--with-system-ucpp \
2014-06-16 12:43:39 +02:00
--disable-ccache \
2014-09-19 15:53:43 +02:00
--enable-gltf --with-system-libgltf \
--disable-coinmp --with-system-coinmp \
--disable-collada
# disable collada as we can't use system libs yet
# no coinormp packages for coinmp
2014-01-02 11:24:51 +01:00
2011-09-07 17:41:42 +02:00
# hack to correctly bootstrap python stuff with system python, (deb#501028, i#90701)
2014-01-03 22:05:27 +01:00
sed -i -e " s | @ I N S T A L L D I R @ | %{_libdir} / %{name} | " pyuno/source/module/uno.py scripting/source/pyprov/officehelper.py
2014-01-02 11:24:51 +01:00
# just call make here as we added the jobs in configure
make build-nocheck
%check
make unitcheck
2014-01-08 13:50:22 +01:00
make slowcheck
2010-10-21 01:05:15 +02:00
%install
2014-01-02 11:24:51 +01:00
make DESTDIR=%{buildroot} distro-pack-install
2014-01-03 10:43:27 +01:00
2014-07-23 13:00:33 +02:00
# FIXME: Hack add missing file
install -m755 instdir/program/libsaxlo.so %{buildroot} /%{_libdir} /%{name} /program/libsaxlo.so
echo " %{_libdir} / %{name} / p r o g r a m / l i b s a x l o . s o " >>file-lists/common_list.txt
2011-09-07 17:41:42 +02:00
################
# update desktop files
2011-09-19 17:50:45 +02:00
builddir=`pwd`
2014-01-02 11:24:51 +01:00
cd %{buildroot} %{_datadir} /applications
2011-09-07 17:41:42 +02:00
for desktop in * ; do
2011-09-19 17:50:45 +02:00
# relative link is needed by %%suse_update_desktop_file
2014-01-07 16:24:37 +01:00
relative_target=`readlink $desktop | sed " s | %{_libdir} | . . / . . / % { _ l i b } | " `
# FIXME: remove the libreoffice- prefix because the old desktop files are preferred in %{_sysconfdir}/gnome_defaults.conf
desktop_new=`echo $desktop | sed -e " s / %{name} - / / " `
2011-09-19 17:50:45 +02:00
rm $desktop
2014-01-07 16:24:37 +01:00
sed -i -e " s | %{_datadir} / a p p l i c a t i o n s / $ d e s k t o p | %{_datadir} / a p p l i c a t i o n s / $ d e s k t o p _ n e w | " $builddir/file-lists/*.txt
2011-09-19 17:50:45 +02:00
# finally, create the right link
ln -sf $relative_target $desktop_new
2013-02-11 17:51:22 +01:00
# enable startup notification (bnc#796875)
2013-02-20 12:39:37 +01:00
grep -q " N o D i s p l a y = t r u e " $desktop_new || sed -i " s / \ ( \ [ D e s k t o p E n t r y \ ] \ ) / \1 \n S t a r t u p N o t i f y = t r u e / " $desktop_new
2011-09-07 17:41:42 +02:00
# suse_update
2011-09-19 17:50:45 +02:00
app=`echo $desktop_new | sed " s / . d e s k t o p / / " `
2011-10-24 12:37:06 +02:00
%suse_update_desktop_file $app
2011-09-07 17:41:42 +02:00
done
2014-03-28 12:29:11 +01:00
# FIXED: (only the first sed part) 4.3 branch
sed -i -e 's:Office;:Office;Spreadsheet;:g' -e 's:NoDisplay=false:NoDisplay=true:g' %{buildroot} /%{_datadir} /applications/math.desktop
2011-09-07 17:41:42 +02:00
cd -
################
# compat stuff for noarch packages
2014-01-03 22:05:27 +01:00
mkdir -p %{buildroot} /%{_datadir} /%{name} /program
install -m 755 $RPM_SOURCE_DIR /link-to-ooo-home %{buildroot} %{_datadir} /%{name} /
2014-01-25 10:29:34 +01:00
echo " % d i r %{_libdir} / %{name} " >>file-lists/common_list.txt
2014-01-03 22:05:27 +01:00
echo " % d i r %{_datadir} / %{name} " >>file-lists/common_list.txt
echo " % d i r %{_datadir} / %{name} / p r o g r a m " >>file-lists/common_list.txt
echo " %{_datadir} / %{name} / l i n k - t o - o o o - h o m e " >>file-lists/common_list.txt
2011-09-07 17:41:42 +02:00
################
# helper script for noarch packages
# add missing directories to the file list
2014-01-02 11:24:51 +01:00
for dir in `find %{buildroot} /%{_datadir} /icons/gnome -type d` ; do
dir=`echo $dir | sed -e " s | %{buildroot} | | " `
2011-09-07 17:41:42 +02:00
echo " % d i r $ d i r " >>file-lists/common_list.txt
done
2014-01-02 11:24:51 +01:00
echo " % d i r %{_datadir} / a p p l i c a t i o n - r e g i s t r y " >>file-lists/common_list.txt
echo " % d i r %{_datadir} / m i m e - i n f o " >>file-lists/common_list.txt
echo " % d i r %{_datadir} / m i m e l n k " >>file-lists/common_list.txt
echo " % d i r %{_datadir} / m i m e l n k / a p p l i c a t i o n " >>file-lists/common_list.txt
2014-01-03 10:43:27 +01:00
#################################
# Move split noarch data to share
#################################
2014-01-03 22:05:27 +01:00
for i in %{buildroot} %{_libdir} /%{name} /share/config/soffice.cfg/modules/*/ui/res/*.zip \
%{buildroot} %{_libdir} /%{name} /share/config/soffice.cfg/*/ui/res/*.zip \
%{buildroot} %{_libdir} /%{name} /share/registry/res/fcfg_langpack_*.xcd \
%{buildroot} %{_libdir} /%{name} /share/registry/res/registry_*.xcd \
%{buildroot} %{_libdir} /%{name} /share/registry/Langpack-*.xcd \
%{buildroot} %{_libdir} /%{name} /program/resource/*.res \
%{buildroot} %{_libdir} /%{name} /share/config/images*.zip \
%{buildroot} %{_libdir} /%{name} /share/registry/{cjk,ctl}_*.xcd \
2014-01-06 20:00:59 +01:00
%{buildroot} %{_libdir} /%{name} /share/registry/{korea,ctlseqcheck_th}.xcd \
2014-01-03 10:43:27 +01:00
; do
trg=" ` d i r n a m e " $i" | s e d ' s | %{_libdir} | %{_datadir} | ' ` "
mkdir -p " $ t r g "
mv " $ i " " $ t r g "
done
2014-01-03 22:05:27 +01:00
# help files are luckily in just one folder
mkdir -p %{buildroot} /%{_datadir} /%{name} /help/
2014-01-05 21:08:04 +01:00
grep -v '%{_libdir}/%{name}/help' file-lists/common_list.txt > tmplist
mv tmplist file-lists/common_list.txt
2014-01-03 22:05:27 +01:00
echo " % d i r %{_datadir} / %{name} / h e l p " >>file-lists/common_list.txt
2014-01-05 21:08:04 +01:00
mv %{buildroot} /%{_libdir} /%{name} /help/ %{buildroot} /%{_datadir} /%{name} /
2014-02-02 15:43:36 +01:00
echo " % g h o s t %{_libdir} / %{name} / h e l p " >> file-lists/common_list.txt
2014-01-03 22:05:27 +01:00
for file in idxcaption.xsl idxcontent.xsl main_transform.xsl ; do
echo " %{_datadir} / %{name} / h e l p / $ f i l e " >> file-lists/common_list.txt
done
2014-01-06 20:00:59 +01:00
# autotext is another self contained dir
2014-04-09 11:44:48 +02:00
mkdir -p %{buildroot} /%{_datadir} /%{name} /share/autotext/
2014-01-06 20:00:59 +01:00
grep -v '%{_libdir}/%{name}/share/autotext' file-lists/common_list.txt > tmplist
mv tmplist file-lists/common_list.txt
mv %{buildroot} /%{_libdir} /%{name} /share/autotext/ %{buildroot} /%{_datadir} /%{name} /share/
2014-02-02 15:43:36 +01:00
echo " % g h o s t %{_libdir} / %{name} / s h a r e / a u t o t e x t " >> file-lists/common_list.txt
2014-01-03 10:43:27 +01:00
################
# branding split
2011-09-07 17:41:42 +02:00
################
# first check wheter the prebuilt sofficerc is still the same
2014-01-03 22:05:27 +01:00
if ! diff %{buildroot} %{_libdir} /%{name} /program/sofficerc $RPM_SOURCE_DIR /sofficerc-upstream ; then
2011-09-07 17:41:42 +02:00
echo " E r r o r : T h e f i l e \" s o f f i c e r c \" h a s c h a n g e d i n t h e s o u r c e s "
echo " P l e a s e , u p d a t e t h e p r e b u i l t v a r i a n t i n $RPM_SOURCE_DIR / s o f f i c e r c - u p s t r e a m "
exit 1;
fi
2014-01-03 10:43:27 +01:00
# create symlinks for all brandings to noarch pkg
2014-01-03 22:05:27 +01:00
mkdir -p %{buildroot} /%{_datadir} /%{name} /program/shell
2014-01-25 15:33:55 +01:00
echo " %{_datadir} / %{name} / p r o g r a m / s h e l l " >> file-lists/branding_upstream.txt
2011-09-07 17:41:42 +02:00
for file in sofficerc \
intro.png \
2012-11-07 17:25:42 +01:00
flat_logo.svg \
2014-06-20 09:26:30 +02:00
shell/about.svg ; do
2014-01-04 14:57:12 +01:00
mv " %{buildroot} %{_libdir} / %{name} / p r o g r a m / $ f i l e " " %{buildroot} %{_datadir} / %{name} / p r o g r a m / $ f i l e "
ln -sf " %{_datadir} / %{name} / p r o g r a m / $ f i l e " " %{buildroot} / %{_libdir} / %{name} / p r o g r a m / $ f i l e "
2014-01-05 21:08:04 +01:00
echo " %{_datadir} / %{name} / p r o g r a m / $ f i l e " >> file-lists/branding_upstream.txt
2011-09-07 17:41:42 +02:00
done
2014-01-03 10:43:27 +01:00
2014-05-05 15:52:23 +02:00
# Fix autocorr names for various language mutations
%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
%make_autocorr_aliases -l en-US en-PH
%make_autocorr_aliases -l en-ZA en-NA en-ZW
%make_autocorr_aliases -l af-ZA af-NA
%make_autocorr_aliases -l de-DE de-AT de-BE de-CH de-LI de-LU
%make_autocorr_aliases -l es-ES es-AR es-BO es-CL es-CO es-CR es-CU es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE
%make_autocorr_aliases -l fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC
%make_autocorr_aliases -l it-IT it-CH
%make_autocorr_aliases -l nl-NL nl-AW
%make_autocorr_aliases -l sv-SE sv-FI
2014-05-07 10:51:28 +02:00
pushd %{buildroot} %{_libdir} /%{name} /share/autocorr
2014-05-07 14:23:29 +02:00
files=" "
for file in acor*.dat; do
files=" $ f i l e s $ f i l e "
2014-05-05 15:52:23 +02:00
done
2014-05-07 10:51:28 +02:00
popd
2014-05-07 21:15:06 +02:00
for file in $files; do
2014-05-07 14:23:29 +02:00
echo " %{_libdir} / %{name} / s h a r e / a u t o c o r r / $ f i l e " >> file-lists/common_list.txt
done
2011-09-07 17:41:42 +02:00
2011-12-25 17:35:54 +01:00
# Symlink uno.py and unohelper.py so that python can find them
2014-07-24 10:33:51 +02:00
mkdir -p %{buildroot} %{python3_sitelib}
ln -s %{_libdir} /libreoffice/program/uno.py %{buildroot} %{python3_sitelib} /uno.py
ln -s %{_libdir} /libreoffice/program/unohelper.py %{buildroot} %{python3_sitelib} /unohelper.py
2014-01-02 11:24:51 +01:00
2014-01-04 14:57:12 +01:00
# Remove translations source as we need more space
rm -rf translations/source/
2014-01-06 20:00:59 +01:00
# Merge kde and kde4 filelists as we do not bother with compat anymore
# Not worth fixing unless really cleaning up the install completely
cat file-lists/kde_list.txt >> file-lists/kde4_list.txt
# Remove pointless readmes
rm -rf %{buildroot} %{_libdir} /%{name} /readmes/
2014-01-02 11:24:51 +01:00
# We have ton of duped files so run over it
2014-01-04 14:57:12 +01:00
%fdupes %{buildroot} /usr
2010-10-21 01:05:15 +02:00
2014-08-01 09:59:24 +02:00
%pretrans
2013-04-17 14:53:49 +02:00
# do not crate cache for bundled extensions because it is not secure
# rather remove it (fdo#53006, fdo#51252, bnc#769448)
2014-01-03 10:43:27 +01:00
# Remove after 12.2 is out of support/migration scope.
2014-01-03 22:05:27 +01:00
bundled_cache=" %{_libdir} / %{name} / s h a r e / p r e r e g / b u n d l e d "
2014-04-11 13:45:39 +02:00
if [ -d " $ b u n d l e d _ c a c h e " ]; then
2014-02-02 15:43:36 +01:00
rm -rf " $ b u n d l e d _ c a c h e " /* || true
fi
2014-01-27 21:35:55 +01:00
# Directory to symlink is not working in RPM so workaround it
2014-01-28 21:34:06 +01:00
# FIXME: Remove after 13.1 is out of update scope.
2014-02-01 13:09:53 +01:00
helpdir=" %{_libdir} / %{name} / h e l p "
autotextdir=" %{_libdir} / %{name} / s h a r e / a u t o t e x t "
2014-02-02 15:43:36 +01:00
if [ -d " $ h e l p d i r " ]; then
rm -rf " $ h e l p d i r " || true
2014-08-01 09:59:24 +02:00
rm -f %{_datadir} /%{name} /help/* || true
2014-02-02 15:43:36 +01:00
ln -s " %{_datadir} / %{name} / h e l p " " $ h e l p d i r "
fi
if [ -d " $ a u t o t e x t d i r " ]; then
rm -rf " $ a u t o t e x t d i r " || true
2014-04-09 11:44:48 +02:00
ln -s " %{_datadir} / %{name} / s h a r e / a u t o t e x t " " $ a u t o t e x t d i r "
2014-02-02 15:43:36 +01:00
fi
2011-09-07 17:41:42 +02:00
2010-10-21 01:05:15 +02:00
%post
/sbin/ldconfig
2012-11-07 17:25:42 +01:00
%mime_database_post
%desktop_database_post
2011-02-21 15:30:09 +01:00
%icon_theme_cache_post
2010-10-21 01:05:15 +02:00
%preun
2014-02-01 13:05:43 +01:00
uno_cache=" %{_libdir} / %{name} / s h a r e / u n o _ p a c k a g e s / c a c h e "
if [ " $ 1 " = " 0 " ] ; then
test -d " $ u n o _ c a c h e " && rm -rf " $ u n o _ c a c h e " /* || true;
fi
2010-10-21 01:05:15 +02:00
%postun
/sbin/ldconfig
2011-02-21 15:30:09 +01:00
%icon_theme_cache_postun
2012-11-07 17:25:42 +01:00
%desktop_database_postun
%mime_database_postun
2011-09-07 17:41:42 +02:00
2012-11-07 17:25:42 +01:00
%post base
%desktop_database_post
%postun base
%desktop_database_postun
%post calc
%desktop_database_post
%postun calc
%desktop_database_postun
%post draw
%desktop_database_post
%postun draw
%desktop_database_postun
%post math
%desktop_database_post
%postun math
%desktop_database_postun
%post impress
%desktop_database_post
%postun impress
%desktop_database_postun
%post writer
%desktop_database_post
%postun writer
%desktop_database_postun
2011-09-19 17:50:45 +02:00
2014-01-31 14:44:47 +01:00
%_link_noarch_files icon-theme-crystal
%_link_noarch_files icon-theme-galaxy
%_link_noarch_files icon-theme-hicontrast
%_link_noarch_files icon-theme-oxygen
2014-02-01 00:24:46 +01:00
%_link_noarch_files icon-theme-sifr
2014-01-31 14:44:47 +01:00
%_link_noarch_files icon-theme-tango
2011-09-07 17:41:42 +02:00
%files -f file-lists/common_list.txt
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2011-09-07 17:41:42 +02:00
# ignore helper files for brp-symlink check
2014-01-03 22:05:27 +01:00
%exclude %{_datadir} /%{name} /program/sofficerc
%exclude %{_datadir} /%{name} /program/flat_logo.svg
%exclude %{_datadir} /%{name} /program/*.png
%exclude %{_datadir} /%{name} /program/shell/*.svg
2013-04-17 14:53:49 +02:00
# such a big icons are not provided by other packages
# FIXME: last time checked on openSUSE-12.2
2014-01-02 11:24:51 +01:00
%dir %{_datadir} /icons/hicolor/512x512
%dir %{_datadir} /icons/hicolor/512x512/apps
%dir %{_datadir} /icons/hicolor/512x512/mimetypes
2011-09-07 17:41:42 +02:00
%files -f file-lists/base_list.txt base
%defattr (-,root,root)
%files -f file-lists/calc_list.txt calc
%defattr (-,root,root)
%files -f file-lists/draw_list.txt draw
%defattr (-,root,root)
2010-10-21 01:05:15 +02:00
2011-09-07 17:41:42 +02:00
%files -f file-lists/math_list.txt math
2010-10-21 01:05:15 +02:00
%defattr (-,root,root)
2011-09-07 17:41:42 +02:00
%files -f file-lists/impress_list.txt impress
2010-10-21 01:05:15 +02:00
%defattr (-,root,root)
2011-09-07 17:41:42 +02:00
%files -f file-lists/writer_list.txt writer
2010-11-22 15:01:32 +01:00
%defattr (-,root,root)
2012-04-04 19:20:25 +02:00
%files -f file-lists/postgresql_list.txt base-drivers-postgresql
2011-09-07 17:41:42 +02:00
%defattr (-,root,root)
%files -f file-lists/filters_list.txt filters-optional
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2011-09-07 17:41:42 +02:00
2014-01-02 11:24:51 +01:00
%files -f file-lists/mailmerge_list.txt mailmerge
2011-09-07 17:41:42 +02:00
%defattr (-,root,root)
2011-09-07 17:42:32 +02:00
2014-01-02 11:24:51 +01:00
%files -f file-lists/pyuno_list.txt pyuno
%defattr (-,root,root)
2014-07-24 10:33:51 +02:00
%{python3_sitelib} /uno.py
%{python3_sitelib} /unohelper.py
2011-09-19 17:50:45 +02:00
2011-09-07 17:41:42 +02:00
%files -f file-lists/gnome_list.txt gnome
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2011-09-07 17:41:42 +02:00
%files -f file-lists/kde4_list.txt kde4
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2011-09-07 17:41:42 +02:00
%files -f file-lists/officebean_list.txt officebean
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2011-09-07 17:42:32 +02:00
2014-01-02 11:24:51 +01:00
%files -f file-lists/sdk_list.txt sdk
%defattr (-,root,root)
2011-09-07 17:42:32 +02:00
2014-01-02 11:24:51 +01:00
%files -f file-lists/sdk_doc_list.txt sdk-doc
%defattr (-,root,root)
2011-09-07 17:41:42 +02:00
%files base-drivers-mysql
%defattr (-,root,root)
2014-01-03 22:05:27 +01:00
%{_libdir} /%{name} /share/extensions/mysql-connector-ooo
2011-09-07 17:41:42 +02:00
%files calc-extensions
%defattr (-,root,root)
2014-01-03 22:05:27 +01:00
%{_libdir} /%{name} /share/extensions/ConvertTextToNumber
%{_libdir} /%{name} /share/extensions/nlpsolver
%{_libdir} /%{name} /share/extensions/numbertext
2011-09-07 17:41:42 +02:00
%files writer-extensions
%defattr (-,root,root)
2014-01-03 22:05:27 +01:00
%{_libdir} /%{name} /share/extensions/wiki-publisher
2011-09-07 17:41:42 +02:00
2014-01-04 14:57:12 +01:00
%files icon-theme-crystal
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2014-01-03 22:05:27 +01:00
%dir %{_datadir} /%{name}
%dir %{_datadir} /%{name} /share
%dir %{_datadir} /%{name} /share/config
%{_datadir} /%{name} /share/config/images_crystal.zip
2014-01-02 11:24:51 +01:00
2014-01-04 14:57:12 +01:00
%files icon-theme-galaxy
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2014-01-03 22:05:27 +01:00
%dir %{_datadir} /%{name}
%dir %{_datadir} /%{name} /share
%dir %{_datadir} /%{name} /share/config
2014-07-21 18:33:42 +02:00
%{_datadir} /%{name} /share/config/images_galaxy.zip
2014-07-22 12:45:28 +02:00
# other is just images.zip which seems to be almost identical
%{_datadir} /%{name} /share/config/images.zip
2014-01-02 11:24:51 +01:00
2014-01-04 14:57:12 +01:00
%files icon-theme-hicontrast
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2014-01-03 22:05:27 +01:00
%dir %{_datadir} /%{name}
%dir %{_datadir} /%{name} /share
%dir %{_datadir} /%{name} /share/config
%{_datadir} /%{name} /share/config/images_hicontrast.zip
2014-01-02 11:24:51 +01:00
2014-01-04 14:57:12 +01:00
%files icon-theme-oxygen
2014-01-02 11:24:51 +01:00
%defattr (-,root,root)
2014-01-03 22:05:27 +01:00
%dir %{_datadir} /%{name}
%dir %{_datadir} /%{name} /share
%dir %{_datadir} /%{name} /share/config
%{_datadir} /%{name} /share/config/images_oxygen.zip
2011-09-07 17:41:42 +02:00
2014-01-25 21:15:52 +01:00
%files icon-theme-sifr
2014-01-25 15:33:55 +01:00
%defattr (-,root,root)
%dir %{_datadir} /%{name}
%dir %{_datadir} /%{name} /share
%dir %{_datadir} /%{name} /share/config
%{_datadir} /%{name} /share/config/images_sifr.zip
2014-01-04 14:57:12 +01:00
%files icon-theme-tango
2011-09-07 17:41:42 +02:00
%defattr (-,root,root)
2014-01-03 22:05:27 +01:00
%dir %{_datadir} /%{name}
%dir %{_datadir} /%{name} /share
%dir %{_datadir} /%{name} /share/config
%{_datadir} /%{name} /share/config/images_tango.zip
2011-09-07 17:42:32 +02:00
2014-01-04 14:57:12 +01:00
%files -f file-lists/branding_upstream.txt branding-upstream
%defattr (-,root,root)
2010-10-21 01:05:15 +02:00
%changelog