automatic version update by autodist [release 7.1.1.1-1mamba;Mon Feb 15 2021]

This commit is contained in:
Automatic Build System 2024-01-06 05:34:53 +01:00
parent 8fbc074cb8
commit 35e484b851
2 changed files with 65 additions and 206 deletions

View File

@ -8,12 +8,7 @@
%define sdkinstdir %{baseinstdir}/basis%{majver}/sdk
%define fontname opensymbol
%define fontdir %{_datadir}/fonts/%{fontname}
#%define download_mirror download.documentfoundation.org
%define download_mirror download.documentfoundation.org
%define OFFICEUPD 330
%define SOPOST l*
%define _default_patch_flags -s -l
# later versions of hsqldb changed the file format,
# so if we use a later version we loose
@ -22,20 +17,17 @@
%define with_system_saxon9 1
%define with_test 0
%define with_stax 0
# TODO
%define with_gvfs 0
%define langpacks 1
Name: libreoffice
Version: 6.4.6.2
Release: 2mamba
Version: 7.1.1.1
Release: 1mamba
Summary: Free Office Suite
Group: Graphical Desktop/Applications/Office
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.documentfoundation.org/develop/
URL: https://www.documentfoundation.org/develop/
Source0: http://download.documentfoundation.org/libreoffice/src/%{pkgver}/libreoffice-%{version}.tar.xz
Source2: http://download.documentfoundation.org/libreoffice/src/%{pkgver}/libreoffice-dictionaries-%{version}.tar.xz
Source3: http://download.documentfoundation.org/libreoffice/src/%{pkgver}/libreoffice-help-%{version}.tar.xz
@ -53,10 +45,12 @@ Source28: http://dev-www.libreoffice.org/src/OpenCOLLADA-master-6509aa13af.
Source29: http://dev-www.libreoffice.org/src/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
Source30: http://dev-www.libreoffice.org/src/libgltf/libgltf-0.0.2.tar.bz2
Source31: http://dev-www.libreoffice.org/src/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
Source32: http://dev-www.libreoffice.org/src/pdfium-3963.tar.bz2
Source32: http://dev-www.libreoffice.org/src/pdfium-4306.tar.bz2
Source33: https://dev-www.libreoffice.org/extern/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
Source34: https://dev-www.libreoffice.org/extern/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar
Source35: https://dev-www.libreoffice.org/extern/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf
Source35: https://dev-www.libreoffice.org/extern/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf
Source36: https://dev-www.libreoffice.org/src/dtoa-20180411.tgz
Source37: https://dev-www.libreoffice.org/src/skia-m88-59bafeeaa7de9eb753e3778c414e01dcf013dcd8.tar.xz
Patch12: libreoffice-installfix.patch
Patch39: libreoffice-5.1.1.1-gcc-5.3-std-isnan.patch
Patch40: libreoffice-5.1.3.2-x86-cppunit.patch
@ -84,6 +78,7 @@ BuildRequires: libatk-devel
BuildRequires: libatlas-devel
BuildRequires: libblas-devel
BuildRequires: libboost-devel
BuildRequires: libbox2d-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcdr-devel
@ -163,6 +158,7 @@ BuildRequires: libxslt-devel
BuildRequires: libz-devel
BuildRequires: libzmf-devel
## AUTOBUILDREQ-END
BuildRequires: java-environment >= 9
BuildRequires: dejavu-fonts-ttf
BuildRequires: hunspell-en
BuildRequires: hunspell-it
@ -190,70 +186,8 @@ BuildRequires: xpdf
BuildRequires: zip
BuildRequires: translate-toolkit
BuildRequires: dejavu-fonts-ttf
BuildRequires: libmdds-devel
# todo
%if %with_gvfs
BuildRequires: gvfs-devel
%endif
BuildRequires: liberation-fonts-ttf
BuildRequires: sil-gentium-basic-fonts
BuildRequires: libbonobo-devel
BuildRequires: libboost-devel
BuildRequires: libcppunit-devel
BuildRequires: libcups-devel
BuildRequires: libcurl-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libevolution-data-server-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libGLU-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel
BuildRequires: libhunspell-devel
BuildRequires: libhyphen-devel
BuildRequires: libICE-devel
BuildRequires: libicu-devel
BuildRequires: libidn-devel
BuildRequires: libjpeg-turbo-devel
BuildRequires: liblp_solve-devel
BuildRequires: libmdds-devel
BuildRequires: libmysqlclient-devel
BuildRequires: libmythes-devel
BuildRequires: libneon-devel
BuildRequires: libnss-devel
BuildRequires: libnspr-devel
BuildRequires: libodbc-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpoppler-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libportaudio-devel
BuildRequires: libpostgresql-devel
BuildRequires: libpython-devel
BuildRequires: libqt4-devel
BuildRequires: libraptor-devel
BuildRequires: librdf-devel
BuildRequires: libsablotron-devel
BuildRequires: libsane-backends-devel
BuildRequires: libsilgraphite-devel
BuildRequires: libexttextcat-devel
BuildRequires: libvigra-devel
BuildRequires: libwpd-devel
BuildRequires: libwpg-devel
BuildRequires: libwps-devel
BuildRequires: libXext-devel
BuildRequires: libXinerama-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
BuildRequires: libmdb-devel
#BuildRequires: mdbtools
BuildRequires: mono-devel
BuildRequires: mysql-connector-c++-devel
BuildRequires: openclipart
@ -289,44 +223,37 @@ BuildRequires: postgresql-jdbc
BuildRequires: java-saxon9 >= 9.1.0.7
%endif
BuildRequires: java-pentaho-reporting-flow-engine
# for the KDE subpackage
BuildRequires: kdelibs-devel
BuildRequires: hunspell-es
BuildRequires: hyphen-es
BuildRequires: mythes-es
BuildRequires: mythes-it
BuildRequires: valgrind
BuildRequires: libSampleICC-devel
BuildRequires: libcdr-devel
BuildRequires: libcmis-devel >= 0.3
BuildRequires: liblangtag-devel
BuildRequires: libexttextcat-devel >= 3.4
BuildRequires: libboost-devel >= 1.54
BuildRequires: libodfgen-devel
BuildRequires: libmwaw-devel
BuildRequires: libmdds0-devel >= 0.8
#BuildRequires: libixion-devel >= 0.5
BuildRequires: liborcus-devel >= 0.15.3
BuildRequires: libe-book-devel
BuildRequires: libetonyek-devel
BuildRequires: libfreehand-devel
BuildRequires: libmwaw-devel
BuildRequires: libabw-devel
BuildRequires: firebird-devel
BuildRequires: libicu-devel >= 52.1
BuildRequires: libpoppler-devel >= 0.24.5
BuildRequires: libmspub-devel >= 0.1.1
BuildRequires: libglm-devel
BuildRequires: libpagemaker-devel
BuildRequires: libcoinmp-devel
BuildRequires: libgltf-devel
BuildRequires: libepubgen-devel
BuildRequires: libqxp-devel
BuildRequires: libnumbertext-devel
BuildRequires: python-lxml-py3
BuildRequires: libzmf-devel
BuildRequires: libboost-devel >= 1.69.0-2mamba
# Past added library requirements that maybe no longer required
BuildRequires: libSampleICC-devel
#BuildRequires: libmdds0-devel >= 0.8
#BuildRequires: libixion-devel >= 0.5
BuildRequires: libglm-devel
BuildRequires: libgltf-devel
BuildRequires: libqrcodegen-devel
BuildRequires: libmdds-devel
BuildRequires: libbonobo-devel
BuildRequires: libcppunit-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libevolution-data-server-devel
BuildRequires: libGLU-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libidn-devel
BuildRequires: libodbc-devel
BuildRequires: libpoppler-glib-devel
#BuildRequires: libportaudio-devel
BuildRequires: libpython-devel
BuildRequires: libsablotron-devel
BuildRequires: libsane-backends-devel
#BuildRequires: libsilgraphite-devel
BuildRequires: libvigra-devel
BuildRequires: libmdb-devel
#BuildRequires: mdbtools
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -337,15 +264,10 @@ Sophisticated and flexible, LibreOffice also works transparently with a variety
%package core
Summary: Core modules for LibreOffice
Group: Graphical Desktop/Applications/Office
#Requires: %{name}-%{fontname}-fonts = %{version}-%{release}
#Requires: %{name}-ure = %{version}-%{release}
Requires: dejavu-fonts-ttf
Requires: liberation-fonts-ttf
Requires: hunspell-en
Requires: hyphen-en
#Requires: java-lucene
#Requires: java-lucene-contrib
#Requires: libreofficei18n
%if %with_system_saxon9
Requires: java-saxon9 == 9.1.0.7
%endif
@ -365,7 +287,6 @@ The shared core libraries and support files for LibreOffice.
Summary: Python support for LibreOffice
Group: Development/Libraries/Python
Requires: %{name}-core = %{version}-%{release}
#Requires: %{name}-ure = %{version}-%{release}
Requires: python
Obsoletes: OpenOffice-pyuno
Provides: libreoffice-pythonscript
@ -381,7 +302,6 @@ Group: Graphical Desktop/Applications/Office
Requires: java-hsqldb1 < 1.8.1
%endif
Requires: postgresql-jdbc
#Requires: %{name}-ure = %{version}-%{release}
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-calc = %{version}-%{release}
Provides: %{name}-reportdesign
@ -418,19 +338,6 @@ Requires: %{name}-core = %{version}-%{release}
%description rhino
Support JavaScript scripts in LibreOffice.
#%package wiki-publisher
#Summary: Create Wiki articles on MediaWiki servers with LibreOffice
#Group: Graphical Desktop/Applications/Office
#Requires: jakarta-commons-codec == 1.3
#Requires: jakarta-commons-httpclient == 3.1
#Requires: jakarta-commons-lang == 2.3
#Requires: jakarta-commons-logging == 1.1.1
#Requires: %{name}-writer = %{version}-%{release}
#Requires: %{name}-core
#
#%description wiki-publisher
#The Wiki Publisher enables you to create Wiki articles on MediaWiki servers without having to know the syntax of the MediaWiki markup language. Publish your new and existing documents transparently with writer to a wiki page.
%package ogltrans
Summary: 3D OpenGL slide transitions for LibreOffice
Group: Graphical Desktop/Applications/Office
@ -441,41 +348,6 @@ Requires: %{name}-core
OpenGL Transitions enable 3D slide transitions to be used in LibreOffice.
Requires good quality 3D support for your graphics card for best experience.
#%package presentation-minimizer
#Summary: Shrink LibreOffice presentations
#Group: Graphical Desktop/Applications/Office
#Requires: %{name}-impress = %{version}-%{release}
#Requires: %{name}-core
#
#%description presentation-minimizer
#The Presentation Minimizer is used to reduce the file size of the current presentation. Images will be compressed, and data that is no longer needed will be removed.
#%package presenter-screen
#Summary: Presenter Screen for LibreOffice Presentations
#Group: Graphical Desktop/Applications/Office
#Requires: %{name}-impress = %{version}-%{release}
#Requires: %{name}-core
#
#%description presenter-screen
#The Presenter Screen is used to provides information on a second screen, that typically is not visible to the audience when delivering a presentation. e.g. slide notes.
#%package pdfimport
#Summary: PDF Importer for LibreOffice Draw
#Group: Graphical Desktop/Applications/Office
#Requires: %{name}-draw = %{version}-%{release}
#Requires: %{name}-core
#
#%description pdfimport
#The PDF Importer imports PDF into drawing documents to preserve layout and enable basic editing of PDF documents.
#%package %{fontname}-fonts
#Summary: LibreOffice dingbats font
#Group: System/Fonts
##BuildArch: noarch
#%description %{fontname}-fonts
#A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and mathematical symbols.
%package writer
Summary: LibreOffice Word Processor Application
Group: Graphical Desktop/Applications/Office
@ -500,7 +372,6 @@ Enables the LibreOffice writer module to mail-merge to email.
Summary: LibreOffice Spreadsheet Application
Group: Graphical Desktop/Applications/Office
Requires: %{name}-core = %{version}-%{release}
#Requires: %{name}-ure = %{version}-%{release}
Obsoletes: OpenOffice-Calc
%description calc
@ -510,8 +381,6 @@ The LibreOffice Spreadsheet application.
Summary: LibreOffice Drawing Application
Group: Graphical Desktop/Applications/Office
Requires: %{name}-core = %{version}-%{release}
#Requires: %{name}-ure = %{version}-%{release}
#Requires: %{name}-pdfimport = %{version}-%{release}
Requires: %{name}-graphicfilter = %{version}-%{release}
Obsoletes: OpenOffice-Draw
@ -530,8 +399,6 @@ The LibreOffice Kit.
Summary: LibreOffice Presentation Application
Group: Graphical Desktop/Applications/Office
Requires: %{name}-core = %{version}-%{release}
#Requires: %{name}-ure = %{version}-%{release}
#Requires: %{name}-presenter-screen = %{version}-%{release}
Obsoletes: OpenOffice-Impress
Provides: %{name}-ogltrans
Obsoletes: %{name}-ogltrans
@ -543,7 +410,6 @@ The LibreOffice Presentation Application.
Summary: LibreOffice Equation Editor Application
Group: Graphical Desktop/Applications/Office
Requires: %{name}-core = %{version}-%{release}
#Requires: %{name}-ure = %{version}-%{release}
Obsoletes: OpenOffice-Math
%description math
@ -567,7 +433,6 @@ The xsltfilter module for LibreOffice, provides the following additional filters
%package testtools
Summary: Testtools for LibreOffice
Group: Development/Tools
#Requires: %{name}-ure = %{version}-%{release}
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-writer = %{version}-%{release}
Requires: %{name}-calc = %{version}-%{release}
@ -575,8 +440,6 @@ Requires: %{name}-draw = %{version}-%{release}
Requires: %{name}-impress = %{version}-%{release}
Requires: %{name}-base = %{version}-%{release}
Requires: %{name}-math = %{version}-%{release}
#Requires: %{name}-bsh = %{version}-%{release}
#Requires: %{name}-rhino = %{version}-%{release}
Obsoletes: OpenOffice-testtool
%description testtools
@ -630,20 +493,9 @@ Requires: %{name}-core = %{version}-%{release}
%description pythonscript
The LibreOffice script provider for Python optional extension.
#%package ure
#Summary: UNO Runtime Environment
#Group: Development/Libraries/Java
#Requires: java-gcj-compat-runtime
#Requires: java-openjdk-runtime
#Requires: unzip
#
#%description ure
#UNO is the component model of LibreOffice. UNO offers interoperability between programming languages, other components models and hardware architectures, either in process or over process boundaries, in the Intranet as well as in the Internet. UNO components may be implemented in and accessed from any programming language for which a UNO implementation (AKA language binding) and an appropriate bridge or adapter exists
%package sdk
Summary: Software Development Kit for LibreOffice
Group: Development/Tools
#Requires: %{name}-ure = %{version}-%{release}
Requires: %{name}-core = %{version}-%{release}
Requires: unzip
@ -658,16 +510,6 @@ Requires: %{name}-sdk = %{version}-%{release}
%description sdk-doc
This provides documentation for programming using the LibreOffice APIs and examples of creating extensions (UNO components) for LibreOffice.
#%package headless
#Summary: LibreOffice Headless plug-in
#Group: Development/Libraries
##Requires: %{name}-ure = %{version}-%{release}
#Requires: %{name}-core = %{version}-%{release}
#
#%description headless
#A plug-in for LibreOffice that enables it to function without an X server.
#It implements the -headless command line option and allows LibreOffice to be used as a backend server for e.g. document conversion.
%package kde
Summary: LibreOffice KDE integration plug-in
Group: Graphical Desktop/Applications/Office
@ -688,9 +530,9 @@ A plug-in for LibreOffice that enables integration into the GNOME desktop enviro
%debug_package
%prep
#% setup -q -b 2 -b 3 -b4 -a5
%setup -q -c -T -D
:<< ____EOF
%setup -q -b 2 -b 3 -b4 -a5
#%setup -q -c -T -D
#:<< ____EOF
#rm -rf libreoffice-*/git-hooks
#for a in libreoffice-*/*; do mv $PWD/$a .; done
@ -699,8 +541,8 @@ A plug-in for LibreOffice that enables integration into the GNOME desktop enviro
#mv translations src
%patch12 -p1 -b .libreoffice-installfix.patch
%patch45 -p1
#%patch12 -p1 -b .libreoffice-installfix.patch
#%patch45 -p1
#%patch46 -p1
touch scripting/source/pyprov/delzip
@ -724,6 +566,8 @@ ln -s %{SOURCE32} ext_sources
ln -s %{SOURCE33} ext_sources
ln -s %{SOURCE34} ext_sources
ln -s %{SOURCE35} ext_sources
ln -s %{SOURCE36} ext_sources
ln -s %{SOURCE37} ext_sources
chmod +x bin/unpack-sources
@ -742,9 +586,10 @@ fi
# tools/Module_tools.mk sccomp/Module_sccomp.mk svx/Module_svx.mk
%build
echo build start time is `date`, diskspace: `df -h . | tail -n 1`
#:<< _EOF
export JAVA_HOME=%{java_home}
export JAVACMD=%{java_home}/bin/java
#:<< ___EOF
#./autogen.sh
@ -930,7 +775,7 @@ JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1" SAL_USE_VCLPLUGIN="svp" timeout -k 2m
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post core
update-mime-database %{_datadir}/mime &> /dev/null || :
update-mime-database -n %{_datadir}/mime &> /dev/null || :
update-desktop-database %{_datadir}/applications &> /dev/null || :
if [ -x /usr/bin/gtk-update-icon-cache ]; then
for theme in hicolor locolor; do
@ -944,7 +789,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
fi
%postun core
update-mime-database %{_datadir}/mime &> /dev/null || :
update-mime-database -n %{_datadir}/mime &> /dev/null || :
update-desktop-database %{_datadir}/applications &> /dev/null || :
if [ -x /usr/bin/gtk-update-icon-cache ]; then
for theme in hicolor locolor; do
@ -995,30 +840,30 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%files core -f file-lists/common_list.txt
%defattr(-,root,root)
%{_datadir}/appdata/org.libreoffice.kde.metainfo.xml
%{_datadir}/metainfo/org.libreoffice.kde.metainfo.xml
%{_libdir}/libreoffice/program/libkf5be1lo.so
%{_libdir}/libreoffice/program/libvclplug_kf5lo.so
%{_libdir}/libreoffice/program/libvclplug_qt5lo.so
%files base -f file-lists/base_list.txt
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-base.appdata.xml
%{_datadir}/metainfo/libreoffice-base.appdata.xml
%files calc -f file-lists/calc_list.txt
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-calc.appdata.xml
%{_datadir}/metainfo/libreoffice-calc.appdata.xml
%files draw -f file-lists/draw_list.txt
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-draw.appdata.xml
%{_datadir}/metainfo/libreoffice-draw.appdata.xml
%files writer -f file-lists/writer_list.txt
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-writer.appdata.xml
%{_datadir}/metainfo/libreoffice-writer.appdata.xml
%files impress -f file-lists/impress_list.txt
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-impress.appdata.xml
%{_datadir}/metainfo/libreoffice-impress.appdata.xml
%files math -f file-lists/math_list.txt
%defattr(-,root,root)
@ -1106,6 +951,7 @@ This package contains %{langname} translations and resources for LibreOffice.\
%langpack -l bs -n Bosnian -F
%langpack -l ca -n Catalan -F
%langpack -l ca_valencia -n %{quote:Catalan (Valencia)}
%langpack -l ckb -n %{quote:Sorani Kurdish}
%langpack -l cs -n Czech -F
%langpack -l cy -n Welsh -F
%langpack -l da -n Danish -F
@ -1124,6 +970,7 @@ This package contains %{langname} translations and resources for LibreOffice.\
%langpack -l fa -n Persian -F
%langpack -l fi -n Finnish -F
%langpack -l fr -n French -F
%langpack -l fur -n Friulan
%langpack -l fy -n Frisian
%langpack -l ga -n Irish -F
%langpack -l gd -n %{quote:Gaelic (Scottish)}
@ -1210,6 +1057,18 @@ This package contains %{langname} translations and resources for LibreOffice.\
%langpack -l zu -n Zulu -F -H -Y
%changelog
* Mon Feb 15 2021 Automatic Build System <autodist@mambasoft.it> 7.1.1.1-1mamba
- automatic version update by autodist
* Sat Jan 30 2021 Automatic Build System <autodist@mambasoft.it> 7.1.0.3-1mamba
- automatic version update by autodist
* Thu Jan 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.0.1-1mamba
- update to 7.1.0.1
* Thu Nov 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.3.1-1mamba
- update to 7.0.3.1
* Sat Sep 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.6.2-2mamba
- langpacks support