Accepting request 305391 from LibreOffice:Factory
- Disable verbose build to pass check on maximal size of log - We need pre/post for libreoffice in langpkgs - Use old java for detection and old commons-lang/codec to pass brp check on java from sle11 * 0001-Make-HAVE_JAVA6-be-always-false.patch - Revert last changeset, it is caused by something else this time: * 0001-Set-source-and-target-params-for-java.patch - Set source/target for javac when building to work on SLE11: * 0001-Set-source-and-target-params-for-java.patch - Try to deal with rpath on bundled libs - Fix python3_sitelib not being around for py2 - Add internal make for too old system - One more stab on poppler switch: * 0001-Make-cpp-poppler-version.h-header-optional.patch - Update the old-poppler patch to work correctly: * 0001-Make-cpp-poppler-version.h-header-optional.patch - Sort out more external tarballs for the no-system-libs approach - Add basic external tarballs needed for without-system-libraries - Add patch to check for poppler more nicely to work on older distros: OBS-URL: https://build.opensuse.org/request/show/305391 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=90
This commit is contained in:
commit
bc0e13ba41
41
0001-Make-HAVE_JAVA6-be-always-false.patch
Normal file
41
0001-Make-HAVE_JAVA6-be-always-false.patch
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
From 901eeaacd7219f61816b28873e45264c7d7de1ac Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tomas.chvatal@gmail.com>
|
||||||
|
Date: Thu, 23 Apr 2015 17:41:10 +0200
|
||||||
|
Subject: [PATCH] Make HAVE_JAVA6 be always false
|
||||||
|
|
||||||
|
Even if we have newer java for bundling we still test for 1.5 java
|
||||||
|
to be able to execute our bitecode.
|
||||||
|
|
||||||
|
Change-Id: I7bf5d86c4558b8ed583e3741c10e10daaaa825a7
|
||||||
|
NOTE: Do NOT upstream this.
|
||||||
|
---
|
||||||
|
configure.ac | 6 ------
|
||||||
|
1 file changed, 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 0d492ad..ba02fd6 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -6725,9 +6725,6 @@ if test "$ENABLE_JAVA" != ""; then
|
||||||
|
if test "$_jdk_ver" -lt 10500; then
|
||||||
|
AC_MSG_ERROR([IBM JDK is too old, you need at least 1.5])
|
||||||
|
fi
|
||||||
|
- if test "$_jdk_ver" -ge 10600; then
|
||||||
|
- HAVE_JAVA6=TRUE
|
||||||
|
- fi
|
||||||
|
|
||||||
|
AC_MSG_RESULT([checked (IBM JDK $_jdk)])
|
||||||
|
|
||||||
|
@@ -6750,9 +6747,6 @@ you must use the "--with-jdk-home" configure option explicitly])
|
||||||
|
if test "$_jdk_ver" -gt 10600; then
|
||||||
|
JAVA_CLASSPATH_NOT_SET="1"
|
||||||
|
fi
|
||||||
|
- if test "$_jdk_ver" -ge 10600; then
|
||||||
|
- HAVE_JAVA6=TRUE
|
||||||
|
- fi
|
||||||
|
if test "$_jdk_ver" -ge 10900; then
|
||||||
|
HAVE_JAVA9=TRUE
|
||||||
|
fi
|
||||||
|
--
|
||||||
|
2.3.5
|
||||||
|
|
102
0001-Make-cpp-poppler-version.h-header-optional.patch
Normal file
102
0001-Make-cpp-poppler-version.h-header-optional.patch
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
From 459fe2262e26c3f24108e5ba1bdf342b6236cf54 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tomas.chvatal@gmail.com>
|
||||||
|
Date: Thu, 16 Apr 2015 10:13:06 +0200
|
||||||
|
Subject: [PATCH] Make cpp/poppler-version.h header optional
|
||||||
|
|
||||||
|
Older popler (SLE11) does not have this header yet.
|
||||||
|
With the code simply if the header not found define version to oldest
|
||||||
|
possible working candidate and also raise the .pc check to the same.
|
||||||
|
|
||||||
|
Change-Id: I039c879879188fe2eb90cd119b80a1d6354a6a9c
|
||||||
|
---
|
||||||
|
config_host/config_poppler.h.in | 10 ++++++++++
|
||||||
|
configure.ac | 9 ++++++---
|
||||||
|
sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx | 8 ++++++++
|
||||||
|
3 files changed, 24 insertions(+), 3 deletions(-)
|
||||||
|
create mode 100644 config_host/config_poppler.h.in
|
||||||
|
|
||||||
|
diff --git a/config_host/config_poppler.h.in b/config_host/config_poppler.h.in
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..458c49b
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/config_host/config_poppler.h.in
|
||||||
|
@@ -0,0 +1,10 @@
|
||||||
|
+/*
|
||||||
|
+Settings for poppler header file dection
|
||||||
|
+*/
|
||||||
|
+
|
||||||
|
+#ifndef CONFIG_POPPLER_H
|
||||||
|
+#define CONFIG_POPPLER_H
|
||||||
|
+
|
||||||
|
+#define HAVE_POPPLER_VERSION_H 0
|
||||||
|
+
|
||||||
|
+#endif
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 9e8e1d2..79effbe 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -10432,14 +10432,15 @@ if test $_os != Android -a $_os != iOS -a \( -z "$enable_pdfimport" -o "$enable_
|
||||||
|
if test "$with_system_poppler" = "yes"; then
|
||||||
|
AC_MSG_RESULT([external])
|
||||||
|
SYSTEM_POPPLER=TRUE
|
||||||
|
- PKG_CHECK_MODULES( POPPLER, poppler >= 0.8.0 )
|
||||||
|
+ PKG_CHECK_MODULES( POPPLER, poppler >= 0.12.0 )
|
||||||
|
AC_LANG_PUSH([C++])
|
||||||
|
save_CXXFLAGS=$CXXFLAGS
|
||||||
|
save_CPPFLAGS=$CPPFLAGS
|
||||||
|
CXXFLAGS="$CXXFLAGS $POPPLER_CFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $POPPLER_CFLAGS"
|
||||||
|
- AC_CHECK_HEADER([cpp/poppler-version.h], [],
|
||||||
|
- [AC_MSG_ERROR([cpp/poppler-version.h not found. Install poppler])], [])
|
||||||
|
+ AC_CHECK_HEADER([cpp/poppler-version.h],
|
||||||
|
+ [AC_DEFINE([HAVE_POPPLER_VERSION_H], 1)],
|
||||||
|
+ [])
|
||||||
|
CXXFLAGS=$save_CXXFLAGS
|
||||||
|
CPPFLAGS=$save_CPPFLAGS
|
||||||
|
AC_LANG_POP([C++])
|
||||||
|
@@ -10449,6 +10450,7 @@ if test $_os != Android -a $_os != iOS -a \( -z "$enable_pdfimport" -o "$enable_
|
||||||
|
AC_MSG_RESULT([internal])
|
||||||
|
SYSTEM_POPPLER=
|
||||||
|
BUILD_TYPE="$BUILD_TYPE POPPLER"
|
||||||
|
+ AC_DEFINE([HAVE_POPPLER_VERSION_H], 1)
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
@@ -13002,6 +13004,7 @@ AC_CONFIG_HEADERS([config_host/config_vcl.h])
|
||||||
|
AC_CONFIG_HEADERS([config_host/config_vclplug.h])
|
||||||
|
AC_CONFIG_HEADERS([config_host/config_version.h])
|
||||||
|
AC_CONFIG_HEADERS([config_host/config_oauth2.h])
|
||||||
|
+AC_CONFIG_HEADERS([config_host/config_poppler.h])
|
||||||
|
AC_OUTPUT
|
||||||
|
|
||||||
|
if test "$CROSS_COMPILING" = TRUE; then
|
||||||
|
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
|
||||||
|
index d15491b..f4fa810 100644
|
||||||
|
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
|
||||||
|
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
|
||||||
|
@@ -21,6 +21,7 @@
|
||||||
|
#define INCLUDED_SDEXT_SOURCE_PDFIMPORT_XPDFWRAPPER_PDFIOUTDEV_GPL_HXX
|
||||||
|
|
||||||
|
#include <sal/types.h>
|
||||||
|
+#include <config_poppler.h>
|
||||||
|
|
||||||
|
#if defined __GNUC__
|
||||||
|
# pragma GCC diagnostic push
|
||||||
|
@@ -50,7 +51,14 @@
|
||||||
|
class GfxPath;
|
||||||
|
class GfxFont;
|
||||||
|
class PDFDoc;
|
||||||
|
+#if HAVE_POPPLER_VERSION_H
|
||||||
|
#include <cpp/poppler-version.h>
|
||||||
|
+#else
|
||||||
|
+#define POPPLER_VERSION "0.12.3"
|
||||||
|
+#define POPPLER_VERSION_MAJOR 0
|
||||||
|
+#define POPPLER_VERSION_MINOR 12
|
||||||
|
+#define POPPLER_VERSION_MICRO 3
|
||||||
|
+#endif
|
||||||
|
#define POPPLER_CHECK_VERSION(major,minor,micro) \
|
||||||
|
(POPPLER_VERSION_MAJOR > (major) || \
|
||||||
|
(POPPLER_VERSION_MAJOR == (major) && POPPLER_VERSION_MINOR > (minor)) || \
|
||||||
|
--
|
||||||
|
2.3.5
|
||||||
|
|
3
0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
Normal file
3
0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:983941d31ee8d366085cadf28db75eb1f5cb03ba1e5853b98f12f7f51c63b776
|
||||||
|
size 96939
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9595601c41051356d03d0a7d5dcad334fe1b420d221f6885d143c14bb8d62163
|
||||||
|
size 1129140
|
3
26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz
Normal file
3
26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:171816288f14215c69e730f7a4f1c325739873e21f946ff83884b350574e6695
|
||||||
|
size 769268
|
BIN
2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz
(Stored with Git LFS)
Normal file
BIN
2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ae7bc26118cf1b58d8bed62ed364612d5a2380ad14acb03ca88ff3bab22b2e8b
|
||||||
|
size 262206
|
3
32f8e1417a64d3c6f2c727f9053f55ea-redland-1.0.16.tar.gz
Normal file
3
32f8e1417a64d3c6f2c727f9053f55ea-redland-1.0.16.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d9a274fc086e61119d5c9beafb8d05527e040ec86f4c0961276ca8de0a049dbd
|
||||||
|
size 1624112
|
3
3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
Normal file
3
3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5826d1551bf599b85742545f6e01a0079b93c1b2c8434bf409eddb3a29e4726b
|
||||||
|
size 1180582
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c3dd456762cd0b5fd1687f066c4bdf253d70b14729851b9cd05936a1cb46923b
|
||||||
|
size 651785
|
3
39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
Normal file
3
39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:085f2112c51fa8c1783fac12fbd452650596415121348393bb51f0f7e85a9045
|
||||||
|
size 153157
|
3
3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
Normal file
3
3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e0531091787c0f16c83965fdcbc49162c059d7f0c64669e7f119699321549743
|
||||||
|
size 5750610
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab
|
||||||
|
size 2241498
|
3
4ceb9316488b0ea01acf011023cf7fff-raptor2-2.0.9.tar.gz
Normal file
3
4ceb9316488b0ea01acf011023cf7fff-raptor2-2.0.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e26fb9c18e6ebf71100f434070d50196a21d592b715e361850c3b4e789b5f6ef
|
||||||
|
size 1788163
|
3
5821b806a98e6c38370970e682ce76e8-libcmis-0.5.0.tar.gz
Normal file
3
5821b806a98e6c38370970e682ce76e8-libcmis-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a87e02913dee3ee659db5abf6d7dafcfcd85dd4b24bf4389d8d4afe8c8dcf9b6
|
||||||
|
size 738119
|
3
594eb47b4b1210e25438d51825404d5a-glew-1.10.0.zip
Normal file
3
594eb47b4b1210e25438d51825404d5a-glew-1.10.0.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:43c6229d787673ac1d35ebaad52dfdcc78c8b55d13ee78d8e4d7e4a6cb72b050
|
||||||
|
size 860275
|
BIN
5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz
(Stored with Git LFS)
Normal file
BIN
5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2445238cd0eb167e99a1147394f61325490559f3df7e7e8f628043fb70cbf2f4
|
||||||
|
size 522654
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a25f14dad39e93a2f9cdf09166ee53981f7212dce829e4208e07a522963a8585
|
||||||
|
size 506106
|
3
7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2
Normal file
3
7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7773a8f5f0b810e0f146dbcf3dbb42e89dd8af0868235e01d9f0cdefde41a8a9
|
||||||
|
size 1665988
|
3
8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
Normal file
3
8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:abe2c57ac12ba45d83563b02e240fa95d973376de2f720aab8fe11f2e621c095
|
||||||
|
size 762419
|
3
97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
Normal file
3
97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3d853b19b1d94a6efa69e7af90f7f2b09ecf302913bee3da796c15ecfebcfac8
|
||||||
|
size 2938721
|
3
Firebird-2.5.2.26540-0.tar.bz2
Normal file
3
Firebird-2.5.2.26540-0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bbb9a408198898818d5be3c301dde0f8524fd8e2f509662121d7393e02520721
|
||||||
|
size 13805637
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fd2f751dea049c1907735eb236aeace1d811d6a8218118b00bbaa9b84dc5cd60
|
||||||
|
size 1923436
|
3
ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
Normal file
3
ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7d2797fe9f79a77009721e3f14fa4a1dec17a6d706bdc93f85f1f01d124fab66
|
||||||
|
size 2929311
|
3
b12c5f9cfdb6b04efce5a4a186b8416b-rasqal-0.9.30.tar.gz
Normal file
3
b12c5f9cfdb6b04efce5a4a186b8416b-rasqal-0.9.30.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:abf0e93d80cc79bdf383fd3e904255bf98bc729356d6cf2f673bce74b08b1cfd
|
||||||
|
size 1469921
|
3
b73baa6fbdfef197608d1f69300919b9-icu4c-53_1-src.tgz
Normal file
3
b73baa6fbdfef197608d1f69300919b9-icu4c-53_1-src.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6fa74fb5aac070c23eaba1711a7178fe582c59867484c5ec07c49002787a9a28
|
||||||
|
size 23218952
|
3
ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
Normal file
3
ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:233f66e8d25c5dd971716d4200203a612a407649686ef3b52075d04b4c9df0dd
|
||||||
|
size 743031
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d0312c360efe04dd048b3311fe375ff36f1993b4c2e3cb58c81062990532904a
|
||||||
|
size 5290295
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:db61d498105a7d5fe46185e67ac830c878cdd7dc1f82a87f06b842217924c461
|
||||||
|
size 16113737
|
3
cb4207cb913c7a5a8bfa5b91234618ee-mdds_0.11.2.tar.bz2
Normal file
3
cb4207cb913c7a5a8bfa5b91234618ee-mdds_0.11.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cd0a0dc8b35d6582efad6898546c86714eb058696ba26b0e7f8914faa002a5ab
|
||||||
|
size 154444
|
BIN
commons-logging-1.2-src.tar.gz
(Stored with Git LFS)
Normal file
BIN
commons-logging-1.2-src.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz
Normal file
3
d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1f188ac03a8aa4663223eca8c82f91a55293d066d67127082e29a7dba1a98c9f
|
||||||
|
size 16525605
|
3
d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2
Normal file
3
d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fff00023dd79486d444c8e29922f4072e1d451fc5a4d2b6075852ead7f2b7b52
|
||||||
|
size 58146647
|
3
d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
Normal file
3
d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1b5b24f7bc543c0362b667692f78db8bab4ed6dafc6172f104d0bd3757d8a133
|
||||||
|
size 207563
|
3
db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
Normal file
3
db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e1fb87f3f7b980d33414473279615c4644027e013012d156efa538bc2b031772
|
||||||
|
size 1396007
|
3
ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz
Normal file
3
ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:648f10fb764d000d6a68b2d4e008117900e853c197a024d1f91dbba9b91012ca
|
||||||
|
size 726942
|
3
eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
Normal file
3
eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:75c80359c9ce343c20aab8a36a45cb3b9ee7c61cf92c13ae45399d854423a9ba
|
||||||
|
size 427800
|
3
f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
Normal file
3
f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:05640a1f6805b2b2d7e2cb9c50db9a5cb084e3c52ab1a71ce015239b4a1d4343
|
||||||
|
size 211919
|
3
graphite2-1.2.4.tgz
Normal file
3
graphite2-1.2.4.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4bc3d5168029bcc0aa00eb2c973269d29407be2796ff56f9c80e10736bd8b003
|
||||||
|
size 6938866
|
3
harfbuzz-0.9.23.tar.bz2
Normal file
3
harfbuzz-0.9.23.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:171ab7f58e7243082a4582f4d1f21b3f44462931ea92a6909d303ad3614794c7
|
||||||
|
size 1027508
|
3
language-subtag-registry-2014-12-03.tar.bz2
Normal file
3
language-subtag-registry-2014-12-03.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:25a590bab49352b655ea7ad4ac4b7758b3a541124f4eec268733ab435f71c5f4
|
||||||
|
size 72082
|
3
lcms2-2.6.tar.gz
Normal file
3
lcms2-2.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5172528839647c54c3da211837225e221be93e4733f5b5e9f57668f7107e14b1
|
||||||
|
size 4583389
|
3
libabw-0.1.1.tar.bz2
Normal file
3
libabw-0.1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7a3d3415cf82ab9894f601d1b3057c4615060304d5279efdec6275e01b96a199
|
||||||
|
size 369311
|
3
libcdr-0.1.1.tar.bz2
Normal file
3
libcdr-0.1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:72fe7bbbf2275242acdf67ad2f9b6c71ac9146a56c409def360dabcac5695b49
|
||||||
|
size 664694
|
3
libe-book-0.1.2.tar.bz2
Normal file
3
libe-book-0.1.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b710a57c633205b933015474d0ac0862253d1c52114d535dd09b20939a0d1850
|
||||||
|
size 465922
|
3
libetonyek-0.1.1.tar.bz2
Normal file
3
libetonyek-0.1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:716edf726ba3896fe85eea9a75786948d5ddeda63a54c00f3308658cc3bbd9e4
|
||||||
|
size 423556
|
3
libfreehand-0.1.0.tar.bz2
Normal file
3
libfreehand-0.1.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c69962d5947561afeefeee71bc78ba7419e9d9b0fea8bcef2f625be867afe307
|
||||||
|
size 340549
|
3
libmspub-0.1.2.tar.bz2
Normal file
3
libmspub-0.1.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:26d488527ffbb0b41686d4bab756e3e6aaeb99f88adeb169d0c16d2cde96859a
|
||||||
|
size 429360
|
3
libmwaw-0.3.4.tar.bz2
Normal file
3
libmwaw-0.3.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:444e15e3e60e9fcc7d859b201571d9612a5347cefd6e753ce4710f638514da67
|
||||||
|
size 1170238
|
3
libodfgen-0.1.3.tar.bz2
Normal file
3
libodfgen-0.1.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:66d1f350fb9c0e8c9eec1b8c644d8531b8d6777ae7b8507f8abc4783b6d2981c
|
||||||
|
size 406636
|
3
libpagemaker-0.0.2.tar.bz2
Normal file
3
libpagemaker-0.0.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:43be46721affcb5a967406c09acfc36c79d2d968917fe36a21cc004230a01e0f
|
||||||
|
size 358918
|
@ -1,3 +1,96 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 3 16:45:27 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Disable verbose build to pass check on maximal size of log
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 24 11:43:23 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- We need pre/post for libreoffice in langpkgs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 23 15:48:11 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Use old java for detection and old commons-lang/codec to pass
|
||||||
|
brp check on java from sle11
|
||||||
|
* 0001-Make-HAVE_JAVA6-be-always-false.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 23 08:27:20 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Revert last changeset, it is caused by something else this time:
|
||||||
|
* 0001-Set-source-and-target-params-for-java.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 22 09:27:01 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Set source/target for javac when building to work on SLE11:
|
||||||
|
* 0001-Set-source-and-target-params-for-java.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 21 09:17:33 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Try to deal with rpath on bundled libs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 17 12:57:07 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Fix python3_sitelib not being around for py2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 12:23:40 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add internal make for too old system
|
||||||
|
- One more stab on poppler switch:
|
||||||
|
* 0001-Make-cpp-poppler-version.h-header-optional.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 11:45:39 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Update the old-poppler patch to work correctly:
|
||||||
|
* 0001-Make-cpp-poppler-version.h-header-optional.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 11:43:32 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Sort out more external tarballs for the no-system-libs approach
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 09:34:00 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add basic external tarballs needed for without-system-libraries
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 08:24:22 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add patch to check for poppler more nicely to work on older distros:
|
||||||
|
* 0001-Make-cpp-poppler-version.h-header-optional.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 18:50:30 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Try to pass configure without system libs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 12:43:41 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Allow switch between py2 and py3
|
||||||
|
- Move external dependencies in conditional thus allow build on
|
||||||
|
SLE11
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 11:56:26 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add conditional for noarch subpackages
|
||||||
|
- Add switch in configure to detect more of internal/external stuff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 11:42:37 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add conditional for appdatastore thing and redo it to impact the
|
||||||
|
spec less
|
||||||
|
- Add systemlibs switch to be used in attempt to build sle11 build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 14 13:49:22 UTC 2015 - tchvatal@suse.com
|
Tue Apr 14 13:49:22 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
353
libreoffice.spec
353
libreoffice.spec
@ -16,6 +16,43 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# Old Make and bundle or not
|
||||||
|
%if 0%{?suse_version} > 1230
|
||||||
|
%bcond_with oldmake
|
||||||
|
%else
|
||||||
|
%bcond_without oldmake
|
||||||
|
%endif
|
||||||
|
# Applications datastore
|
||||||
|
%if 0%{?suse_version} > 1315
|
||||||
|
%bcond_without appdatastore
|
||||||
|
%else
|
||||||
|
%bcond_with appdatastore
|
||||||
|
%endif
|
||||||
|
# GTK3, gstreamer and fresh doxygen switch
|
||||||
|
%if 0%{?suse_version} > 1230
|
||||||
|
%bcond_without newmedia
|
||||||
|
%else
|
||||||
|
%bcond_with newmedia
|
||||||
|
%endif
|
||||||
|
# Wether to use internal libs or rely on system ones
|
||||||
|
%if 0%{?suse_version} > 1230
|
||||||
|
%bcond_without systemlibs
|
||||||
|
%else
|
||||||
|
%bcond_with systemlibs
|
||||||
|
%endif
|
||||||
|
# Wether to provide noarch subpackages
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
|
%bcond_without noarch_subpkgs
|
||||||
|
%else
|
||||||
|
%bcond_with noarch_subpkgs
|
||||||
|
%endif
|
||||||
|
# python2 or python3 as base
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
|
%global python_type python3
|
||||||
|
%else
|
||||||
|
%global python_type python
|
||||||
|
%global python3_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
||||||
|
%endif
|
||||||
# List of supported langs, populated bellow in the lang macros
|
# List of supported langs, populated bellow in the lang macros
|
||||||
%global langpack_langs %{nil}
|
%global langpack_langs %{nil}
|
||||||
# extensions
|
# extensions
|
||||||
@ -60,6 +97,66 @@ Source2003: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
|
|||||||
Source2004: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
|
Source2004: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
|
||||||
# Needed for wiki-published and always taken as bundled
|
# Needed for wiki-published and always taken as bundled
|
||||||
Source2005: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
|
Source2005: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
|
||||||
|
# Bundled sources for without-system-libs build
|
||||||
|
Source2006: %{external_url}/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
|
||||||
|
Source2007: %{external_url}/librevenge-0.0.2.tar.bz2
|
||||||
|
Source2008: %{external_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
|
||||||
|
Source2009: %{external_url}/libetonyek-0.1.1.tar.bz2
|
||||||
|
Source2010: %{external_url}/libe-book-0.1.2.tar.bz2
|
||||||
|
Source2011: %{external_url}/libfreehand-0.1.0.tar.bz2
|
||||||
|
Source2012: %{external_url}/libodfgen-0.1.3.tar.bz2
|
||||||
|
Source2013: %{external_url}/libcdr-0.1.1.tar.bz2
|
||||||
|
Source2014: %{external_url}/libmspub-0.1.2.tar.bz2
|
||||||
|
Source2015: %{external_url}/libmwaw-0.3.4.tar.bz2
|
||||||
|
Source2016: %{external_url}/libpagemaker-0.0.2.tar.bz2
|
||||||
|
Source2017: %{external_url}/libvisio-0.1.1.tar.bz2
|
||||||
|
Source2018: %{external_url}/5821b806a98e6c38370970e682ce76e8-libcmis-0.5.0.tar.gz
|
||||||
|
Source2019: %{external_url}/libwpd-0.10.0.tar.bz2
|
||||||
|
Source2020: %{external_url}/libwpg-0.3.0.tar.bz2
|
||||||
|
Source2021: %{external_url}/libwps-0.3.1.tar.bz2
|
||||||
|
Source2022: %{external_url}/libabw-0.1.1.tar.bz2
|
||||||
|
Source2023: %{external_url}/lcms2-2.6.tar.gz
|
||||||
|
Source2024: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
|
||||||
|
Source2025: %{external_url}/cb4207cb913c7a5a8bfa5b91234618ee-mdds_0.11.2.tar.bz2
|
||||||
|
Source2026: %{external_url}/a233181e03d3c307668b4c722d881661-mariadb_client-2.0.0-src.tar.gz
|
||||||
|
Source2027: %{external_url}/7239a4430efd4d0189c4f24df67f08e5-mysql-connector-c++-1.1.4.tar.gz
|
||||||
|
Source2028: %{external_url}/d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2
|
||||||
|
Source2029: %{external_url}/594eb47b4b1210e25438d51825404d5a-glew-1.10.0.zip
|
||||||
|
Source2030: %{external_url}/bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip
|
||||||
|
Source2031: %{external_url}/b73baa6fbdfef197608d1f69300919b9-icu4c-53_1-src.tgz
|
||||||
|
Source2032: %{external_url}/graphite2-1.2.4.tgz
|
||||||
|
Source2033: %{external_url}/7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2
|
||||||
|
Source2034: %{external_url}/harfbuzz-0.9.23.tar.bz2
|
||||||
|
Source2035: %{external_url}/32f8e1417a64d3c6f2c727f9053f55ea-redland-1.0.16.tar.gz
|
||||||
|
Source2036: %{external_url}/10d61fbaa6a06348823651b1bd7940fe-libexttextcat-3.4.4.tar.bz2
|
||||||
|
Source2037: %{external_url}/26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz
|
||||||
|
Source2038: %{external_url}/ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz
|
||||||
|
Source2039: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
|
||||||
|
Source2040: %{external_url}/Firebird-2.5.2.26540-0.tar.bz2
|
||||||
|
Source2041: %{external_url}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz
|
||||||
|
Source2042: %{external_url}/4ceb9316488b0ea01acf011023cf7fff-raptor2-2.0.9.tar.gz
|
||||||
|
Source2043: %{external_url}/625ff5f2f968dd908bca43c9469d6e6b-commons-lang-2.4-src.tar.gz
|
||||||
|
Source2044: %{external_url}/2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz
|
||||||
|
Source2045: %{external_url}/commons-logging-1.2-src.tar.gz
|
||||||
|
Source2046: %{external_url}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
|
||||||
|
Source2047: %{external_url}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
|
||||||
|
Source2048: %{external_url}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
|
||||||
|
Source2049: %{external_url}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
|
||||||
|
Source2050: %{external_url}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
|
||||||
|
Source2051: %{external_url}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
|
||||||
|
Source2052: %{external_url}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
|
||||||
|
Source2053: %{external_url}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
|
||||||
|
Source2054: %{external_url}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
|
||||||
|
Source2055: %{external_url}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
|
||||||
|
Source2056: %{external_url}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
|
||||||
|
Source2057: %{external_url}/5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz
|
||||||
|
Source2058: %{external_url}/36271d3fa0d9dec1632029b6d7aac925-liblangtag-0.5.1.tar.bz2
|
||||||
|
Source2059: %{external_url}/c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2
|
||||||
|
Source2060: %{external_url}/2e482c7567908d334785ce7d69ddfff7-commons-codec-1.6-src.tar.gz
|
||||||
|
Source2061: %{external_url}/b12c5f9cfdb6b04efce5a4a186b8416b-rasqal-0.9.30.tar.gz
|
||||||
|
Source2062: %{external_url}/language-subtag-registry-2014-12-03.tar.bz2
|
||||||
|
# Make for old distros where too old gnumake resides
|
||||||
|
Source3000: http://ftp.gnu.org/gnu/make/make-4.1.tar.bz2
|
||||||
# change user config dir name from ~/.libreoffice/3 to ~/.libreoffice/3-suse
|
# change user config dir name from ~/.libreoffice/3 to ~/.libreoffice/3-suse
|
||||||
# to avoid BerkleyDB incompatibility with the plain build
|
# to avoid BerkleyDB incompatibility with the plain build
|
||||||
# FIXME: make it configurable and push upstream
|
# FIXME: make it configurable and push upstream
|
||||||
@ -72,15 +169,13 @@ Patch3: system-pyuno.diff
|
|||||||
# FIXME: the right fix is to compile the help and produce the .db_, .ht_, and other files
|
# FIXME: the right fix is to compile the help and produce the .db_, .ht_, and other files
|
||||||
Patch4: nlpsolver-no-broken-help.diff
|
Patch4: nlpsolver-no-broken-help.diff
|
||||||
Patch5: mediawiki-no-broken-help.diff
|
Patch5: mediawiki-no-broken-help.diff
|
||||||
|
# PATCH-FIX-UPSTREAM: patch to build with older poppler, will be in 5.0
|
||||||
|
Patch6: 0001-Make-cpp-poppler-version.h-header-optional.patch
|
||||||
|
# PATCH-FIX-SUSE: do not declare java6 available for without system libs build
|
||||||
|
Patch7: 0001-Make-HAVE_JAVA6-be-always-false.patch
|
||||||
# try to save space by using hardlinks
|
# try to save space by using hardlinks
|
||||||
Patch990: install-with-hardlinks.diff
|
Patch990: install-with-hardlinks.diff
|
||||||
BuildRequires: ImageMagick
|
%if %{with systemlibs}
|
||||||
BuildRequires: ant
|
|
||||||
BuildRequires: ant-apache-regexp
|
|
||||||
BuildRequires: ant-nodeps
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: bison
|
|
||||||
BuildRequires: bluez-devel
|
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: bsh2
|
BuildRequires: bsh2
|
||||||
BuildRequires: clucene-core-devel
|
BuildRequires: clucene-core-devel
|
||||||
@ -88,52 +183,27 @@ BuildRequires: commons-codec
|
|||||||
BuildRequires: commons-httpclient
|
BuildRequires: commons-httpclient
|
||||||
BuildRequires: commons-lang
|
BuildRequires: commons-lang
|
||||||
BuildRequires: commons-logging
|
BuildRequires: commons-logging
|
||||||
BuildRequires: cups-devel
|
|
||||||
BuildRequires: curl-devel
|
|
||||||
BuildRequires: db-devel
|
|
||||||
BuildRequires: dbus-1-glib-devel
|
|
||||||
BuildRequires: doxygen >= 1.8.4
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: flac-devel
|
|
||||||
BuildRequires: flex
|
|
||||||
BuildRequires: flute
|
BuildRequires: flute
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: glew-devel >= 1.10.0
|
BuildRequires: glew-devel >= 1.10.0
|
||||||
BuildRequires: glm-devel
|
BuildRequires: glm-devel
|
||||||
BuildRequires: glu-devel
|
BuildRequires: glu-devel
|
||||||
BuildRequires: gnome-vfs2-devel
|
|
||||||
BuildRequires: gperf
|
|
||||||
BuildRequires: graphite2-devel >= 0.9.3
|
BuildRequires: graphite2-devel >= 0.9.3
|
||||||
BuildRequires: gstreamer-plugins-base-devel
|
|
||||||
BuildRequires: gtk2-devel
|
|
||||||
BuildRequires: gtk3-devel
|
|
||||||
BuildRequires: harfbuzz-devel
|
BuildRequires: harfbuzz-devel
|
||||||
BuildRequires: hunspell-devel
|
|
||||||
BuildRequires: hyphen-devel
|
|
||||||
BuildRequires: icu
|
BuildRequires: icu
|
||||||
BuildRequires: java-devel >= 1.6
|
|
||||||
BuildRequires: junit4
|
BuildRequires: junit4
|
||||||
BuildRequires: krb5
|
|
||||||
BuildRequires: krb5-devel
|
|
||||||
BuildRequires: libabw-devel
|
BuildRequires: libabw-devel
|
||||||
BuildRequires: libbase
|
BuildRequires: libbase
|
||||||
BuildRequires: libcdr-devel >= 0.1
|
BuildRequires: libcdr-devel >= 0.1
|
||||||
BuildRequires: libcmis-devel >= 0.5.0
|
BuildRequires: libcmis-devel >= 0.5.0
|
||||||
BuildRequires: libcppunit-devel
|
|
||||||
BuildRequires: libe-book-devel >= 0.1.1
|
BuildRequires: libe-book-devel >= 0.1.1
|
||||||
# Fonts are needed for tests
|
|
||||||
BuildRequires: liberation-fonts
|
|
||||||
BuildRequires: libetonyek-devel >= 0.1.1
|
BuildRequires: libetonyek-devel >= 0.1.1
|
||||||
BuildRequires: libexif
|
BuildRequires: libexif
|
||||||
BuildRequires: libexpat-devel
|
|
||||||
BuildRequires: libexttextcat-devel >= 3.1.1
|
BuildRequires: libexttextcat-devel >= 3.1.1
|
||||||
BuildRequires: libfbembed-devel
|
BuildRequires: libfbembed-devel
|
||||||
BuildRequires: libfonts
|
BuildRequires: libfonts
|
||||||
BuildRequires: libformula
|
BuildRequires: libformula
|
||||||
BuildRequires: libfreehand-devel
|
BuildRequires: libfreehand-devel
|
||||||
BuildRequires: libgltf-devel
|
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libkde4-devel
|
|
||||||
BuildRequires: liblangtag-devel
|
BuildRequires: liblangtag-devel
|
||||||
BuildRequires: liblayout
|
BuildRequires: liblayout
|
||||||
BuildRequires: liblcms2-devel
|
BuildRequires: liblcms2-devel
|
||||||
@ -145,13 +215,11 @@ BuildRequires: libmysqlcppconn-devel >= 1.0.6
|
|||||||
BuildRequires: libodfgen-devel >= 0.1
|
BuildRequires: libodfgen-devel >= 0.1
|
||||||
BuildRequires: liborcus-devel >= 0.7.0
|
BuildRequires: liborcus-devel >= 0.7.0
|
||||||
BuildRequires: libpagemaker-devel
|
BuildRequires: libpagemaker-devel
|
||||||
BuildRequires: libpoppler-devel
|
|
||||||
BuildRequires: libredland-devel
|
BuildRequires: libredland-devel
|
||||||
BuildRequires: librepository
|
BuildRequires: librepository
|
||||||
BuildRequires: librevenge-devel >= 0.0.1
|
BuildRequires: librevenge-devel >= 0.0.1
|
||||||
BuildRequires: librsvg-devel
|
BuildRequires: librsvg-devel
|
||||||
BuildRequires: libserializer
|
BuildRequires: libserializer
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: libvisio-devel >= 0.1
|
BuildRequires: libvisio-devel >= 0.1
|
||||||
BuildRequires: libwpd-devel >= 0.10
|
BuildRequires: libwpd-devel >= 0.10
|
||||||
BuildRequires: libwpg-devel
|
BuildRequires: libwpg-devel
|
||||||
@ -159,45 +227,87 @@ BuildRequires: libwps-devel
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
BuildRequires: lpsolve-devel
|
BuildRequires: lpsolve-devel
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: mdds-devel >= 0.11.2
|
BuildRequires: mdds-devel >= 0.11.2
|
||||||
BuildRequires: mozilla-nspr-devel >= 4.8
|
|
||||||
BuildRequires: mozilla-nss-devel >= 3.9.3
|
|
||||||
BuildRequires: mythes-devel
|
|
||||||
BuildRequires: neon-devel >= 0.26.0
|
|
||||||
BuildRequires: npapi-sdk
|
BuildRequires: npapi-sdk
|
||||||
BuildRequires: openldap2-devel
|
|
||||||
BuildRequires: pam-devel
|
|
||||||
BuildRequires: patch
|
|
||||||
BuildRequires: pentaho-libxml
|
BuildRequires: pentaho-libxml
|
||||||
BuildRequires: pentaho-reporting-flow-engine
|
BuildRequires: pentaho-reporting-flow-engine
|
||||||
BuildRequires: perl-Archive-Zip
|
|
||||||
BuildRequires: perl-Compress-Zlib
|
|
||||||
BuildRequires: postgresql-devel
|
BuildRequires: postgresql-devel
|
||||||
BuildRequires: procps
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-xml
|
|
||||||
BuildRequires: recode
|
BuildRequires: recode
|
||||||
BuildRequires: rhino
|
BuildRequires: rhino
|
||||||
BuildRequires: sac
|
BuildRequires: sac
|
||||||
BuildRequires: sane-backends-devel
|
BuildRequires: sane-backends-devel
|
||||||
BuildRequires: ucpp
|
BuildRequires: ucpp
|
||||||
BuildRequires: unixODBC-devel
|
|
||||||
BuildRequires: unzip
|
|
||||||
BuildRequires: vigra-devel
|
BuildRequires: vigra-devel
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
|
BuildRequires: pkgconfig(fbembed)
|
||||||
|
%else
|
||||||
|
BuildRequires: chrpath
|
||||||
|
%endif
|
||||||
|
BuildRequires: ImageMagick
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: ant-apache-regexp
|
||||||
|
BuildRequires: ant-nodeps
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: bison
|
||||||
|
BuildRequires: bluez-devel
|
||||||
|
BuildRequires: cups-devel
|
||||||
|
BuildRequires: curl-devel
|
||||||
|
BuildRequires: db-devel
|
||||||
|
BuildRequires: dbus-1-glib-devel
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: flac-devel
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: gnome-vfs2-devel
|
||||||
|
BuildRequires: gperf
|
||||||
|
BuildRequires: gtk2-devel
|
||||||
|
BuildRequires: hunspell-devel
|
||||||
|
BuildRequires: hyphen-devel
|
||||||
|
BuildRequires: libcppunit-devel
|
||||||
|
BuildRequires: liberation-fonts
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libpoppler-devel
|
||||||
|
BuildRequires: mozilla-nspr-devel >= 4.8
|
||||||
|
BuildRequires: mozilla-nss-devel >= 3.9.3
|
||||||
|
BuildRequires: mythes-devel
|
||||||
|
BuildRequires: neon-devel >= 0.26.0
|
||||||
|
%if %{with newmedia}
|
||||||
|
BuildRequires: doxygen >= 1.8.4
|
||||||
|
BuildRequires: gstreamer-plugins-base-devel
|
||||||
|
BuildRequires: gtk3-devel
|
||||||
|
BuildRequires: libgltf-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: gcc47-c++
|
||||||
|
BuildRequires: gstreamer010-plugins-base-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: %{python_type}-devel
|
||||||
|
BuildRequires: %{python_type}-xml
|
||||||
|
BuildRequires: java-devel >= 1.6
|
||||||
|
BuildRequires: krb5
|
||||||
|
BuildRequires: krb5-devel
|
||||||
|
BuildRequires: libkde4-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: openldap2-devel
|
||||||
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: patch
|
||||||
|
BuildRequires: perl-Archive-Zip
|
||||||
|
BuildRequires: perl-Compress-Zlib
|
||||||
|
BuildRequires: procps
|
||||||
|
BuildRequires: unixODBC-devel
|
||||||
|
BuildRequires: unzip
|
||||||
BuildRequires: xorg-x11
|
BuildRequires: xorg-x11
|
||||||
BuildRequires: xorg-x11-fonts
|
BuildRequires: xorg-x11-fonts
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
BuildRequires: pkgconfig(fbembed)
|
Requires: %{python_type}
|
||||||
Requires: google-carlito-fonts
|
Requires: google-carlito-fonts
|
||||||
Requires: libreoffice-branding >= 4.0
|
Requires: libreoffice-branding >= 4.0
|
||||||
Requires: libreoffice-icon-themes = %{version}
|
Requires: libreoffice-icon-themes = %{version}
|
||||||
# We need at least english to launch ourselves.
|
# Fonts are needed for tests
|
||||||
Requires: liberation-fonts
|
Requires: liberation-fonts
|
||||||
|
# We need at least english to launch ourselves.
|
||||||
Requires: libreoffice-l10n-en = %{version}
|
Requires: libreoffice-l10n-en = %{version}
|
||||||
Requires: python3
|
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
Requires(post): grep
|
Requires(post): grep
|
||||||
Requires(post): gtk2
|
Requires(post): gtk2
|
||||||
@ -263,8 +373,10 @@ License: Apache-2.0 and Artistic-1.0 and BSD-3-Clause and BSD-4-Clause an
|
|||||||
Group: Productivity/Office/Suite
|
Group: Productivity/Office/Suite
|
||||||
Supplements: packageand(libreoffice:branding-upstream)
|
Supplements: packageand(libreoffice:branding-upstream)
|
||||||
Provides: libreoffice-branding = %{version}
|
Provides: libreoffice-branding = %{version}
|
||||||
BuildArch: noarch
|
|
||||||
Conflicts: otherproviders(libreoffice-branding)
|
Conflicts: otherproviders(libreoffice-branding)
|
||||||
|
%if %{with noarch_subpkgs}
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description branding-upstream
|
%description branding-upstream
|
||||||
This package includes the original branding for the LibreOffice office suite.
|
This package includes the original branding for the LibreOffice office suite.
|
||||||
@ -277,7 +389,9 @@ Requires(post): %{name} = %{version}
|
|||||||
Requires(postun): %{name} = %{version}
|
Requires(postun): %{name} = %{version}
|
||||||
Provides: libreoffice-icon-themes = %{version}
|
Provides: libreoffice-icon-themes = %{version}
|
||||||
Obsoletes: libreoffice-icon-themes < %{version}
|
Obsoletes: libreoffice-icon-themes < %{version}
|
||||||
|
%if %{with noarch_subpkgs}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description icon-theme-crystal
|
%description icon-theme-crystal
|
||||||
This package provides Crystal LibreOffice icon theme. It is used in KDE3 by default.
|
This package provides Crystal LibreOffice icon theme. It is used in KDE3 by default.
|
||||||
@ -291,7 +405,9 @@ Requires(post): %{name} = %{version}
|
|||||||
Requires(postun): %{name} = %{version}
|
Requires(postun): %{name} = %{version}
|
||||||
Provides: libreoffice-icon-themes = %{version}
|
Provides: libreoffice-icon-themes = %{version}
|
||||||
Obsoletes: libreoffice-icon-themes < %{version}
|
Obsoletes: libreoffice-icon-themes < %{version}
|
||||||
|
%if %{with noarch_subpkgs}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description icon-theme-galaxy
|
%description icon-theme-galaxy
|
||||||
This package provides Galaxy LibreOffice icon theme. It is used in the original OOo-3.x by default.
|
This package provides Galaxy LibreOffice icon theme. It is used in the original OOo-3.x by default.
|
||||||
@ -305,7 +421,9 @@ Requires(post): %{name} = %{version}
|
|||||||
Requires(postun): %{name} = %{version}
|
Requires(postun): %{name} = %{version}
|
||||||
Provides: libreoffice-icon-themes = %{version}
|
Provides: libreoffice-icon-themes = %{version}
|
||||||
Obsoletes: libreoffice-icon-themes < %{version}
|
Obsoletes: libreoffice-icon-themes < %{version}
|
||||||
|
%if %{with noarch_subpkgs}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description icon-theme-hicontrast
|
%description icon-theme-hicontrast
|
||||||
This package provides Hicontrast LibreOffice icon theme.
|
This package provides Hicontrast LibreOffice icon theme.
|
||||||
@ -319,7 +437,9 @@ Requires(post): %{name} = %{version}
|
|||||||
Requires(postun): %{name} = %{version}
|
Requires(postun): %{name} = %{version}
|
||||||
Provides: libreoffice-icon-themes = %{version}
|
Provides: libreoffice-icon-themes = %{version}
|
||||||
Obsoletes: libreoffice-icon-themes < %{version}
|
Obsoletes: libreoffice-icon-themes < %{version}
|
||||||
|
%if %{with noarch_subpkgs}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description icon-theme-oxygen
|
%description icon-theme-oxygen
|
||||||
This package provides Oxygen LibreOffice icon theme. It is used in KDE4 by default.
|
This package provides Oxygen LibreOffice icon theme. It is used in KDE4 by default.
|
||||||
@ -333,7 +453,9 @@ Requires(post): %{name} = %{version}
|
|||||||
Requires(postun): %{name} = %{version}
|
Requires(postun): %{name} = %{version}
|
||||||
Provides: libreoffice-icon-themes = %{version}
|
Provides: libreoffice-icon-themes = %{version}
|
||||||
Obsoletes: libreoffice-icon-themes < %{version}
|
Obsoletes: libreoffice-icon-themes < %{version}
|
||||||
|
%if %{with noarch_subpkgs}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description icon-theme-sifr
|
%description icon-theme-sifr
|
||||||
This package provides Sifr LibreOffice icon theme.
|
This package provides Sifr LibreOffice icon theme.
|
||||||
@ -347,7 +469,9 @@ Requires(post): %{name} = %{version}
|
|||||||
Requires(postun): %{name} = %{version}
|
Requires(postun): %{name} = %{version}
|
||||||
Provides: libreoffice-icon-themes = %{version}
|
Provides: libreoffice-icon-themes = %{version}
|
||||||
Obsoletes: libreoffice-icon-themes < %{version}
|
Obsoletes: libreoffice-icon-themes < %{version}
|
||||||
|
%if %{with noarch_subpkgs}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description icon-theme-tango
|
%description icon-theme-tango
|
||||||
This package provides Tango LibreOffice icon theme. It is used in GNOME by default
|
This package provides Tango LibreOffice icon theme. It is used in GNOME by default
|
||||||
@ -507,11 +631,13 @@ Group: Documentation/HTML
|
|||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: gcc-c++
|
Requires: gcc-c++
|
||||||
Requires: make
|
Requires: make
|
||||||
Requires: ucpp
|
|
||||||
Requires: zip
|
Requires: zip
|
||||||
Recommends: java-devel
|
Recommends: java-devel
|
||||||
Provides: libreoffice-ure-devel = %version
|
Provides: libreoffice-ure-devel = %version
|
||||||
Obsoletes: libreoffice-ure-devel < %version
|
Obsoletes: libreoffice-ure-devel < %version
|
||||||
|
%if %{with systemlibs}
|
||||||
|
Requires: ucpp
|
||||||
|
%endif
|
||||||
|
|
||||||
%description sdk
|
%description sdk
|
||||||
This package contains the files needed to build plugins/add-ons for
|
This package contains the files needed to build plugins/add-ons for
|
||||||
@ -708,17 +834,18 @@ fi \
|
|||||||
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
|
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
|
||||||
%define pkgname l10n-%{lang} \
|
%define pkgname l10n-%{lang} \
|
||||||
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
|
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
|
||||||
\
|
|
||||||
%global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \
|
%global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \
|
||||||
\
|
\
|
||||||
%package %{pkgname} \
|
%package %{pkgname} \
|
||||||
Summary: %{langname} Localization Files for LibreOffice \
|
Summary: %{langname} Localization Files for LibreOffice \
|
||||||
Group: Productivity/Office/Suite \
|
Group: Productivity/Office/Suite \
|
||||||
Requires: %{name} = %{version} \
|
Requires: %{name} = %{version} \
|
||||||
|
Provides: locale(libreoffice:%{lang}) \
|
||||||
Requires(post,): %{name} = %{version} \
|
Requires(post,): %{name} = %{version} \
|
||||||
Requires(postun,): %{name} = %{version} \
|
Requires(postun,): %{name} = %{version} \
|
||||||
Provides: locale(libreoffice:%{lang}) \
|
%if %{with noarch_subpkgs} \
|
||||||
BuildArch: noarch \
|
BuildArch: noarch \
|
||||||
|
%endif \
|
||||||
%{-m:Requires: myspell-%{-m*}}%{!-m:%{-M:Requires: myspell-%{lang}}} \
|
%{-m:Requires: myspell-%{-m*}}%{!-m:%{-M:Requires: myspell-%{lang}}} \
|
||||||
%{-r:Requires: %{-r*}} \
|
%{-r:Requires: %{-r*}} \
|
||||||
%{-p:Provides: %{name}-l10n-%{-p*}} \
|
%{-p:Provides: %{name}-l10n-%{-p*}} \
|
||||||
@ -840,10 +967,23 @@ Provides additional %{langname} translations and resources for %{project}. \
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
|
%patch6 -p1
|
||||||
|
%if !%{with systemlibs}
|
||||||
|
%patch7 -p1
|
||||||
|
%endif
|
||||||
%patch990 -p1
|
%patch990 -p1
|
||||||
# 256x256 icons
|
# 256x256 icons
|
||||||
tar -xjf %{SOURCE20}
|
tar -xjf %{SOURCE20}
|
||||||
|
|
||||||
|
# Unpack and compile new gmake
|
||||||
|
%if %{with oldmake}
|
||||||
|
tar -xjvf %{SOURCE3000}
|
||||||
|
cd make-4.1
|
||||||
|
CFLAGS="%{optflags}" %configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
cd -
|
||||||
|
%endif
|
||||||
|
|
||||||
# Do not generate doxygen timestamp
|
# Do not generate doxygen timestamp
|
||||||
echo "HTML_TIMESTAMP = NO" >> odk/docs/cpp/Doxyfile
|
echo "HTML_TIMESTAMP = NO" >> odk/docs/cpp/Doxyfile
|
||||||
echo "HTML_TIMESTAMP = NO" >> odk/docs/idl/Doxyfile
|
echo "HTML_TIMESTAMP = NO" >> odk/docs/idl/Doxyfile
|
||||||
@ -887,11 +1027,26 @@ export ARCH_FLAGS CFLAGS CXXFLAGS
|
|||||||
export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
|
export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
|
||||||
export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'
|
export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'
|
||||||
|
|
||||||
# Whack in our python3 so we don't have to use internal one
|
# Whack in our python so we don't have to use internal one
|
||||||
# which is quite nightmare.
|
# which is quite nightmare.
|
||||||
export PYTHON=%{_bindir}/python3
|
export PYTHON=%{_bindir}/%{python_type}
|
||||||
export PYTHON_CFLAGS=`pkg-config --cflags python3`
|
%if %{with newmedia}
|
||||||
export PYTHON_LIBS=`pkg-config --libs python3`
|
export PYTHON_CFLAGS=`pkg-config --cflags %{python_type}`
|
||||||
|
export PYTHON_LIBS=`pkg-config --libs %{python_type}`
|
||||||
|
%else
|
||||||
|
export PYTHON_CFLAGS=`%{python_type}-config --cflags`
|
||||||
|
export PYTHON_LIBS=`%{python_type}-config --libs`
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Old systems need help in finding the gcc
|
||||||
|
%if !%{with newmedia}
|
||||||
|
export CC=/usr/bin/gcc-4.7
|
||||||
|
export CXX=/usr/bin/g++-4.7
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with oldmake}
|
||||||
|
export PATH="$RPM_BUILD_DIR/libreoffice-%{version}/make-4.1:$PATH:/usr/sbin"
|
||||||
|
%endif
|
||||||
|
|
||||||
# do not run configure in autogen but use macro later
|
# do not run configure in autogen but use macro later
|
||||||
export NOCONFIGURE=yes
|
export NOCONFIGURE=yes
|
||||||
@ -901,9 +1056,32 @@ export NOCONFIGURE=yes
|
|||||||
--enable-mergelibs \
|
--enable-mergelibs \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--with-compat-oowrappers \
|
--with-compat-oowrappers \
|
||||||
|
%if %{with systemlibs}
|
||||||
--with-system-headers \
|
--with-system-headers \
|
||||||
--with-system-libs \
|
--with-system-libs \
|
||||||
--with-system-jars \
|
--with-system-jars \
|
||||||
|
--with-system-ucpp \
|
||||||
|
%else
|
||||||
|
--without-system-libs \
|
||||||
|
--without-system-jars \
|
||||||
|
--without-system-headers \
|
||||||
|
--without-junit \
|
||||||
|
--with-system-expat \
|
||||||
|
--with-system-curl \
|
||||||
|
--with-system-neon \
|
||||||
|
--with-system-hunspell \
|
||||||
|
--with-system-mythes \
|
||||||
|
--with-system-bluez \
|
||||||
|
--with-system-mesa-headers \
|
||||||
|
--with-system-openldap \
|
||||||
|
--with-system-odbc \
|
||||||
|
--with-system-nss \
|
||||||
|
--with-system-jpeg \
|
||||||
|
--with-system-libpng \
|
||||||
|
--with-system-cppunit \
|
||||||
|
--with-system-poppler \
|
||||||
|
--with-system-openssl \
|
||||||
|
%endif
|
||||||
--with-system-dicts \
|
--with-system-dicts \
|
||||||
--with-vendor=SUSE \
|
--with-vendor=SUSE \
|
||||||
--with-alloc=system \
|
--with-alloc=system \
|
||||||
@ -912,11 +1090,23 @@ export NOCONFIGURE=yes
|
|||||||
--with-external-tar="$RPM_SOURCE_DIR" \
|
--with-external-tar="$RPM_SOURCE_DIR" \
|
||||||
--disable-epm \
|
--disable-epm \
|
||||||
--disable-gnome-vfs \
|
--disable-gnome-vfs \
|
||||||
--disable-gstreamer-0-10 \
|
|
||||||
--disable-kdeab \
|
--disable-kdeab \
|
||||||
--disable-kde \
|
--disable-kde \
|
||||||
--disable-online-update \
|
--disable-online-update \
|
||||||
--disable-systray \
|
--disable-systray \
|
||||||
|
%if %{with newmedia}
|
||||||
|
--disable-gstreamer-0-10 \
|
||||||
|
--enable-gstreamer-1-0 \
|
||||||
|
--enable-gtk3 \
|
||||||
|
--with-doxygen \
|
||||||
|
--enable-gltf \
|
||||||
|
%else
|
||||||
|
--enable-gstreamer-0-10 \
|
||||||
|
--disable-gstreamer-1-0 \
|
||||||
|
--disable-gtk3 \
|
||||||
|
--without-doxygen \
|
||||||
|
--disable-gltf \
|
||||||
|
%endif
|
||||||
--enable-release-build \
|
--enable-release-build \
|
||||||
--enable-split-app-modules \
|
--enable-split-app-modules \
|
||||||
--enable-split-opt-features \
|
--enable-split-opt-features \
|
||||||
@ -936,10 +1126,7 @@ export NOCONFIGURE=yes
|
|||||||
--with-external-thes-dir=%{_datadir}/mythes \
|
--with-external-thes-dir=%{_datadir}/mythes \
|
||||||
--with-help \
|
--with-help \
|
||||||
--enable-odk \
|
--enable-odk \
|
||||||
--with-doxygen \
|
|
||||||
--enable-gtk3 \
|
|
||||||
--enable-kde4 \
|
--enable-kde4 \
|
||||||
--enable-gstreamer-1-0 \
|
|
||||||
--enable-evolution2 \
|
--enable-evolution2 \
|
||||||
--enable-lockdown \
|
--enable-lockdown \
|
||||||
--enable-dbus \
|
--enable-dbus \
|
||||||
@ -953,9 +1140,7 @@ export NOCONFIGURE=yes
|
|||||||
--enable-scripting-javascript \
|
--enable-scripting-javascript \
|
||||||
--disable-vlc \
|
--disable-vlc \
|
||||||
--enable-neon \
|
--enable-neon \
|
||||||
--with-system-ucpp \
|
|
||||||
--disable-ccache \
|
--disable-ccache \
|
||||||
--enable-gltf --with-system-libgltf \
|
|
||||||
--disable-coinmp \
|
--disable-coinmp \
|
||||||
--disable-collada \
|
--disable-collada \
|
||||||
--enable-symbols
|
--enable-symbols
|
||||||
@ -967,11 +1152,14 @@ sed -i -e "s|@INSTALLDIR@|%{_libdir}/%{name}|" pyuno/source/module/uno.py pyuno/
|
|||||||
# just call make here as we added the jobs in configure
|
# just call make here as we added the jobs in configure
|
||||||
# The check phase is run here too if it is split with nocheck
|
# The check phase is run here too if it is split with nocheck
|
||||||
# install of jars get broken sometimes
|
# install of jars get broken sometimes
|
||||||
make VERBOSE=true
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} distro-pack-install
|
make DESTDIR=%{buildroot} distro-pack-install
|
||||||
|
|
||||||
|
# Do not pollute build log
|
||||||
|
set +x
|
||||||
|
|
||||||
# FIXME: Hack add missing file
|
# FIXME: Hack add missing file
|
||||||
install -m755 instdir/program/libsaxlo.so %{buildroot}/%{_libdir}/%{name}/program/libsaxlo.so
|
install -m755 instdir/program/libsaxlo.so %{buildroot}/%{_libdir}/%{name}/program/libsaxlo.so
|
||||||
echo "%{_libdir}/%{name}/program/libsaxlo.so" >>file-lists/common_list.txt
|
echo "%{_libdir}/%{name}/program/libsaxlo.so" >>file-lists/common_list.txt
|
||||||
@ -1098,15 +1286,18 @@ done
|
|||||||
mkdir -p %{buildroot}%{python3_sitelib}
|
mkdir -p %{buildroot}%{python3_sitelib}
|
||||||
ln -s %{_libdir}/libreoffice/program/uno.py %{buildroot}%{python3_sitelib}/uno.py
|
ln -s %{_libdir}/libreoffice/program/uno.py %{buildroot}%{python3_sitelib}/uno.py
|
||||||
ln -s %{_libdir}/libreoffice/program/unohelper.py %{buildroot}%{python3_sitelib}/unohelper.py
|
ln -s %{_libdir}/libreoffice/program/unohelper.py %{buildroot}%{python3_sitelib}/unohelper.py
|
||||||
|
echo "%{python3_sitelib}/uno.py" >> file-lists/pyuno_list.txt
|
||||||
|
echo "%{python3_sitelib}/unohelper.py" >> file-lists/pyuno_list.txt
|
||||||
|
|
||||||
# Install appdata files, so we're shown in gnome-software (and other, future app stores)
|
# Install appdata files, so we're shown in gnome-software (and other, future app stores)
|
||||||
# upstream ships the files called libreoffice-{base,writer,...}, but the destop files are called base.destop [...]
|
# upstream ships the files called libreoffice-{base,writer,...}, but the destop files are called base.destop [...]
|
||||||
# fixup the appdata files internal reference to the .desktop file and rename them on the go to match the name
|
# fixup the appdata files internal reference to the .desktop file and rename them on the go to match the name
|
||||||
%if 0%{?suse_version} > 1315
|
%if %{with appdatastore}
|
||||||
install -m 0755 -d %{buildroot}%{_datadir}/appdata
|
install -m 0755 -d %{buildroot}%{_datadir}/appdata
|
||||||
for appdata in base calc draw impress writer; do
|
for appdata in base calc draw impress writer; do
|
||||||
sed "s/libreoffice-${appdata}.desktop/${appdata}.desktop/" \
|
sed "s/libreoffice-${appdata}.desktop/${appdata}.desktop/" \
|
||||||
sysui/desktop/appstream-appdata/libreoffice-${appdata}.appdata.xml > %{buildroot}%{_datadir}/appdata/${appdata}.appdata.xml
|
sysui/desktop/appstream-appdata/libreoffice-${appdata}.appdata.xml > %{buildroot}%{_datadir}/appdata/${appdata}.appdata.xml
|
||||||
|
echo "%{_datadir}/appdata/${appdata}.appdata.xml" >>file-lists/${appdata}_list.txt
|
||||||
done
|
done
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -1117,6 +1308,15 @@ cat file-lists/kde_list.txt >> file-lists/kde4_list.txt
|
|||||||
# Remove pointless readmes
|
# Remove pointless readmes
|
||||||
rm -rf %{buildroot}%{_libdir}/%{name}/readmes/
|
rm -rf %{buildroot}%{_libdir}/%{name}/readmes/
|
||||||
|
|
||||||
|
# Remove RPATH on some 3rd party bundled libs
|
||||||
|
%if !%{with systemlibs}
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libmwaw-0.3.so.3
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libwps-0.3.so.3
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libodfgen-0.1.so.1
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librdf-lo.so.0
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librasqal-lo.so.3
|
||||||
|
%endif
|
||||||
|
|
||||||
# We have ton of duped files so run over it
|
# We have ton of duped files so run over it
|
||||||
%fdupes %{buildroot}/usr
|
%fdupes %{buildroot}/usr
|
||||||
|
|
||||||
@ -1217,36 +1417,21 @@ exit 0
|
|||||||
|
|
||||||
%files -f file-lists/base_list.txt base
|
%files -f file-lists/base_list.txt base
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if 0%{?suse_version} > 1315
|
|
||||||
%{_datadir}/appdata/base.appdata.xml
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f file-lists/calc_list.txt calc
|
%files -f file-lists/calc_list.txt calc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if 0%{?suse_version} > 1315
|
|
||||||
%{_datadir}/appdata/calc.appdata.xml
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f file-lists/draw_list.txt draw
|
%files -f file-lists/draw_list.txt draw
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if 0%{?suse_version} > 1315
|
|
||||||
%{_datadir}/appdata/draw.appdata.xml
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f file-lists/math_list.txt math
|
%files -f file-lists/math_list.txt math
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%files -f file-lists/impress_list.txt impress
|
%files -f file-lists/impress_list.txt impress
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if 0%{?suse_version} > 1315
|
|
||||||
%{_datadir}/appdata/impress.appdata.xml
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f file-lists/writer_list.txt writer
|
%files -f file-lists/writer_list.txt writer
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if 0%{?suse_version} > 1315
|
|
||||||
%{_datadir}/appdata/writer.appdata.xml
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f file-lists/postgresql_list.txt base-drivers-postgresql
|
%files -f file-lists/postgresql_list.txt base-drivers-postgresql
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -1259,8 +1444,6 @@ exit 0
|
|||||||
|
|
||||||
%files -f file-lists/pyuno_list.txt pyuno
|
%files -f file-lists/pyuno_list.txt pyuno
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python3_sitelib}/uno.py
|
|
||||||
%{python3_sitelib}/unohelper.py
|
|
||||||
|
|
||||||
%files -f file-lists/gnome_list.txt gnome
|
%files -f file-lists/gnome_list.txt gnome
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
3
librevenge-0.0.2.tar.bz2
Normal file
3
librevenge-0.0.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dedd6fe1f643fc2f254f2ad3719547084bd86bcc482104b995caf3b828368b18
|
||||||
|
size 486777
|
3
libvisio-0.1.1.tar.bz2
Normal file
3
libvisio-0.1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be166f55208de20362cccab111deb371e2a81b17fb0a0aa93682e248759fca8d
|
||||||
|
size 515702
|
3
libwpd-0.10.0.tar.bz2
Normal file
3
libwpd-0.10.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f2bf5d65156a351ce404550dd822c8db8ab8740b393f61dba828d1b2cb33fe91
|
||||||
|
size 632272
|
3
libwpg-0.3.0.tar.bz2
Normal file
3
libwpg-0.3.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:28fc3580228a82948dfc01d07abd5076c8b0df76a68702c1a81eb88fdf377348
|
||||||
|
size 381878
|
3
libwps-0.3.1.tar.bz2
Normal file
3
libwps-0.3.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ceb6b1aac4646c641709a00a1bdceb296b30fe8b5e52446f104892e9cc338d4f
|
||||||
|
size 496436
|
3
make-4.1.tar.bz2
Normal file
3
make-4.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0bc7613389650ee6a24554b52572a272f7356164fd2c4132b0bcf13123e4fca5
|
||||||
|
size 1327342
|
Loading…
x
Reference in New Issue
Block a user