Accepting request 149945 from LibreOffice:Factory

- do-not-delete-PropertyMapEntry-instance.diff: lost charts (bnc#798271) (forwarded request 149943 from pmladek)

OBS-URL: https://build.opensuse.org/request/show/149945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=42
This commit is contained in:
Stephan Kulow 2013-01-29 13:17:07 +00:00 committed by Git OBS Bridge
commit 4afec9fc2d
18 changed files with 272 additions and 18 deletions

View File

@ -0,0 +1,75 @@
From 4153bcbc8e568e8e33c56bab68e9ea036c5dce5b Mon Sep 17 00:00:00 2001
From: Kohei Yoshida <kohei.yoshida@gmail.com>
Date: Thu, 24 Jan 2013 22:24:44 -0500
Subject: [PATCH] bnc#798271: Don't delete the PropertyMapEntry instance
prematurely.
When using comphelper::PropertyMapEntry array to create a UNO property
set, we need to make sure we keep this instance while the property set
object is alive, else it would cause a very hard-to-debug problem down
the road...
In this particular case, the aExportInfoMap array instance was destroyed
when it went out of scope, but the xInfoSet which references it was used
afterward.
Change-Id: I02132b6b2e6bef7b461f0f77c2c4a3e911e42014
---
chart2/source/model/filter/XMLFilter.cxx | 40 +++++++++++++++-----------------
1 file changed, 19 insertions(+), 21 deletions(-)
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx
index 2a6e35b..551e9b2 100644
--- a/chart2/source/model/filter/XMLFilter.cxx
+++ b/chart2/source/model/filter/XMLFilter.cxx
@@ -644,28 +644,26 @@ sal_Int32 XMLFilter::impl_Export(
xServiceFactory->createInstanceWithArguments(
C2U("com.sun.star.comp.Svx.GraphicExportHelper"), aGraphicResolverArgs ), uno::UNO_QUERY );
- uno::Reference< beans::XPropertySet > xInfoSet;
+ // property map for export info set
+ comphelper::PropertyMapEntry aExportInfoMap[] =
{
- // property map for export info set
- comphelper::PropertyMapEntry aExportInfoMap[] =
- {
- { MAP_LEN("UsePrettyPrinting"), 0, &::getBooleanCppuType(), beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN("BaseURI"), 0, &::getCppuType( (OUString *)0 ), beans::PropertyAttribute::MAYBEVOID, 0 },
- { MAP_LEN("StreamRelPath"), 0, &::getCppuType( (OUString *)0 ), beans::PropertyAttribute::MAYBEVOID, 0 },
- { MAP_LEN("StreamName"), 0, &::getCppuType( (OUString *)0 ), beans::PropertyAttribute::MAYBEVOID, 0 },
- { MAP_LEN("ExportTableNumberList"), 0, &::getBooleanCppuType(), beans::PropertyAttribute::MAYBEVOID, 0 },
- { NULL, 0, 0, NULL, 0, 0 }
- };
-
- xInfoSet = comphelper::GenericPropertySet_CreateInstance( new comphelper::PropertySetInfo( aExportInfoMap ) );
-
- SvtSaveOptions aSaveOpt;
- OUString sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
- sal_Bool bUsePrettyPrinting( aSaveOpt.IsPrettyPrinting() );
- xInfoSet->setPropertyValue( sUsePrettyPrinting, uno::makeAny( bUsePrettyPrinting ) );
- if( ! bOasis )
- xInfoSet->setPropertyValue( C2U("ExportTableNumberList"), uno::makeAny( true ));
- }
+ { MAP_LEN("UsePrettyPrinting"), 0, &::getBooleanCppuType(), beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN("BaseURI"), 0, &::getCppuType( (OUString *)0 ), beans::PropertyAttribute::MAYBEVOID, 0 },
+ { MAP_LEN("StreamRelPath"), 0, &::getCppuType( (OUString *)0 ), beans::PropertyAttribute::MAYBEVOID, 0 },
+ { MAP_LEN("StreamName"), 0, &::getCppuType( (OUString *)0 ), beans::PropertyAttribute::MAYBEVOID, 0 },
+ { MAP_LEN("ExportTableNumberList"), 0, &::getBooleanCppuType(), beans::PropertyAttribute::MAYBEVOID, 0 },
+ { NULL, 0, 0, NULL, 0, 0 }
+ };
+
+ uno::Reference< beans::XPropertySet > xInfoSet =
+ comphelper::GenericPropertySet_CreateInstance( new comphelper::PropertySetInfo( aExportInfoMap ) );
+
+ SvtSaveOptions aSaveOpt;
+ OUString sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
+ sal_Bool bUsePrettyPrinting( aSaveOpt.IsPrettyPrinting() );
+ xInfoSet->setPropertyValue( sUsePrettyPrinting, uno::makeAny( bUsePrettyPrinting ) );
+ if( ! bOasis )
+ xInfoSet->setPropertyValue( C2U("ExportTableNumberList"), uno::makeAny( true ));
sal_Int32 nArgs = 2;
if( xGraphicObjectResolver.is())
--
1.8.0.2

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-branding-upstream # spec file for package libreoffice-branding-upstream
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice-branding-upstream Name: libreoffice-branding-upstream
Version: 3.6.3.2.4 Version: 3.6.3.2.4
Release: 0 Release: 0

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-help-en-US # spec file for package libreoffice-help-en-US
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice-help-en-US Name: libreoffice-help-en-US
################################################################### ###################################################################
## DO NOT EDIT THIS SPEC FILE ## DO NOT EDIT THIS SPEC FILE
@ -333,5 +334,4 @@ rm -f %_datadir/%lo_home/help_en_US_list.txt.postun 2>/dev/null
%files -f file-lists/help_en_US_list.txt -n libreoffice-help-en-US %files -f file-lists/help_en_US_list.txt -n libreoffice-help-en-US
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 19 14:31:31 UTC 2013 - dmueller@suse.com
- raise memory limits / lower parallelism for emulated/native arm builds
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-help-group1 # spec file for package libreoffice-help-group1
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice-help-group1 Name: libreoffice-help-group1
################################################################### ###################################################################
## DO NOT EDIT THIS SPEC FILE ## DO NOT EDIT THIS SPEC FILE
@ -123,6 +124,7 @@ This package provides files related to the LibreOffice help
development. development.
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%package -n libreoffice-help-ast %package -n libreoffice-help-ast
Summary: Asturian Help Localization for LibreOffice Summary: Asturian Help Localization for LibreOffice
Group: Productivity/Office/Suite Group: Productivity/Office/Suite
@ -367,6 +369,12 @@ cd -
BUILD_SCRIPT_FLAGS= BUILD_SCRIPT_FLAGS=
# dmake does not work with more than 64 jobs # dmake does not work with more than 64 jobs
lo_jobs="%{?jobs:%jobs}" lo_jobs="%{?jobs:%jobs}"
%ifarch %arm
%if ! 0%{?qemu_user_space_build:1}
# native hardware is not that powerful
lo_jobs=""
%endif
%endif
if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then
echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs" echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs"
lo_jobs="64" lo_jobs="64"
@ -379,6 +387,9 @@ if test -n "$lo_jobs" -a "$lo_jobs" -gt 1 ; then
else else
mem_per_process=200 mem_per_process=200
fi fi
%if 0%{?qemu_user_space_build:1}
mem_per_process=400
%endif
max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"` max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"`
max_jobs="$(($max_mem / $mem_per_process))" max_jobs="$(($max_mem / $mem_per_process))"
test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits" test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits"
@ -589,6 +600,7 @@ rm -f %_datadir/%lo_home/help_en_GB_list.txt.postun 2>/dev/null
%endif %endif
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%files -f file-lists/help_ast_list.txt -n libreoffice-help-ast %files -f file-lists/help_ast_list.txt -n libreoffice-help-ast
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 19 14:31:31 UTC 2013 - dmueller@suse.com
- raise memory limits / lower parallelism for emulated/native arm builds
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-help-group2 # spec file for package libreoffice-help-group2
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice-help-group2 Name: libreoffice-help-group2
################################################################### ###################################################################
## DO NOT EDIT THIS SPEC FILE ## DO NOT EDIT THIS SPEC FILE
@ -123,6 +124,7 @@ This package provides files related to the LibreOffice help
development. development.
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%package -n libreoffice-help-el %package -n libreoffice-help-el
Summary: Greek Help Localization for LibreOffice Summary: Greek Help Localization for LibreOffice
Group: Productivity/Office/Suite Group: Productivity/Office/Suite
@ -355,6 +357,12 @@ cd -
BUILD_SCRIPT_FLAGS= BUILD_SCRIPT_FLAGS=
# dmake does not work with more than 64 jobs # dmake does not work with more than 64 jobs
lo_jobs="%{?jobs:%jobs}" lo_jobs="%{?jobs:%jobs}"
%ifarch %arm
%if ! 0%{?qemu_user_space_build:1}
# native hardware is not that powerful
lo_jobs=""
%endif
%endif
if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then
echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs" echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs"
lo_jobs="64" lo_jobs="64"
@ -367,6 +375,9 @@ if test -n "$lo_jobs" -a "$lo_jobs" -gt 1 ; then
else else
mem_per_process=200 mem_per_process=200
fi fi
%if 0%{?qemu_user_space_build:1}
mem_per_process=400
%endif
max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"` max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"`
max_jobs="$(($max_mem / $mem_per_process))" max_jobs="$(($max_mem / $mem_per_process))"
test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits" test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits"
@ -565,6 +576,7 @@ rm -f %_datadir/%lo_home/help_fr_list.txt.postun 2>/dev/null
%endif %endif
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%files -f file-lists/help_el_list.txt -n libreoffice-help-el %files -f file-lists/help_el_list.txt -n libreoffice-help-el
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 19 14:31:31 UTC 2013 - dmueller@suse.com
- raise memory limits / lower parallelism for emulated/native arm builds
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-help-group3 # spec file for package libreoffice-help-group3
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice-help-group3 Name: libreoffice-help-group3
################################################################### ###################################################################
## DO NOT EDIT THIS SPEC FILE ## DO NOT EDIT THIS SPEC FILE
@ -123,6 +124,7 @@ This package provides files related to the LibreOffice help
development. development.
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%package -n libreoffice-help-gl %package -n libreoffice-help-gl
Summary: Galician Help Localization for LibreOffice Summary: Galician Help Localization for LibreOffice
Group: Productivity/Office/Suite Group: Productivity/Office/Suite
@ -367,6 +369,12 @@ cd -
BUILD_SCRIPT_FLAGS= BUILD_SCRIPT_FLAGS=
# dmake does not work with more than 64 jobs # dmake does not work with more than 64 jobs
lo_jobs="%{?jobs:%jobs}" lo_jobs="%{?jobs:%jobs}"
%ifarch %arm
%if ! 0%{?qemu_user_space_build:1}
# native hardware is not that powerful
lo_jobs=""
%endif
%endif
if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then
echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs" echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs"
lo_jobs="64" lo_jobs="64"
@ -379,6 +387,9 @@ if test -n "$lo_jobs" -a "$lo_jobs" -gt 1 ; then
else else
mem_per_process=200 mem_per_process=200
fi fi
%if 0%{?qemu_user_space_build:1}
mem_per_process=400
%endif
max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"` max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"`
max_jobs="$(($max_mem / $mem_per_process))" max_jobs="$(($max_mem / $mem_per_process))"
test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits" test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits"
@ -589,6 +600,7 @@ rm -f %_datadir/%lo_home/help_km_list.txt.postun 2>/dev/null
%endif %endif
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%files -f file-lists/help_gl_list.txt -n libreoffice-help-gl %files -f file-lists/help_gl_list.txt -n libreoffice-help-gl
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 19 14:31:31 UTC 2013 - dmueller@suse.com
- raise memory limits / lower parallelism for emulated/native arm builds
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-help-group4 # spec file for package libreoffice-help-group4
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice-help-group4 Name: libreoffice-help-group4
################################################################### ###################################################################
## DO NOT EDIT THIS SPEC FILE ## DO NOT EDIT THIS SPEC FILE
@ -123,6 +124,7 @@ This package provides files related to the LibreOffice help
development. development.
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%package -n libreoffice-help-ko %package -n libreoffice-help-ko
Summary: Korean Help Localization for LibreOffice Summary: Korean Help Localization for LibreOffice
Group: Productivity/Office/Suite Group: Productivity/Office/Suite
@ -355,6 +357,12 @@ cd -
BUILD_SCRIPT_FLAGS= BUILD_SCRIPT_FLAGS=
# dmake does not work with more than 64 jobs # dmake does not work with more than 64 jobs
lo_jobs="%{?jobs:%jobs}" lo_jobs="%{?jobs:%jobs}"
%ifarch %arm
%if ! 0%{?qemu_user_space_build:1}
# native hardware is not that powerful
lo_jobs=""
%endif
%endif
if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then
echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs" echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs"
lo_jobs="64" lo_jobs="64"
@ -367,6 +375,9 @@ if test -n "$lo_jobs" -a "$lo_jobs" -gt 1 ; then
else else
mem_per_process=200 mem_per_process=200
fi fi
%if 0%{?qemu_user_space_build:1}
mem_per_process=400
%endif
max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"` max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"`
max_jobs="$(($max_mem / $mem_per_process))" max_jobs="$(($max_mem / $mem_per_process))"
test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits" test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits"
@ -565,6 +576,7 @@ rm -f %_datadir/%lo_home/help_pt_BR_list.txt.postun 2>/dev/null
%endif %endif
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%files -f file-lists/help_ko_list.txt -n libreoffice-help-ko %files -f file-lists/help_ko_list.txt -n libreoffice-help-ko
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 19 14:31:31 UTC 2013 - dmueller@suse.com
- raise memory limits / lower parallelism for emulated/native arm builds
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-help-group5 # spec file for package libreoffice-help-group5
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice-help-group5 Name: libreoffice-help-group5
################################################################### ###################################################################
## DO NOT EDIT THIS SPEC FILE ## DO NOT EDIT THIS SPEC FILE
@ -123,6 +124,7 @@ This package provides files related to the LibreOffice help
development. development.
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%package -n libreoffice-help-ru %package -n libreoffice-help-ru
Summary: Russian Help Localization for LibreOffice Summary: Russian Help Localization for LibreOffice
Group: Productivity/Office/Suite Group: Productivity/Office/Suite
@ -382,6 +384,12 @@ cd -
BUILD_SCRIPT_FLAGS= BUILD_SCRIPT_FLAGS=
# dmake does not work with more than 64 jobs # dmake does not work with more than 64 jobs
lo_jobs="%{?jobs:%jobs}" lo_jobs="%{?jobs:%jobs}"
%ifarch %arm
%if ! 0%{?qemu_user_space_build:1}
# native hardware is not that powerful
lo_jobs=""
%endif
%endif
if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then
echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs" echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs"
lo_jobs="64" lo_jobs="64"
@ -394,6 +402,9 @@ if test -n "$lo_jobs" -a "$lo_jobs" -gt 1 ; then
else else
mem_per_process=200 mem_per_process=200
fi fi
%if 0%{?qemu_user_space_build:1}
mem_per_process=400
%endif
max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"` max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"`
max_jobs="$(($max_mem / $mem_per_process))" max_jobs="$(($max_mem / $mem_per_process))"
test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits" test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits"
@ -603,6 +614,7 @@ rm -f %_datadir/%lo_home/help_zh_TW_list.txt.postun 2>/dev/null
%endif %endif
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%files -f file-lists/help_ru_list.txt -n libreoffice-help-ru %files -f file-lists/help_ru_list.txt -n libreoffice-help-ru
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -160,6 +160,12 @@ cd -
BUILD_SCRIPT_FLAGS= BUILD_SCRIPT_FLAGS=
# dmake does not work with more than 64 jobs # dmake does not work with more than 64 jobs
lo_jobs="%{?jobs:%jobs}" lo_jobs="%{?jobs:%jobs}"
%ifarch %arm
%if ! 0%{?qemu_user_space_build:1}
# native hardware is not that powerful
lo_jobs=""
%endif
%endif
if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then if test -n "$lo_jobs" -a "$lo_jobs" -gt "64" ; then
echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs" echo "Warning: dmake does not support more than 64 processes => reducing number of parallel jobs"
lo_jobs="64" lo_jobs="64"
@ -172,6 +178,9 @@ if test -n "$lo_jobs" -a "$lo_jobs" -gt 1 ; then
else else
mem_per_process=200 mem_per_process=200
fi fi
%if 0%{?qemu_user_space_build:1}
mem_per_process=400
%endif
max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"` max_mem=`LANG=C free -t -m | sed -n "s|^Total: *\([0-9]*\).*$|\1|p"`
max_jobs="$(($max_mem / $mem_per_process))" max_jobs="$(($max_mem / $mem_per_process))"
test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits" test "$lo_jobs" -gt "$max_jobs" && lo_jobs="$max_jobs" && lo_jobs_reduced="yes" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits"

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-icon-themes # spec file for package libreoffice-icon-themes
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice-icon-themes Name: libreoffice-icon-themes
Version: 3.6.3.2.4 Version: 3.6.3.2.4
Release: 0 Release: 0

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice-l10n # spec file for package libreoffice-l10n
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,7 @@
# #
###################################################################
## DO NOT EDIT THIS SPEC FILE
## Generated by:
## perl lo-l10n-gen-spec libreoffice-l10n.spec.in lo-l10n-data
###################################################################
Name: libreoffice-l10n Name: libreoffice-l10n
Version: 3.6.3.2.4 Version: 3.6.3.2.4
Release: 0 Release: 0
@ -70,6 +66,7 @@ This source package is used to build the LibreOffice artwork
development package. development package.
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%package -n libreoffice-l10n-af %package -n libreoffice-l10n-af
Summary: African Localization Files for LibreOffice Summary: African Localization Files for LibreOffice
Group: Productivity/Office/Suite Group: Productivity/Office/Suite
@ -1664,8 +1661,8 @@ PreReq: grep
PreReq: libreoffice >= 3.5 PreReq: libreoffice >= 3.5
%endif %endif
Requires: libreoffice = %{version} Requires: libreoffice = %{version}
Provides: OpenOffice_org-sh-YU:%_prefix/ooo-2.0/program/resource/sw680sh-YU.res
Provides: OpenOffice_org-sh-YU = %version Provides: OpenOffice_org-sh-YU = %version
Provides: OpenOffice_org-sh-YU:%_prefix/ooo-2.0/program/resource/sw680sh-YU.res
Obsoletes: OpenOffice_org-sh-YU < %version Obsoletes: OpenOffice_org-sh-YU < %version
# compat stuff # compat stuff
Provides: OpenOffice_org-sh = %{version} Provides: OpenOffice_org-sh = %{version}
@ -1752,8 +1749,8 @@ PreReq: libreoffice >= 3.5
%endif %endif
Requires: libreoffice = %{version} Requires: libreoffice = %{version}
Requires: scalable-font-ru Requires: scalable-font-ru
Provides: OpenOffice_org-sr-CS:%_prefix/ooo-2.0/program/resource/sw680sr-CS.res
Provides: OpenOffice_org-sr-CS = %version Provides: OpenOffice_org-sr-CS = %version
Provides: OpenOffice_org-sr-CS:%_prefix/ooo-2.0/program/resource/sw680sr-CS.res
Obsoletes: OpenOffice_org-sr-CS < %version Obsoletes: OpenOffice_org-sr-CS < %version
# compat stuff # compat stuff
Provides: OpenOffice_org-sr = %{version} Provides: OpenOffice_org-sr = %{version}
@ -2259,6 +2256,7 @@ rm -rf %{buildroot}
%if %test_build_langs >= 2 %if %test_build_langs >= 2
# af # af
%posttrans -n libreoffice-l10n-af %posttrans -n libreoffice-l10n-af
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_af_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_af_list.txt || true
@ -2269,6 +2267,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_af_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_af_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_af_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_af_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_af_list.txt.postun 2>/dev/null
# am # am
%posttrans -n libreoffice-l10n-am %posttrans -n libreoffice-l10n-am
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_am_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_am_list.txt || true
@ -2279,6 +2278,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_am_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_am_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_am_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_am_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_am_list.txt.postun 2>/dev/null
# ar # ar
%posttrans -n libreoffice-l10n-ar %posttrans -n libreoffice-l10n-ar
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ar_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ar_list.txt || true
@ -2289,6 +2289,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ar_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ar_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ar_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ar_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ar_list.txt.postun 2>/dev/null
# as # as
%posttrans -n libreoffice-l10n-as %posttrans -n libreoffice-l10n-as
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_as_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_as_list.txt || true
@ -2299,6 +2300,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_as_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_as_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_as_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_as_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_as_list.txt.postun 2>/dev/null
# ast # ast
%posttrans -n libreoffice-l10n-ast %posttrans -n libreoffice-l10n-ast
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ast_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ast_list.txt || true
@ -2309,6 +2311,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ast_list.txt %{_datadir}/%ooo_h
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ast_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ast_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ast_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ast_list.txt.postun 2>/dev/null
# be-BY # be-BY
%posttrans -n libreoffice-l10n-be-BY %posttrans -n libreoffice-l10n-be-BY
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_be_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_be_list.txt || true
@ -2319,6 +2322,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_be_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_be_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_be_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_be_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_be_list.txt.postun 2>/dev/null
# bg # bg
%posttrans -n libreoffice-l10n-bg %posttrans -n libreoffice-l10n-bg
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_bg_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_bg_list.txt || true
@ -2329,6 +2333,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_bg_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_bg_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_bg_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_bg_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_bg_list.txt.postun 2>/dev/null
# br # br
%posttrans -n libreoffice-l10n-br %posttrans -n libreoffice-l10n-br
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_br_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_br_list.txt || true
@ -2339,6 +2344,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_br_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_br_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_br_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_br_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_br_list.txt.postun 2>/dev/null
# ca # ca
%posttrans -n libreoffice-l10n-ca %posttrans -n libreoffice-l10n-ca
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ca_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ca_list.txt || true
@ -2352,6 +2358,7 @@ rm -f %{_datadir}/%ooo_home/lang_ca_list.txt.postun 2>/dev/null
%if %test_build_langs >= 1 %if %test_build_langs >= 1
# cs # cs
%posttrans -n libreoffice-l10n-cs %posttrans -n libreoffice-l10n-cs
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_cs_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_cs_list.txt || true
@ -2365,6 +2372,7 @@ rm -f %{_datadir}/%ooo_home/lang_cs_list.txt.postun 2>/dev/null
%if %test_build_langs >= 2 %if %test_build_langs >= 2
# cy # cy
%posttrans -n libreoffice-l10n-cy %posttrans -n libreoffice-l10n-cy
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_cy_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_cy_list.txt || true
@ -2375,6 +2383,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_cy_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_cy_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_cy_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_cy_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_cy_list.txt.postun 2>/dev/null
# da # da
%posttrans -n libreoffice-l10n-da %posttrans -n libreoffice-l10n-da
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_da_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_da_list.txt || true
@ -2388,6 +2397,7 @@ rm -f %{_datadir}/%ooo_home/lang_da_list.txt.postun 2>/dev/null
%if %test_build_langs >= 1 %if %test_build_langs >= 1
# de # de
%posttrans -n libreoffice-l10n-de %posttrans -n libreoffice-l10n-de
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_de_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_de_list.txt || true
@ -2401,6 +2411,7 @@ rm -f %{_datadir}/%ooo_home/lang_de_list.txt.postun 2>/dev/null
%if %test_build_langs >= 2 %if %test_build_langs >= 2
# el # el
%posttrans -n libreoffice-l10n-el %posttrans -n libreoffice-l10n-el
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_el_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_el_list.txt || true
@ -2411,6 +2422,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_el_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_el_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_el_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_el_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_el_list.txt.postun 2>/dev/null
# en-GB # en-GB
%posttrans -n libreoffice-l10n-en-GB %posttrans -n libreoffice-l10n-en-GB
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_en_GB_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_en_GB_list.txt || true
@ -2421,6 +2433,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_en_GB_list.txt %{_datadir}/%ooo
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_en_GB_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_en_GB_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_en_GB_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_en_GB_list.txt.postun 2>/dev/null
# en-ZA # en-ZA
%posttrans -n libreoffice-l10n-en-ZA %posttrans -n libreoffice-l10n-en-ZA
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_en_ZA_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_en_ZA_list.txt || true
@ -2431,6 +2444,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_en_ZA_list.txt %{_datadir}/%ooo
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_en_ZA_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_en_ZA_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_en_ZA_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_en_ZA_list.txt.postun 2>/dev/null
# eo # eo
%posttrans -n libreoffice-l10n-eo %posttrans -n libreoffice-l10n-eo
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_eo_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_eo_list.txt || true
@ -2441,6 +2455,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_eo_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_eo_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_eo_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_eo_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_eo_list.txt.postun 2>/dev/null
# es # es
%posttrans -n libreoffice-l10n-es %posttrans -n libreoffice-l10n-es
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_es_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_es_list.txt || true
@ -2451,6 +2466,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_es_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_es_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_es_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_es_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_es_list.txt.postun 2>/dev/null
# et # et
%posttrans -n libreoffice-l10n-et %posttrans -n libreoffice-l10n-et
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_et_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_et_list.txt || true
@ -2461,6 +2477,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_et_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_et_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_et_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_et_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_et_list.txt.postun 2>/dev/null
# eu # eu
%posttrans -n libreoffice-l10n-eu %posttrans -n libreoffice-l10n-eu
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_eu_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_eu_list.txt || true
@ -2471,6 +2488,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_eu_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_eu_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_eu_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_eu_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_eu_list.txt.postun 2>/dev/null
# fi # fi
%posttrans -n libreoffice-l10n-fi %posttrans -n libreoffice-l10n-fi
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_fi_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_fi_list.txt || true
@ -2481,6 +2499,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_fi_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_fi_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_fi_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_fi_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_fi_list.txt.postun 2>/dev/null
# fr # fr
%posttrans -n libreoffice-l10n-fr %posttrans -n libreoffice-l10n-fr
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_fr_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_fr_list.txt || true
@ -2491,6 +2510,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_fr_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_fr_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_fr_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_fr_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_fr_list.txt.postun 2>/dev/null
# ga # ga
%posttrans -n libreoffice-l10n-ga %posttrans -n libreoffice-l10n-ga
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ga_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ga_list.txt || true
@ -2501,6 +2521,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ga_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ga_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ga_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ga_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ga_list.txt.postun 2>/dev/null
# gd # gd
%posttrans -n libreoffice-l10n-gd %posttrans -n libreoffice-l10n-gd
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_gd_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_gd_list.txt || true
@ -2511,6 +2532,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_gd_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_gd_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_gd_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_gd_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_gd_list.txt.postun 2>/dev/null
# gl # gl
%posttrans -n libreoffice-l10n-gl %posttrans -n libreoffice-l10n-gl
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_gl_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_gl_list.txt || true
@ -2521,6 +2543,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_gl_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_gl_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_gl_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_gl_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_gl_list.txt.postun 2>/dev/null
# gu-IN # gu-IN
%posttrans -n libreoffice-l10n-gu-IN %posttrans -n libreoffice-l10n-gu-IN
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_gu_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_gu_list.txt || true
@ -2531,6 +2554,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_gu_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_gu_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_gu_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_gu_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_gu_list.txt.postun 2>/dev/null
# he # he
%posttrans -n libreoffice-l10n-he %posttrans -n libreoffice-l10n-he
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_he_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_he_list.txt || true
@ -2541,6 +2565,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_he_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_he_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_he_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_he_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_he_list.txt.postun 2>/dev/null
# hi-IN # hi-IN
%posttrans -n libreoffice-l10n-hi-IN %posttrans -n libreoffice-l10n-hi-IN
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hi_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hi_list.txt || true
@ -2551,6 +2576,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_hi_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_hi_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_hi_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_hi_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_hi_list.txt.postun 2>/dev/null
# hr # hr
%posttrans -n libreoffice-l10n-hr %posttrans -n libreoffice-l10n-hr
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hr_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hr_list.txt || true
@ -2564,6 +2590,7 @@ rm -f %{_datadir}/%ooo_home/lang_hr_list.txt.postun 2>/dev/null
%if %test_build_langs >= 1 %if %test_build_langs >= 1
# hu # hu
%posttrans -n libreoffice-l10n-hu %posttrans -n libreoffice-l10n-hu
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hu_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hu_list.txt || true
@ -2577,6 +2604,7 @@ rm -f %{_datadir}/%ooo_home/lang_hu_list.txt.postun 2>/dev/null
%if %test_build_langs >= 2 %if %test_build_langs >= 2
# id # id
%posttrans -n libreoffice-l10n-id %posttrans -n libreoffice-l10n-id
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_id_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_id_list.txt || true
@ -2587,6 +2615,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_id_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_id_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_id_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_id_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_id_list.txt.postun 2>/dev/null
# is # is
%posttrans -n libreoffice-l10n-is %posttrans -n libreoffice-l10n-is
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_is_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_is_list.txt || true
@ -2597,6 +2626,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_is_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_is_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_is_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_is_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_is_list.txt.postun 2>/dev/null
# it # it
%posttrans -n libreoffice-l10n-it %posttrans -n libreoffice-l10n-it
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_it_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_it_list.txt || true
@ -2610,6 +2640,7 @@ rm -f %{_datadir}/%ooo_home/lang_it_list.txt.postun 2>/dev/null
%if %test_build_langs >= 1 %if %test_build_langs >= 1
# ja # ja
%posttrans -n libreoffice-l10n-ja %posttrans -n libreoffice-l10n-ja
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ja_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ja_list.txt || true
@ -2623,6 +2654,7 @@ rm -f %{_datadir}/%ooo_home/lang_ja_list.txt.postun 2>/dev/null
%if %test_build_langs >= 2 %if %test_build_langs >= 2
# ka # ka
%posttrans -n libreoffice-l10n-ka %posttrans -n libreoffice-l10n-ka
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ka_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ka_list.txt || true
@ -2633,6 +2665,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ka_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ka_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ka_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ka_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ka_list.txt.postun 2>/dev/null
# km # km
%posttrans -n libreoffice-l10n-km %posttrans -n libreoffice-l10n-km
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_km_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_km_list.txt || true
@ -2643,6 +2676,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_km_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_km_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_km_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_km_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_km_list.txt.postun 2>/dev/null
# kn # kn
%posttrans -n libreoffice-l10n-kn %posttrans -n libreoffice-l10n-kn
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_kn_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_kn_list.txt || true
@ -2653,6 +2687,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_kn_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_kn_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_kn_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_kn_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_kn_list.txt.postun 2>/dev/null
# ko # ko
%posttrans -n libreoffice-l10n-ko %posttrans -n libreoffice-l10n-ko
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ko_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ko_list.txt || true
@ -2663,6 +2698,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ko_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ko_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ko_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ko_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ko_list.txt.postun 2>/dev/null
# lt # lt
%posttrans -n libreoffice-l10n-lt %posttrans -n libreoffice-l10n-lt
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_lt_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_lt_list.txt || true
@ -2673,6 +2709,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_lt_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_lt_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_lt_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_lt_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_lt_list.txt.postun 2>/dev/null
# mk # mk
%posttrans -n libreoffice-l10n-mk %posttrans -n libreoffice-l10n-mk
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_mk_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_mk_list.txt || true
@ -2683,6 +2720,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_mk_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_mk_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_mk_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_mk_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_mk_list.txt.postun 2>/dev/null
# ml # ml
%posttrans -n libreoffice-l10n-ml %posttrans -n libreoffice-l10n-ml
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ml_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ml_list.txt || true
@ -2693,6 +2731,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ml_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ml_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ml_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ml_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ml_list.txt.postun 2>/dev/null
# mr # mr
%posttrans -n libreoffice-l10n-mr %posttrans -n libreoffice-l10n-mr
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_mr_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_mr_list.txt || true
@ -2703,6 +2742,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_mr_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_mr_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_mr_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_mr_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_mr_list.txt.postun 2>/dev/null
# nb # nb
%posttrans -n libreoffice-l10n-nb %posttrans -n libreoffice-l10n-nb
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nb_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nb_list.txt || true
@ -2713,6 +2753,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_nb_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_nb_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_nb_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_nb_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_nb_list.txt.postun 2>/dev/null
# nl # nl
%posttrans -n libreoffice-l10n-nl %posttrans -n libreoffice-l10n-nl
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nl_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nl_list.txt || true
@ -2723,6 +2764,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_nl_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_nl_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_nl_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_nl_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_nl_list.txt.postun 2>/dev/null
# nn # nn
%posttrans -n libreoffice-l10n-nn %posttrans -n libreoffice-l10n-nn
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nn_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nn_list.txt || true
@ -2733,6 +2775,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_nn_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_nn_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_nn_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_nn_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_nn_list.txt.postun 2>/dev/null
# nr # nr
%posttrans -n libreoffice-l10n-nr %posttrans -n libreoffice-l10n-nr
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nr_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nr_list.txt || true
@ -2743,6 +2786,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_nr_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_nr_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_nr_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_nr_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_nr_list.txt.postun 2>/dev/null
# om # om
%posttrans -n libreoffice-l10n-om %posttrans -n libreoffice-l10n-om
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_om_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_om_list.txt || true
@ -2753,6 +2797,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_om_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_om_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_om_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_om_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_om_list.txt.postun 2>/dev/null
# or # or
%posttrans -n libreoffice-l10n-or %posttrans -n libreoffice-l10n-or
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_or_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_or_list.txt || true
@ -2763,6 +2808,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_or_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_or_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_or_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_or_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_or_list.txt.postun 2>/dev/null
# pa-IN # pa-IN
%posttrans -n libreoffice-l10n-pa-IN %posttrans -n libreoffice-l10n-pa-IN
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pa_IN_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pa_IN_list.txt || true
@ -2773,6 +2819,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_pa_IN_list.txt %{_datadir}/%ooo
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_pa_IN_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_pa_IN_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_pa_IN_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_pa_IN_list.txt.postun 2>/dev/null
# pl # pl
%posttrans -n libreoffice-l10n-pl %posttrans -n libreoffice-l10n-pl
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pl_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pl_list.txt || true
@ -2783,6 +2830,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_pl_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_pl_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_pl_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_pl_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_pl_list.txt.postun 2>/dev/null
# pt # pt
%posttrans -n libreoffice-l10n-pt %posttrans -n libreoffice-l10n-pt
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pt_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pt_list.txt || true
@ -2793,6 +2841,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_pt_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_pt_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_pt_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_pt_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_pt_list.txt.postun 2>/dev/null
# pt-BR # pt-BR
%posttrans -n libreoffice-l10n-pt-BR %posttrans -n libreoffice-l10n-pt-BR
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pt_BR_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pt_BR_list.txt || true
@ -2803,6 +2852,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_pt_BR_list.txt %{_datadir}/%ooo
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_pt_BR_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_pt_BR_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_pt_BR_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_pt_BR_list.txt.postun 2>/dev/null
# ro # ro
%posttrans -n libreoffice-l10n-ro %posttrans -n libreoffice-l10n-ro
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ro_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ro_list.txt || true
@ -2813,6 +2863,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ro_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ro_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ro_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ro_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ro_list.txt.postun 2>/dev/null
# ru # ru
%posttrans -n libreoffice-l10n-ru %posttrans -n libreoffice-l10n-ru
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ru_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ru_list.txt || true
@ -2823,6 +2874,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ru_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ru_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ru_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ru_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ru_list.txt.postun 2>/dev/null
# rw # rw
%posttrans -n libreoffice-l10n-rw %posttrans -n libreoffice-l10n-rw
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_rw_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_rw_list.txt || true
@ -2833,6 +2885,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_rw_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_rw_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_rw_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_rw_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_rw_list.txt.postun 2>/dev/null
# sh # sh
%posttrans -n libreoffice-l10n-sh %posttrans -n libreoffice-l10n-sh
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sh_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sh_list.txt || true
@ -2843,6 +2896,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sh_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sh_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sh_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_sh_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_sh_list.txt.postun 2>/dev/null
# sk # sk
%posttrans -n libreoffice-l10n-sk %posttrans -n libreoffice-l10n-sk
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sk_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sk_list.txt || true
@ -2853,6 +2907,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sk_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sk_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sk_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_sk_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_sk_list.txt.postun 2>/dev/null
# sl # sl
%posttrans -n libreoffice-l10n-sl %posttrans -n libreoffice-l10n-sl
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sl_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sl_list.txt || true
@ -2863,6 +2918,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sl_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sl_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sl_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_sl_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_sl_list.txt.postun 2>/dev/null
# sr # sr
%posttrans -n libreoffice-l10n-sr %posttrans -n libreoffice-l10n-sr
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sr_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sr_list.txt || true
@ -2873,6 +2929,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sr_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sr_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sr_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_sr_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_sr_list.txt.postun 2>/dev/null
# ss # ss
%posttrans -n libreoffice-l10n-ss %posttrans -n libreoffice-l10n-ss
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ss_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ss_list.txt || true
@ -2883,6 +2940,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ss_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ss_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ss_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ss_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ss_list.txt.postun 2>/dev/null
# st # st
%posttrans -n libreoffice-l10n-st %posttrans -n libreoffice-l10n-st
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_st_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_st_list.txt || true
@ -2893,6 +2951,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_st_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_st_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_st_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_st_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_st_list.txt.postun 2>/dev/null
# sv # sv
%posttrans -n libreoffice-l10n-sv %posttrans -n libreoffice-l10n-sv
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sv_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sv_list.txt || true
@ -2903,6 +2962,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sv_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sv_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_sv_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_sv_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_sv_list.txt.postun 2>/dev/null
# ta # ta
%posttrans -n libreoffice-l10n-ta %posttrans -n libreoffice-l10n-ta
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ta_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ta_list.txt || true
@ -2913,6 +2973,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ta_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ta_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ta_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ta_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ta_list.txt.postun 2>/dev/null
# te # te
%posttrans -n libreoffice-l10n-te %posttrans -n libreoffice-l10n-te
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_te_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_te_list.txt || true
@ -2923,6 +2984,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_te_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_te_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_te_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_te_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_te_list.txt.postun 2>/dev/null
# tg # tg
%posttrans -n libreoffice-l10n-tg %posttrans -n libreoffice-l10n-tg
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_tg_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_tg_list.txt || true
@ -2933,6 +2995,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_tg_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_tg_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_tg_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_tg_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_tg_list.txt.postun 2>/dev/null
# th # th
%posttrans -n libreoffice-l10n-th %posttrans -n libreoffice-l10n-th
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_th_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_th_list.txt || true
@ -2943,6 +3006,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_th_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_th_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_th_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_th_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_th_list.txt.postun 2>/dev/null
# tr # tr
%posttrans -n libreoffice-l10n-tr %posttrans -n libreoffice-l10n-tr
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_tr_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_tr_list.txt || true
@ -2953,6 +3017,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_tr_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_tr_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_tr_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_tr_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_tr_list.txt.postun 2>/dev/null
# ts # ts
%posttrans -n libreoffice-l10n-ts %posttrans -n libreoffice-l10n-ts
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ts_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ts_list.txt || true
@ -2963,6 +3028,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ts_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ts_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ts_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ts_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ts_list.txt.postun 2>/dev/null
# ug # ug
%posttrans -n libreoffice-l10n-ug %posttrans -n libreoffice-l10n-ug
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ug_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ug_list.txt || true
@ -2973,6 +3039,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ug_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ug_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ug_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ug_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ug_list.txt.postun 2>/dev/null
# uk # uk
%posttrans -n libreoffice-l10n-uk %posttrans -n libreoffice-l10n-uk
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_uk_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_uk_list.txt || true
@ -2983,6 +3050,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_uk_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_uk_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_uk_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_uk_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_uk_list.txt.postun 2>/dev/null
# ve # ve
%posttrans -n libreoffice-l10n-ve %posttrans -n libreoffice-l10n-ve
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ve_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ve_list.txt || true
@ -2993,6 +3061,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ve_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ve_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ve_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_ve_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_ve_list.txt.postun 2>/dev/null
# vi # vi
%posttrans -n libreoffice-l10n-vi %posttrans -n libreoffice-l10n-vi
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_vi_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_vi_list.txt || true
@ -3003,6 +3072,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_vi_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_vi_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_vi_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_vi_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_vi_list.txt.postun 2>/dev/null
# xh # xh
%posttrans -n libreoffice-l10n-xh %posttrans -n libreoffice-l10n-xh
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_xh_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_xh_list.txt || true
@ -3013,6 +3083,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_xh_list.txt %{_datadir}/%ooo_ho
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_xh_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_xh_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_xh_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_xh_list.txt.postun 2>/dev/null
# zh-CN # zh-CN
%posttrans -n libreoffice-l10n-zh-CN %posttrans -n libreoffice-l10n-zh-CN
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zh_CN_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zh_CN_list.txt || true
@ -3023,6 +3094,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_zh_CN_list.txt %{_datadir}/%ooo
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_zh_CN_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_zh_CN_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_zh_CN_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_zh_CN_list.txt.postun 2>/dev/null
# zh-TW # zh-TW
%posttrans -n libreoffice-l10n-zh-TW %posttrans -n libreoffice-l10n-zh-TW
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zh_TW_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zh_TW_list.txt || true
@ -3033,6 +3105,7 @@ test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_zh_TW_list.txt %{_datadir}/%ooo
test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_zh_TW_list.txt.postun || true test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_zh_TW_list.txt.postun || true
rm -f %{_datadir}/%ooo_home/lang_zh_TW_list.txt.postun 2>/dev/null rm -f %{_datadir}/%ooo_home/lang_zh_TW_list.txt.postun 2>/dev/null
# zu # zu
%posttrans -n libreoffice-l10n-zu %posttrans -n libreoffice-l10n-zu
%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zu_list.txt || true %{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zu_list.txt || true
@ -3045,6 +3118,7 @@ rm -f %{_datadir}/%ooo_home/lang_zu_list.txt.postun 2>/dev/null
%endif %endif
%if %test_build_langs >= 2 %if %test_build_langs >= 2
%files -f lang_af_list.txt -n libreoffice-l10n-af %files -f lang_af_list.txt -n libreoffice-l10n-af
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 25 10:17:26 UTC 2013 - pmladek@suse.com
- do-not-delete-PropertyMapEntry-instance.diff: lost charts (bnc#798271)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com Fri Dec 14 16:08:15 UTC 2012 - pmladek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libreoffice # spec file for package libreoffice
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
Name: libreoffice Name: libreoffice
BuildRequires: ImageMagick BuildRequires: ImageMagick
BuildRequires: ant BuildRequires: ant
@ -634,6 +635,8 @@ Patch17: pack-addressbook.diff
# add pyuno to python path # add pyuno to python path
# FIXME: related to system-python-ure-bootstrap.diff # FIXME: related to system-python-ure-bootstrap.diff
Patch18: pyuno-path.diff Patch18: pyuno-path.diff
# lost charts (bcn#798271)
Patch19: do-not-delete-PropertyMapEntry-instance.diff
# #
# default to MS Office 97/2000/XP file formats on MeeGo; asked by HP # default to MS Office 97/2000/XP file formats on MeeGo; asked by HP
Patch900: officecfg-defaul-export-ms-file-formats.diff Patch900: officecfg-defaul-export-ms-file-formats.diff
@ -1347,6 +1350,7 @@ the LibreOffice localizations separately.
%patch16 -p1 %patch16 -p1
%patch17 %patch17
%patch18 %patch18
%patch19 -p1
# #
%if 0%{?meego_version} %if 0%{?meego_version}
# default to MS Office 97/2000/XP file formats on MeeGo; asked by HP # default to MS Office 97/2000/XP file formats on MeeGo; asked by HP