1 |
# download path contains version without the last (fourth) digit |
# download path contains version without the last (fourth) digit |
2 |
%define libo_version 4.3.3 |
%define libo_version 4.3.4 |
3 |
# Should contain .alphaX / .betaX, if this is pre-release (actually |
# Should contain .alphaX / .betaX, if this is pre-release (actually |
4 |
# pre-RC) version. The pre-release string is part of tarball file names, |
# pre-RC) version. The pre-release string is part of tarball file names, |
5 |
# so we need a way to define it easily at one place. |
# so we need a way to define it easily at one place. |
46 |
Summary: Free Software Productivity Suite |
Summary: Free Software Productivity Suite |
47 |
Name: libreoffice |
Name: libreoffice |
48 |
Version: %{libo_version}.1 |
Version: %{libo_version}.1 |
49 |
Release: %mkrel 2%{?libo_prerelease} |
Release: %mkrel 1%{?libo_prerelease} |
50 |
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0 |
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0 |
51 |
Group: Office/Suite |
Group: Office/Suite |
52 |
URL: http://www.libreoffice.org/ |
URL: http://www.libreoffice.org/ |
240 |
Patch33: 0001-Remove-smb-from-X-KDE-Protocols-lines.patch |
Patch33: 0001-Remove-smb-from-X-KDE-Protocols-lines.patch |
241 |
Patch34: 0001-libgcrypt-and-gnutls-are-only-used-by-our-internal-e.patch |
Patch34: 0001-libgcrypt-and-gnutls-are-only-used-by-our-internal-e.patch |
242 |
Patch35: 0001-allow-to-build-with-system-opencollada.patch |
Patch35: 0001-allow-to-build-with-system-opencollada.patch |
243 |
|
Patch36: 0001-Resolves-fdo-37559-revert-adding-extra-dummy-polygon.patch |
244 |
|
Patch37: 0001-Resolves-fdo-76581-copy-and-paste-slideshow-crash-in.patch |
245 |
|
Patch38: 0001-fdo-85247-copy-and-paste-of-a-slide-results-in-a-blu.patch |
246 |
|
Patch39: 0001-fdo-60712-Inherits-cell-styles-in-inserting-rows-col.patch |
247 |
|
Patch40: 0001-implement-toggling-off-removeable-master-elements-wi.patch |
248 |
|
Patch41: 0001-Resolves-fdo-78151-change-style-on-toggling-bullets-.patch |
249 |
|
Patch42: 0001-Resolves-rhbz-1161238-sync-PRESOBJ_OUTLINE-para-dept.patch |
250 |
|
Patch43: 0001-strip-off-hard-coded-numbering-from-outliner-preview.patch |
251 |
|
Patch44: 0001-have-a-stab-at-improving-impossible-question.patch |
252 |
|
Patch45: 0001-just-use-ANSI-C-declarations.patch |
253 |
|
Patch46: 0001-valgrind-check-return-of-convertDateTime-before-usin.patch |
254 |
|
Patch47: 0001-table-layout-cache-returns-wrong-rectangle.patch |
255 |
|
Patch48: 0001-impress-tables-are-not-interactively-growing.patch |
256 |
|
|
257 |
#Mageia Patch |
#Mageia Patch |
258 |
Patch1000: disable-tests.diff |
Patch1000: disable-tests.diff |
1048 |
aclocal -I m4 |
aclocal -I m4 |
1049 |
autoconf |
autoconf |
1050 |
|
|
|
# TODO: enable gltf? |
|
1051 |
# TODO: enable coinmp? |
# TODO: enable coinmp? |
1052 |
# avoid running autogen.sh on make |
# avoid running autogen.sh on make |
1053 |
touch autogen.lastrun |
touch autogen.lastrun |
1060 |
--disable-fetch-external \ |
--disable-fetch-external \ |
1061 |
--disable-gnome-vfs \ |
--disable-gnome-vfs \ |
1062 |
--disable-openssl \ |
--disable-openssl \ |
|
--enable-dbus \ |
|
1063 |
--enable-eot \ |
--enable-eot \ |
1064 |
--enable-evolution2 \ |
--enable-evolution2 \ |
1065 |
--enable-ext-nlpsolver \ |
--enable-ext-nlpsolver \ |
1066 |
--enable-ext-wiki-publisher \ |
--enable-ext-wiki-publisher \ |
|
--enable-lockdown \ |
|
1067 |
--enable-release-build \ |
--enable-release-build \ |
1068 |
--enable-scripting-beanshell \ |
--enable-scripting-beanshell \ |
1069 |
--enable-scripting-javascript \ |
--enable-scripting-javascript \ |
1070 |
--enable-symbols \ |
--enable-symbols \ |
|
--enable-vba \ |
|
1071 |
--with-build-version="%{version}-%{release}" \ |
--with-build-version="%{version}-%{release}" \ |
1072 |
--with-external-dict-dir=/usr/share/myspell \ |
--with-external-dict-dir=/usr/share/myspell \ |
1073 |
--with-external-tar="$EXTSRCDIR" \ |
--with-external-tar="$EXTSRCDIR" \ |
1368 |
rm -rf %{buildroot}%{baseinstdir}/readmes |
rm -rf %{buildroot}%{baseinstdir}/readmes |
1369 |
rm -rf %{buildroot}%{baseinstdir}/licenses |
rm -rf %{buildroot}%{baseinstdir}/licenses |
1370 |
|
|
1371 |
|
# to-do, remove this in libreoffice 4.4 when --without-ppds is gone, it'll do the right thing on its own then |
1372 |
install -m 0755 -d %{buildroot}%{baseinstdir}/share/psprint/driver |
install -m 0755 -d %{buildroot}%{baseinstdir}/share/psprint/driver |
1373 |
install -m 0644 -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS |
install -m 0644 -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS |
1374 |
|
|