From 2a2abf5bcf3821630a7c7b58981bffb7ac9ac4cf780ab26bdd97d691e48fbff2 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 8 May 2012 04:45:59 +0000 Subject: [PATCH] Accepting request 116218 from LibreOffice:Unstable IMPORTANT: You need to link libreoffice-icon-themes and libreoffice-l10n packages to this one. I have moved the corresponding spec files. As discussed with the autobuild team, it should make the life easier. I need to keep the version in sync and update the spec files at the same time. - updated to libreoffice-3.5.3.2 (3.5.3-rc2) OBS-URL: https://build.opensuse.org/request/show/116218 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=32 --- ...60e684e75310818d43-libvisio-0.0.16.tar.bz2 | 3 + buildfix-icu-4.9.diff | 96 - ...57b034c0d4662a3cee-libvisio-0.0.15.tar.bz2 | 3 - install-l10n-helper | 33 + libreoffice-3.5-unpack-sources.diff | 70 - libreoffice-binfilter-3.5.2.2.tar.bz2 | 3 - libreoffice-binfilter-3.5.3.2.tar.bz2 | 3 + libreoffice-branding-upstream.changes | 5 + libreoffice-branding-upstream.spec | 6 +- libreoffice-core-3.5.2.2.tar.bz2 | 3 - libreoffice-core-3.5.3.2.tar.bz2 | 3 + libreoffice-help-3.5.2.2.tar.bz2 | 3 - libreoffice-help-3.5.3.2.tar.bz2 | 3 + libreoffice-help-en-US.changes | 9 + libreoffice-help-en-US.spec | 10 +- libreoffice-help-en-US.spec.in | 10 +- libreoffice-help-group1.changes | 9 + libreoffice-help-group1.spec | 11 +- libreoffice-help-group2.changes | 9 + libreoffice-help-group2.spec | 11 +- libreoffice-help-group3.changes | 9 + libreoffice-help-group3.spec | 11 +- libreoffice-help-group4.changes | 9 + libreoffice-help-group4.spec | 11 +- libreoffice-help-group5.changes | 9 + libreoffice-help-group5.spec | 11 +- libreoffice-help-groupX.spec.in | 11 +- libreoffice-icon-themes.changes | 527 ++++ libreoffice-icon-themes.spec | 199 ++ libreoffice-l10n-rpmlintrc | 4 + libreoffice-l10n.changes | 744 +++++ libreoffice-l10n.spec | 2605 +++++++++++++++++ libreoffice-l10n.spec.in | 83 + libreoffice-translations-3.5.2.2.tar.bz2 | 3 - libreoffice-translations-3.5.3.2.tar.bz2 | 3 + libreoffice.changes | 50 + libreoffice.spec | 39 +- lo-l10n-data | 140 + lo-l10n-gen-spec | 335 +++ scripting-prefer-internal-rhino.diff | 24 +- 40 files changed, 4845 insertions(+), 285 deletions(-) create mode 100644 2fa6028324347860e684e75310818d43-libvisio-0.0.16.tar.bz2 delete mode 100644 buildfix-icu-4.9.diff delete mode 100644 d28864eb2b59bb57b034c0d4662a3cee-libvisio-0.0.15.tar.bz2 create mode 100644 install-l10n-helper delete mode 100644 libreoffice-3.5-unpack-sources.diff delete mode 100644 libreoffice-binfilter-3.5.2.2.tar.bz2 create mode 100644 libreoffice-binfilter-3.5.3.2.tar.bz2 delete mode 100644 libreoffice-core-3.5.2.2.tar.bz2 create mode 100644 libreoffice-core-3.5.3.2.tar.bz2 delete mode 100644 libreoffice-help-3.5.2.2.tar.bz2 create mode 100644 libreoffice-help-3.5.3.2.tar.bz2 create mode 100644 libreoffice-icon-themes.changes create mode 100644 libreoffice-icon-themes.spec create mode 100644 libreoffice-l10n-rpmlintrc create mode 100644 libreoffice-l10n.changes create mode 100644 libreoffice-l10n.spec create mode 100644 libreoffice-l10n.spec.in delete mode 100644 libreoffice-translations-3.5.2.2.tar.bz2 create mode 100644 libreoffice-translations-3.5.3.2.tar.bz2 create mode 100644 lo-l10n-data create mode 100644 lo-l10n-gen-spec diff --git a/2fa6028324347860e684e75310818d43-libvisio-0.0.16.tar.bz2 b/2fa6028324347860e684e75310818d43-libvisio-0.0.16.tar.bz2 new file mode 100644 index 0000000..7603ac8 --- /dev/null +++ b/2fa6028324347860e684e75310818d43-libvisio-0.0.16.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:498e1591351b4eb873b912a93e4c1477bb2523bb4a691c1ba02ed313943ae634 +size 382660 diff --git a/buildfix-icu-4.9.diff b/buildfix-icu-4.9.diff deleted file mode 100644 index 480506f..0000000 --- a/buildfix-icu-4.9.diff +++ /dev/null @@ -1,96 +0,0 @@ -From ba3550bc82b8fb697b905c9913e399e1835b7cc0 Mon Sep 17 00:00:00 2001 -From: Eike Rathke -Date: Tue, 3 Apr 2012 16:15:48 +0200 -Subject: [PATCH] as of ICU 4.9 RBBI the Prepend property is empty -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Backport of 43084e8b30c101a44510b7a8267d5c2b316a17bb -* config_host.mk doesn't exist, instead changes to set_soenv.in -* i18npool/CustomTarget_breakiterator.mk doesn't exist, instead same changes - to i18npool/source/breakiterator/Makefile -* char.txt and char_in.txt unchanged - -Signed-off-by: Tomáš Chvátal ---- - configure.in | 6 ++++++ - i18npool/source/breakiterator/Makefile | 8 +++++++- - set_soenv.in | 1 + - 3 files changed, 14 insertions(+), 1 deletions(-) - -diff --git a/configure.in b/configure.in -index ea959e6..8e45756 100644 ---- a/configure.in -+++ b/configure.in -@@ -6162,6 +6162,7 @@ ICU_MAJOR= - ICU_MINOR= - ICU_MICRO= - ICU_RECLASSIFIED_CLOSE_PARENTHESIS= -+ICU_RECLASSIFIED_PREPEND_SET_EMPTY= - AC_MSG_CHECKING([which icu to use]) - if test "$with_system_icu" = "yes"; then - AC_MSG_RESULT([external]) -@@ -6207,6 +6208,9 @@ if test "$with_system_icu" = "yes"; then - if test "$ICU_MAJOR" -ge "5" -o "$ICU_MAJOR" = "4" -a "$ICU_MINOR" -ge "4"; then - ICU_RECLASSIFIED_CLOSE_PARENTHESIS="YES" - fi -+ if test "$ICU_MAJOR" -ge "5" -o "$ICU_MAJOR" = "4" -a "$ICU_MINOR" -ge "9"; then -+ ICU_RECLASSIFIED_PREPEND_SET_EMPTY="YES" -+ fi - fi - - MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS icui18n$ICU_MAJOR$ICU_MINOR.dll icuuc$ICU_MAJOR$ICU_MINOR.dll icudata$ICU_MAJOR$ICU_MINOR.dll" -@@ -6214,6 +6218,7 @@ else - AC_MSG_RESULT([internal]) - SYSTEM_ICU="NO" - ICU_RECLASSIFIED_CLOSE_PARENTHESIS="YES" -+ # ICU_RECLASSIFIED_PREPEND_SET_EMPTY not applied for our internal ICU 4.4.2 - BUILD_TYPE="$BUILD_TYPE ICU" - fi - AC_SUBST(SYSTEM_ICU) -@@ -6224,6 +6229,7 @@ AC_SUBST(ICU_MAJOR) - AC_SUBST(ICU_MINOR) - AC_SUBST(ICU_MICRO) - AC_SUBST(ICU_RECLASSIFIED_CLOSE_PARENTHESIS) -+AC_SUBST(ICU_RECLASSIFIED_PREPEND_SET_EMPTY) - - dnl =================================================================== - dnl Graphite -diff --git a/i18npool/source/breakiterator/Makefile b/i18npool/source/breakiterator/Makefile -index b34217a..6aed8b2 100644 ---- a/i18npool/source/breakiterator/Makefile -+++ b/i18npool/source/breakiterator/Makefile -@@ -83,10 +83,16 @@ OpenOffice_dat.c : $(subst .brk,_brk.c,$(BRKFILES)) - %.brk : %.txt.p - $(GENBRK) -r $< -o $@ - --# fdo#31271 ")" reclassified in more recent ICU/Unicode Standards -+# fdo#31271 ")" reclassified in more recent Unicode Standards / ICU 4.4 -+# Prepend set empty as of Unicode Version 6.1 / ICU 4.9, which bails out if used. -+# NOTE: strips every line with _word_ 'Prepend', including $Prepend - %.txt.p : $(realpath $(SRC_ROOT)/i18npool/source/breakiterator/data)/%.txt - ifeq ($(ICU_RECLASSIFIED_CLOSE_PARENTHESIS),YES) -+ifeq ($(ICU_RECLASSIFIED_PREPEND_SET_EMPTY),YES) -+ sed "s#\[:LineBreak = Close_Punctuation:\]#\[\[:LineBreak = Close_Punctuation:\] \[:LineBreak = Close_Parenthesis:\]\]#;/\/d" $< > $@ -+else - sed "s#\[:LineBreak = Close_Punctuation:\]#\[\[:LineBreak = Close_Punctuation:\] \[:LineBreak = Close_Parenthesis:\]\]#" $< > $@ -+endif - else - cp $< $@ - endif -diff --git a/set_soenv.in b/set_soenv.in -index 3dc9cfa..a8561cd 100755 ---- a/set_soenv.in -+++ b/set_soenv.in -@@ -1881,6 +1881,7 @@ ToFile( "ICU_MAJOR", "@ICU_MAJOR@", "e" ); - ToFile( "ICU_MINOR", "@ICU_MINOR@", "e" ); - ToFile( "ICU_MICRO", "@ICU_MICRO@", "e" ); - ToFile( "ICU_RECLASSIFIED_CLOSE_PARENTHESIS", "@ICU_RECLASSIFIED_CLOSE_PARENTHESIS@", "e" ); -+ToFile( "ICU_RECLASSIFIED_PREPEND_SET_EMPTY", "@ICU_RECLASSIFIED_PREPEND_SET_EMPTY@", "e" ); - ToFile( "SYSTEM_GENBRK", "@SYSTEM_GENBRK@", "e" ); - ToFile( "SYSTEM_GENCCODE", "@SYSTEM_GENCCODE@", "e" ); - ToFile( "SYSTEM_GENCMN", "@SYSTEM_GENCMN@", "e" ); --- -1.7.8.3 - diff --git a/d28864eb2b59bb57b034c0d4662a3cee-libvisio-0.0.15.tar.bz2 b/d28864eb2b59bb57b034c0d4662a3cee-libvisio-0.0.15.tar.bz2 deleted file mode 100644 index 87968bd..0000000 --- a/d28864eb2b59bb57b034c0d4662a3cee-libvisio-0.0.15.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8433f409d36bba672b80062f9f72842a174aeb4363ff54288b132f05a88940db -size 382285 diff --git a/install-l10n-helper b/install-l10n-helper new file mode 100644 index 0000000..aca11ae --- /dev/null +++ b/install-l10n-helper @@ -0,0 +1,33 @@ +#!/bin/bash + +src_root=$1 +dst_root=$2 +shift; shift; + +target_instdir="$dst_root" + +echo "Installing l10n stuff to the final location..." + +for filelist in $@ ; do + test -f $filelist || continue; + echo -n " processing $filelist... " + # we wants to create even empty directories + for source_dir in `grep "^%dir" $filelist | sed "s|^%dir[[:blank:]]*||" | sort -ru` ; do + target_dir=`echo $source_dir | sed "s|$src_root|$dst_root|"` + mkdir -p "$DESTDIR$target_dir" + done + # install files + for source_file in `grep -v "^%dir" $filelist | sort -ru` ; do + target_file=`echo $source_file | sed "s|$src_root|$dst_root|"` + cp "$source_file" "$DESTDIR$target_file" + done + # update the file list and install it + filelist_name=$(basename $filelist) + sed "s|$src_root|$dst_root|" $filelist >$filelist_name + # we need the file list installed to create compat symlinks in %post + # FIXME: We should fix LO to find the files in /usr/share directly + cp $filelist_name $DESTDIR$dst_root/ + echo "$dst_root/$filelist_name" >>$filelist_name + + echo "done" +done diff --git a/libreoffice-3.5-unpack-sources.diff b/libreoffice-3.5-unpack-sources.diff deleted file mode 100644 index 0612d3e..0000000 --- a/libreoffice-3.5-unpack-sources.diff +++ /dev/null @@ -1,70 +0,0 @@ ---- bin/unpack-sources -+++ bin/unpack-sources -@@ -73,13 +73,13 @@ - echo "Error: Please, define where to unpack sources, try --help" - fi - --if ! test -d $start_dir/src -a -f $start_dir/solenv/inc/target.mk ; then -- echo "Error: $start_dir is not a valid bootstrap directory" -+if ! test -f $start_dir/Repository.mk -a -f $start_dir/solenv/inc/target.mk ; then -+ echo "Error: $start_dir is not a valid LibreOffice core source directory" - exit 1; - fi - --if test ! -f $start_dir/bootstrap.ver -o -d $start_dir/.git ; then -- echo "Warning: bootstrap sources are from git and not from tarball" -+if test ! -f $start_dir/core.ver -o -d $start_dir/.git ; then -+ echo "Warning: core sources are from git and not from tarball" - echo " Do nothing." - exit 0; - fi -@@ -89,17 +89,18 @@ - mkdir -p "$lo_src_dir" - - for tarball in $tarballs ; do -- tarname=`basename $tarball | sed -e "s/.tar.bz2//"` -+ tarname=`basename $tarball | sed -e "s/\.tar\..*//"` - if test -d $lo_src_dir/$tarname ; then - echo "Warning: $lo_src_dir/$tarname already exists => skipping" - continue; - fi - - echo "Unpacking $tarname..." -- tar -xjf "$tarball" -C "$lo_src_dir" -+ echo tar -xf "$tarball" -C "$lo_src_dir" -+ tar -xf "$tarball" -C "$lo_src_dir" - -- # create symlinks -- for dir in `find "$lo_src_dir/$tarname" -mindepth 1 -maxdepth 1 -type d -printf "$tarname/%f\n"` ; do -+ # create symlinks for module directories; ignore git-hooks directory -+ for dir in `find "$lo_src_dir/$tarname" -mindepth 1 -maxdepth 1 -type d -path $lo_src_dir/$tarname/git-hooks -o -printf "$tarname/%f\n"` ; do - ln -sf "src/$dir" "$start_dir" - done - done ---- download.old 2012-02-24 16:34:51.000000000 +0100 -+++ download 2012-03-01 14:51:54.000000000 +0100 -@@ -181,17 +181,17 @@ if [ "$COM" = "MSC" ]; then - downloaditem "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/" "WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd" - fi - --if [ -f $start_dir/bootstrap.ver -a ! -d $start_dir/.git ] ; then -- # bootstrap is from sources, so get the other source tarballs -- . $start_dir/bootstrap.ver -+if [ -f $start_dir/core.ver -a ! -d $start_dir/.git ] ; then -+ # core is from sources, so get the other source tarballs -+ . $start_dir/core.ver - lo_src_dir="$start_dir/src" - mkdir -p "$lo_src_dir" - for piece in `cat $start_dir/bin/repo-list` ; do -- tarname="libreoffice-$piece-$lo_bootstrap_ver" -- if [ ! -f "$TARFILE_LOCATION/$tarname.tar.bz2" ] ; then -- downloaditem "http://download.documentfoundation.org/libreoffice/src/" "$tarname.tar.bz2" "" -+ tarname="libreoffice-$piece-$lo_core_ver" -+ if [ ! -f "$TARFILE_LOCATION/$tarname.tar.xz" ] ; then -+ downloaditem "http://download.documentfoundation.org/libreoffice/src/" "$tarname.tar.xz" "" - fi -- $start_dir/bin/unpack-sources $start_dir $TARFILE_LOCATION/$tarname.tar.bz2 -+ $start_dir/bin/unpack-sources $start_dir $TARFILE_LOCATION/$tarname.tar.xz - done - fi - diff --git a/libreoffice-binfilter-3.5.2.2.tar.bz2 b/libreoffice-binfilter-3.5.2.2.tar.bz2 deleted file mode 100644 index 981ce53..0000000 --- a/libreoffice-binfilter-3.5.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9cf26a246babe2813008dc195227c2c3c8ea95871c3fa7a568b05d284327d029 -size 6493757 diff --git a/libreoffice-binfilter-3.5.3.2.tar.bz2 b/libreoffice-binfilter-3.5.3.2.tar.bz2 new file mode 100644 index 0000000..f0fec19 --- /dev/null +++ b/libreoffice-binfilter-3.5.3.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfe7161e0ceca1dfc93f130b41af07dd303606eafe2f567584b1e1473f501690 +size 6491997 diff --git a/libreoffice-branding-upstream.changes b/libreoffice-branding-upstream.changes index fdb2eba..95719a9 100644 --- a/libreoffice-branding-upstream.changes +++ b/libreoffice-branding-upstream.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) + ------------------------------------------------------------------- Wed Mar 28 15:43:47 UTC 2012 - pmladek@suse.com diff --git a/libreoffice-branding-upstream.spec b/libreoffice-branding-upstream.spec index a4424d4..545dc2d 100644 --- a/libreoffice-branding-upstream.spec +++ b/libreoffice-branding-upstream.spec @@ -17,10 +17,10 @@ Name: libreoffice-branding-upstream -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 -%define lo_build_version 3.5.2.2 -%define lo_piece_version 3.5.2.2 +%define lo_build_version 3.5.3.2 +%define lo_piece_version 3.5.3.2 %define lo_sourcedirname libreoffice-build-%lo_piece_version %define lo_home libreoffice Summary: Original Branding for LibreOffice diff --git a/libreoffice-core-3.5.2.2.tar.bz2 b/libreoffice-core-3.5.2.2.tar.bz2 deleted file mode 100644 index 4a8fe57..0000000 --- a/libreoffice-core-3.5.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:449118133af40cc73871debf0eac7eebd5c8b4978fd97c22055a39640860d570 -size 128070188 diff --git a/libreoffice-core-3.5.3.2.tar.bz2 b/libreoffice-core-3.5.3.2.tar.bz2 new file mode 100644 index 0000000..86dcae0 --- /dev/null +++ b/libreoffice-core-3.5.3.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80c69d9bf4d6294bc09d95dff135cdcb5737871fec2672f31784da400edc9ba2 +size 128037692 diff --git a/libreoffice-help-3.5.2.2.tar.bz2 b/libreoffice-help-3.5.2.2.tar.bz2 deleted file mode 100644 index d259c86..0000000 --- a/libreoffice-help-3.5.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:556d112f9a2358925bb795fba34ae20bc8b4e60695e0973c63f73338d3e3d77e -size 1872179 diff --git a/libreoffice-help-3.5.3.2.tar.bz2 b/libreoffice-help-3.5.3.2.tar.bz2 new file mode 100644 index 0000000..da07b1f --- /dev/null +++ b/libreoffice-help-3.5.3.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b50738cc36d82bb6dbc7797788ad986dd5cbb692d10257d8a585759ca91dc47a +size 1872438 diff --git a/libreoffice-help-en-US.changes b/libreoffice-help-en-US.changes index 395d840..cad7628 100644 --- a/libreoffice-help-en-US.changes +++ b/libreoffice-help-en-US.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) +- removed upstreamed patches: + * libreoffice-3.5-unpack-sources.diff + * buildfix-icu-4.9.diff +- reordered %prep phase to work better with quilt + ------------------------------------------------------------------- Fri Apr 20 12:29:53 UTC 2012 - pmladek@suse.com diff --git a/libreoffice-help-en-US.spec b/libreoffice-help-en-US.spec index 2553f53..267bacc 100644 --- a/libreoffice-help-en-US.spec +++ b/libreoffice-help-en-US.spec @@ -22,7 +22,7 @@ Name: libreoffice-help-en-US ## Generated by: ## perl lo-help-gen-spec libreoffice-help-en-US.spec.in lo-help-en-US ################################################################### -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 %define gnu_make_version 3.82 %define gnu_make_snapshot 20120301 @@ -121,12 +121,8 @@ Source31: zip-%zip_version.tar.bz2 Source200: libreoffice-help-en-US.spec.in Source201: lo-help-gen-spec Source202: lo-help-en-US -# allow to unpack source tarballs -Patch0: libreoffice-3.5-unpack-sources.diff # cups is not needed for helpcontent build -Patch1: build-helpcontent-do-not-check-cups.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch2: buildfix-icu-4.9.diff +Patch0: build-helpcontent-do-not-check-cups.diff # # Patches against zip-3.0 Patch2000: zip-3.0-iso8859_2.patch @@ -152,8 +148,6 @@ stuff is in LibreOffice-l10n-en-US. %patch0 bin/unpack-sources `pwd` %{S:1} %{S:2} # extra fixes -%patch1 -%patch2 -p1 # # patch zip-3.0 %if %suse_version < 1140 diff --git a/libreoffice-help-en-US.spec.in b/libreoffice-help-en-US.spec.in index 159e667..ea24551 100644 --- a/libreoffice-help-en-US.spec.in +++ b/libreoffice-help-en-US.spec.in @@ -18,7 +18,7 @@ Name: libreoffice-help-en-US @DO_NOT_EDIT_COMMENT@ -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 %define gnu_make_version 3.82 %define gnu_make_snapshot 20120301 @@ -117,12 +117,8 @@ Source31: zip-%zip_version.tar.bz2 Source200: libreoffice-help-en-US.spec.in Source201: lo-help-gen-spec Source202: lo-help-en-US -# allow to unpack source tarballs -Patch0: libreoffice-3.5-unpack-sources.diff # cups is not needed for helpcontent build -Patch1: build-helpcontent-do-not-check-cups.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch2: buildfix-icu-4.9.diff +Patch0: build-helpcontent-do-not-check-cups.diff # # Patches against zip-3.0 Patch2000: zip-3.0-iso8859_2.patch @@ -148,8 +144,6 @@ stuff is in LibreOffice-l10n-en-US. %patch0 bin/unpack-sources `pwd` %{S:1} %{S:2} # extra fixes -%patch1 -%patch2 -p1 # # patch zip-3.0 %if %suse_version < 1140 diff --git a/libreoffice-help-group1.changes b/libreoffice-help-group1.changes index 537bf45..544691d 100644 --- a/libreoffice-help-group1.changes +++ b/libreoffice-help-group1.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) +- removed upstreamed patches: + * libreoffice-3.5-unpack-sources.diff + * buildfix-icu-4.9.diff +- reordered %prep phase to work better with quilt + ------------------------------------------------------------------- Fri Apr 20 12:29:53 UTC 2012 - pmladek@suse.com diff --git a/libreoffice-help-group1.spec b/libreoffice-help-group1.spec index 4a0dadd..b24b549 100644 --- a/libreoffice-help-group1.spec +++ b/libreoffice-help-group1.spec @@ -22,7 +22,7 @@ Name: libreoffice-help-group1 ## Generated by: ## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX ################################################################### -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 %define gnu_make_version 3.82 %define gnu_make_snapshot 20120301 @@ -103,12 +103,8 @@ Source31: zip-%zip_version.tar.bz2 Source200: libreoffice-help-groupX.spec.in Source201: lo-help-gen-spec Source202: lo-help-groupX -# allow to unpack source tarballs -Patch0: libreoffice-3.5-unpack-sources.diff # cups is not needed for helpcontent build -Patch1: build-helpcontent-do-not-check-cups.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch2: buildfix-icu-4.9.diff +Patch0: build-helpcontent-do-not-check-cups.diff # # Patches against zip-3.0 Patch2000: zip-3.0-iso8859_2.patch @@ -252,9 +248,6 @@ is in libreoffice-l10n-en-GB. %setup -q -a30 -a31 -n libreoffice-core-%version %patch0 bin/unpack-sources `pwd` %{S:1} %{S:2} -# extra fixes -%patch1 -%patch2 -p1 # # patch zip-3.0 %if %suse_version < 1140 diff --git a/libreoffice-help-group2.changes b/libreoffice-help-group2.changes index 476f769..e0bdfe7 100644 --- a/libreoffice-help-group2.changes +++ b/libreoffice-help-group2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) +- removed upstreamed patches: + * libreoffice-3.5-unpack-sources.diff + * buildfix-icu-4.9.diff +- reordered %prep phase to work better with quilt + ------------------------------------------------------------------- Fri Apr 20 12:29:53 UTC 2012 - pmladek@suse.com diff --git a/libreoffice-help-group2.spec b/libreoffice-help-group2.spec index 70b799b..75246be 100644 --- a/libreoffice-help-group2.spec +++ b/libreoffice-help-group2.spec @@ -22,7 +22,7 @@ Name: libreoffice-help-group2 ## Generated by: ## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX ################################################################### -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 %define gnu_make_version 3.82 %define gnu_make_snapshot 20120301 @@ -103,12 +103,8 @@ Source31: zip-%zip_version.tar.bz2 Source200: libreoffice-help-groupX.spec.in Source201: lo-help-gen-spec Source202: lo-help-groupX -# allow to unpack source tarballs -Patch0: libreoffice-3.5-unpack-sources.diff # cups is not needed for helpcontent build -Patch1: build-helpcontent-do-not-check-cups.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch2: buildfix-icu-4.9.diff +Patch0: build-helpcontent-do-not-check-cups.diff # # Patches against zip-3.0 Patch2000: zip-3.0-iso8859_2.patch @@ -270,9 +266,6 @@ is in libreoffice-l10n-gl. %setup -q -a30 -a31 -n libreoffice-core-%version %patch0 bin/unpack-sources `pwd` %{S:1} %{S:2} -# extra fixes -%patch1 -%patch2 -p1 # # patch zip-3.0 %if %suse_version < 1140 diff --git a/libreoffice-help-group3.changes b/libreoffice-help-group3.changes index 69f2540..785e90b 100644 --- a/libreoffice-help-group3.changes +++ b/libreoffice-help-group3.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) +- removed upstreamed patches: + * libreoffice-3.5-unpack-sources.diff + * buildfix-icu-4.9.diff +- reordered %prep phase to work better with quilt + ------------------------------------------------------------------- Fri Apr 20 12:29:53 UTC 2012 - pmladek@suse.com diff --git a/libreoffice-help-group3.spec b/libreoffice-help-group3.spec index 642fc9d..1bea90c 100644 --- a/libreoffice-help-group3.spec +++ b/libreoffice-help-group3.spec @@ -22,7 +22,7 @@ Name: libreoffice-help-group3 ## Generated by: ## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX ################################################################### -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 %define gnu_make_version 3.82 %define gnu_make_snapshot 20120301 @@ -103,12 +103,8 @@ Source31: zip-%zip_version.tar.bz2 Source200: libreoffice-help-groupX.spec.in Source201: lo-help-gen-spec Source202: lo-help-groupX -# allow to unpack source tarballs -Patch0: libreoffice-3.5-unpack-sources.diff # cups is not needed for helpcontent build -Patch1: build-helpcontent-do-not-check-cups.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch2: buildfix-icu-4.9.diff +Patch0: build-helpcontent-do-not-check-cups.diff # # Patches against zip-3.0 Patch2000: zip-3.0-iso8859_2.patch @@ -309,9 +305,6 @@ is in libreoffice-l10n-km. %setup -q -a30 -a31 -n libreoffice-core-%version %patch0 bin/unpack-sources `pwd` %{S:1} %{S:2} -# extra fixes -%patch1 -%patch2 -p1 # # patch zip-3.0 %if %suse_version < 1140 diff --git a/libreoffice-help-group4.changes b/libreoffice-help-group4.changes index d7c05a8..dc08e9a 100644 --- a/libreoffice-help-group4.changes +++ b/libreoffice-help-group4.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) +- removed upstreamed patches: + * libreoffice-3.5-unpack-sources.diff + * buildfix-icu-4.9.diff +- reordered %prep phase to work better with quilt + ------------------------------------------------------------------- Fri Apr 20 12:29:53 UTC 2012 - pmladek@suse.com diff --git a/libreoffice-help-group4.spec b/libreoffice-help-group4.spec index 6aa2aca..e40078c 100644 --- a/libreoffice-help-group4.spec +++ b/libreoffice-help-group4.spec @@ -22,7 +22,7 @@ Name: libreoffice-help-group4 ## Generated by: ## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX ################################################################### -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 %define gnu_make_version 3.82 %define gnu_make_snapshot 20120301 @@ -103,12 +103,8 @@ Source31: zip-%zip_version.tar.bz2 Source200: libreoffice-help-groupX.spec.in Source201: lo-help-gen-spec Source202: lo-help-groupX -# allow to unpack source tarballs -Patch0: libreoffice-3.5-unpack-sources.diff # cups is not needed for helpcontent build -Patch1: build-helpcontent-do-not-check-cups.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch2: buildfix-icu-4.9.diff +Patch0: build-helpcontent-do-not-check-cups.diff # # Patches against zip-3.0 Patch2000: zip-3.0-iso8859_2.patch @@ -243,9 +239,6 @@ is in libreoffice-l10n-pt. %setup -q -a30 -a31 -n libreoffice-core-%version %patch0 bin/unpack-sources `pwd` %{S:1} %{S:2} -# extra fixes -%patch1 -%patch2 -p1 # # patch zip-3.0 %if %suse_version < 1140 diff --git a/libreoffice-help-group5.changes b/libreoffice-help-group5.changes index 476f769..e0bdfe7 100644 --- a/libreoffice-help-group5.changes +++ b/libreoffice-help-group5.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) +- removed upstreamed patches: + * libreoffice-3.5-unpack-sources.diff + * buildfix-icu-4.9.diff +- reordered %prep phase to work better with quilt + ------------------------------------------------------------------- Fri Apr 20 12:29:53 UTC 2012 - pmladek@suse.com diff --git a/libreoffice-help-group5.spec b/libreoffice-help-group5.spec index 03e661d..f6cf323 100644 --- a/libreoffice-help-group5.spec +++ b/libreoffice-help-group5.spec @@ -22,7 +22,7 @@ Name: libreoffice-help-group5 ## Generated by: ## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX ################################################################### -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 %define gnu_make_version 3.82 %define gnu_make_snapshot 20120301 @@ -103,12 +103,8 @@ Source31: zip-%zip_version.tar.bz2 Source200: libreoffice-help-groupX.spec.in Source201: lo-help-gen-spec Source202: lo-help-groupX -# allow to unpack source tarballs -Patch0: libreoffice-3.5-unpack-sources.diff # cups is not needed for helpcontent build -Patch1: build-helpcontent-do-not-check-cups.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch2: buildfix-icu-4.9.diff +Patch0: build-helpcontent-do-not-check-cups.diff # # Patches against zip-3.0 Patch2000: zip-3.0-iso8859_2.patch @@ -297,9 +293,6 @@ is in libreoffice-l10n-zh-TW. %setup -q -a30 -a31 -n libreoffice-core-%version %patch0 bin/unpack-sources `pwd` %{S:1} %{S:2} -# extra fixes -%patch1 -%patch2 -p1 # # patch zip-3.0 %if %suse_version < 1140 diff --git a/libreoffice-help-groupX.spec.in b/libreoffice-help-groupX.spec.in index 76f6773..8457683 100644 --- a/libreoffice-help-groupX.spec.in +++ b/libreoffice-help-groupX.spec.in @@ -18,7 +18,7 @@ Name: libreoffice-help-group@GROUP_NUMBER@ @DO_NOT_EDIT_COMMENT@ -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 %define gnu_make_version 3.82 %define gnu_make_snapshot 20120301 @@ -99,12 +99,8 @@ Source31: zip-%zip_version.tar.bz2 Source200: libreoffice-help-groupX.spec.in Source201: lo-help-gen-spec Source202: lo-help-groupX -# allow to unpack source tarballs -Patch0: libreoffice-3.5-unpack-sources.diff # cups is not needed for helpcontent build -Patch1: build-helpcontent-do-not-check-cups.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch2: buildfix-icu-4.9.diff +Patch0: build-helpcontent-do-not-check-cups.diff # # Patches against zip-3.0 Patch2000: zip-3.0-iso8859_2.patch @@ -129,9 +125,6 @@ development. %setup -q -a30 -a31 -n libreoffice-core-%version %patch0 bin/unpack-sources `pwd` %{S:1} %{S:2} -# extra fixes -%patch1 -%patch2 -p1 # # patch zip-3.0 %if %suse_version < 1140 diff --git a/libreoffice-icon-themes.changes b/libreoffice-icon-themes.changes new file mode 100644 index 0000000..64994c7 --- /dev/null +++ b/libreoffice-icon-themes.changes @@ -0,0 +1,527 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) + +------------------------------------------------------------------- +Wed Mar 28 15:43:47 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.5.2 (3.5.2-rc2) +- basis subdirectory does not longer exists on the installed system +- remove unused ooo_piece_version and ooo_build_version macros + +------------------------------------------------------------------- +Wed Mar 14 14:34:11 UTC 2012 - pmladek@suse.com + +- libreoffice-3.4.5.5 == SUSE 3.4.5-rc3 == final + +------------------------------------------------------------------- +Mon Mar 12 18:58:39 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.4.5.5 (SUSE 3.4.5-rc3) + +------------------------------------------------------------------- +Tue Mar 6 15:55:09 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.4.5.4 (SUSE 3.4.5-rc2) + +------------------------------------------------------------------- +Fri Feb 17 10:37:12 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.4.5.3 (SUSE 3.4.5-rc1) + +------------------------------------------------------------------- +Thu Dec 15 07:03:10 UTC 2011 - coolo@suse.com + +- fix license to be in spdx.org format + +------------------------------------------------------------------- +Wed Nov 23 14:29:30 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.4.4.3 (SUSE 3.4.4-rc1 == final) + +------------------------------------------------------------------- +Mon Sep 12 16:48:48 UTC 2011 - pmladek@suse.com + +- libreoffice-3.4.2.6 == SUSE 3.4.2-rc3 == final + +------------------------------------------------------------------- +Thu Sep 8 15:28:56 UTC 2011 - pmladek@suse.com + +- updated to libreoffice-3.4.2.6 (SUSE 3.4.2-rc3) + +------------------------------------------------------------------- +Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com + +- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2) + +------------------------------------------------------------------- +Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com + +- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1) + +------------------------------------------------------------------- +Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com + +- updated to libreoffice-3.4.2.3 (3.4.2-rc3) + +------------------------------------------------------------------- +Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.3.1 (3.3.3-rc1) + +------------------------------------------------------------------- +Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz + +- libreoffice-3.3.2.2 == 3.3.2-rc2 == final + +------------------------------------------------------------------- +Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.2.2 (3.3.2-rc2) + +------------------------------------------------------------------- +Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.2.1 (3.3.2-rc1) + +------------------------------------------------------------------- +Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz + +- libreoffice-3.3.1.2 == 3.3.1-rc2 == final + +------------------------------------------------------------------- +Thu Feb 17 11:32:14 CET 2011 - pmladek@suse.cz + +- fixed typo in the OpenOffice_org-icon-theme-galaxy provides + and obsoletes + +------------------------------------------------------------------- +Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.1.2 (3.3.1-rc2) + +------------------------------------------------------------------- +Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.1.1 (3.3.1-rc1) + +------------------------------------------------------------------- +Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz + +- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final + +------------------------------------------------------------------- +Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.0.4 (3.3-rc4) + +------------------------------------------------------------------- +Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.0.3 (3.3-rc3) + +------------------------------------------------------------------- +Wed Dec 22 22:04:08 CET 2010 - pmladek@suse.cz + +- removed the very old Andromeda icon theme; had been deprecated by Galaxy + icon theme long time ago + +------------------------------------------------------------------- +Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz + +- updated to libreoffice-3.3.0.2 (3.3-rc2) + +------------------------------------------------------------------- +Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz + +- updated to libreoffice-3.3.0.1 (3.3-rc1) +- fixed URL, summary, and description for LibreOffice + +------------------------------------------------------------------- +Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz + +- updated to libreoffice-3.2.99.3 (3.3-beta3) + +------------------------------------------------------------------- +Wed Oct 20 12:51:51 CEST 2010 - pmladek@suse.cz + +- added missing provides libreoffice-icon-themes to the split icon-themes + packages + +------------------------------------------------------------------- +Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz + +- switched to the LibreOffice code base, http://www.documentfoundation.org/ +- renamed packages from OpenOffice_org* to libreoffice* +- updated to libreoffice-3.2.99.2 (3.3-beta2) + +------------------------------------------------------------------- +Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.98.1 +- removed not longer available industrial subpackage + +------------------------------------------------------------------- +Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.6 + +------------------------------------------------------------------- +Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.5 + +------------------------------------------------------------------- +Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.4 + +------------------------------------------------------------------- +Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz + +- ooo-build-3.2.1.3 == 3.2.1-rc3 == final + +------------------------------------------------------------------- +Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.3 + +------------------------------------------------------------------- +Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.2 + +------------------------------------------------------------------- +Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.1 +- added initial support for build on MeeGo distro + +------------------------------------------------------------------- +Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.0.99.3 + +------------------------------------------------------------------- +Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.99.2 + +------------------------------------------------------------------- +Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.99.1 + +------------------------------------------------------------------- +Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.98.1 + +------------------------------------------------------------------- +Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.7 + +------------------------------------------------------------------- +Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.6 + +------------------------------------------------------------------- +Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz + +- ooo-build-3.2.0.5 == 3.2-rc5 == final + +------------------------------------------------------------------- +Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.5 + +------------------------------------------------------------------- +Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.4 + +------------------------------------------------------------------- +Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.2 + +------------------------------------------------------------------- +Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz + +- updated to version 3.2.0.1 + +------------------------------------------------------------------- +Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz + +- updated to version 3.1.99.4 + +------------------------------------------------------------------- +Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz + +- updated to version 3.1.99.3 +- updated license tags because the Oxygen icon theme was under dual license + LGPLv3 or CCAttSAv3.0 + +------------------------------------------------------------------- +Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz + +- updated to version 3.1.99.2 + +------------------------------------------------------------------- +Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz + +- updated to version 3.1.99.1 + +------------------------------------------------------------------- +Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.4 + +------------------------------------------------------------------- +Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.3 + +------------------------------------------------------------------- +Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.2 +- improved dependencies for the split icon themes: + * do not install Andromeda, Industrial by default + * install Crystal with OOo and kdebase3-session + * install Oxygen with OOo and kdebase4-workspace + * install Tango with OOo and gnome-session + +------------------------------------------------------------------- +Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz + +- do not exclude archs for noarch packages + +------------------------------------------------------------------- +Mon Aug 31 13:14:35 CEST 2009 - pmladek@suse.cz + +- split each icon theme into separate package for openSUSE-11.2 (bnc#529404) + +------------------------------------------------------------------- +Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.1 +- used more elegant way to install the icon themes; thanks to Lars for hint + +------------------------------------------------------------------- +Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.99.3 +- really packaged all available icon themes (bnc#529233) + +------------------------------------------------------------------- +Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.99.2 + +------------------------------------------------------------------- +Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.99.1 + +------------------------------------------------------------------- +Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.98.2 + +------------------------------------------------------------------- +Mon Jun 15 21:16:25 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.98.1 + +------------------------------------------------------------------- +Thu May 28 19:24:34 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.6 + +------------------------------------------------------------------- +Tue May 26 16:38:52 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.5 + +------------------------------------------------------------------- +Fri May 22 13:57:45 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.4 + +------------------------------------------------------------------- +Thu May 21 18:40:21 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.3 + +------------------------------------------------------------------- +Tue May 19 16:55:54 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.2 + +------------------------------------------------------------------- +Fri May 15 17:38:01 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.1 + +------------------------------------------------------------------- +Thu May 7 23:12:05 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.0 + +------------------------------------------------------------------- +Thu Apr 30 19:56:03 CEST 2009 - pmladek@suse.cz + +- updated to version 3.0.99.7 + +------------------------------------------------------------------- +Fri Apr 24 13:48:09 CEST 2009 - pmladek@suse.cz + +- updated to version 3.0.99.6 + +------------------------------------------------------------------- +Fri Apr 17 17:43:05 CEST 2009 - pmladek@suse.cz + +- updated to version 3.0.99.5 + +------------------------------------------------------------------- +Wed Apr 8 19:48:24 CEST 2009 - pmladek@suse.cz + +- updated to version 3.0.99.4 + +------------------------------------------------------------------- +Fri Mar 27 21:17:08 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.99.3 + +------------------------------------------------------------------- +Fri Mar 20 16:09:23 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.99.2 + +------------------------------------------------------------------- +Tue Mar 10 12:00:11 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.99.1 + +------------------------------------------------------------------- +Fri Feb 20 14:02:10 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.0.16.1 + +------------------------------------------------------------------- +Fri Feb 6 16:06:46 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.0.15 + +------------------------------------------------------------------- +Fri Jan 23 17:43:56 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.0.13 +- added ExclusiveArch: %%ix86 x86_64 ppc (bnc#465252) + +------------------------------------------------------------------- +Fri Jan 9 15:51:56 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.0.11 + +------------------------------------------------------------------- +Fri Dec 5 21:52:22 CET 2008 - pmladek@suse.cz + +- updated to version 3.0.0.10 + +------------------------------------------------------------------- +Fri Nov 21 13:31:47 CET 2008 - pmladek@suse.cz + +- updated to version 3.0.0.9 + +------------------------------------------------------------------- +Fri Nov 7 13:48:05 CET 2008 - pmladek@suse.cz + +- updated to version 3.0.0.8 + +------------------------------------------------------------------- +Mon Oct 27 15:17:32 CET 2008 - pmladek@suse.cz + +- updated to version 3.0.0.7 + +------------------------------------------------------------------- +Fri Oct 10 18:06:21 CEST 2008 - pmladek@suse.cz + +- updated to version 3.0.0.6 + +------------------------------------------------------------------- +Sat Sep 27 12:04:54 CEST 2008 - pmladek@suse.cz + +- updated to version 3.0.0.5 + +------------------------------------------------------------------- +Thu Sep 11 23:04:54 CEST 2008 - pmladek@suse.cz + +- updated to version 3.0.0.4 + +------------------------------------------------------------------- +Fri Aug 29 18:12:59 CEST 2008 - pmladek@suse.cz + +- added build dependency on exact version of + OpenOffice_org-icon-themes-prebuilt to avoid inconsistent state [bnc#421559] + +------------------------------------------------------------------- +Tue Aug 26 22:18:22 CEST 2008 - pmladek@suse.cz + +- updated to version 3.0.0.2 + +------------------------------------------------------------------- +Thu Aug 21 14:21:46 CEST 2008 - pmladek@suse.cz + +- updated to version 3.0.0.1 + +------------------------------------------------------------------- +Fri Aug 15 17:25:25 CEST 2008 - pmladek@suse.cz + +- updated to version 3.0.0 + +------------------------------------------------------------------- +Fri Jul 18 14:13:39 CEST 2008 - pmladek@suse.cz + +- updated to version 2.99.25 + +------------------------------------------------------------------- +Thu Jul 3 10:48:20 CEST 2008 - pmladek@suse.cz + +- updated to version 2.99.21 +- updated for the new three layer structure (basis subdir dir) + +------------------------------------------------------------------- +Tue Jun 24 20:09:08 CEST 2008 - pmladek@suse.cz + +- updated to version 2.4.1.7 + +------------------------------------------------------------------- +Thu Jun 5 21:32:19 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to version 2.4.0.14 + +------------------------------------------------------------------- +Thu May 22 21:00:08 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to version 2.4.0.13 + +------------------------------------------------------------------- +Fri May 9 12:20:00 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to ooo-build-2.4.0.10 + +------------------------------------------------------------------- +Thu Apr 24 20:08:18 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to ooo-build-2.4.0.8 + +------------------------------------------------------------------- +Mon Apr 14 14:54:56 CEST 2008 - pmladek@suse.cz + +- split from the OpenOffice_org-i18n source package to get it faster + diff --git a/libreoffice-icon-themes.spec b/libreoffice-icon-themes.spec new file mode 100644 index 0000000..4eb9678 --- /dev/null +++ b/libreoffice-icon-themes.spec @@ -0,0 +1,199 @@ +# +# spec file for package libreoffice-icon-themes +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: libreoffice-icon-themes +Version: 3.5.3.2 +Release: 0 +%define ooo_home libreoffice +BuildRequires: libreoffice-icon-themes-prebuilt = %version +# compat stuff +Provides: OpenOffice_org-icon-themes = %version +Obsoletes: OpenOffice_org-icon-themes <= %version +Provides: OpenOffice_org:%_libdir/%ooo_home/share/config/images.zip +Summary: Icon Themes for LibreOffice +License: LGPL-3.0 +Group: Productivity/Office/Suite +Url: http://www.documentfoundation.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#!ExclusiveArch: %ix86 x86_64 ppc +BuildArch: noarch + +%description +This package provides various icon themes for the LibreOffice office +suite. + + +%if 0%{?suse_version} > 01110 + +%package -n libreoffice-icon-theme-crystal +Summary: Crystal LibreOffice Icon Theme (KDE3 default) +License: LGPL-2.1 +Group: Productivity/Office/Suite +Supplements: packageand(libreoffice:kdebase3-session) +# compat stuff +Provides: OpenOffice_org-icon-theme-crystal = %version +Obsoletes: OpenOffice_org-icon-theme-crystal <= %version +Provides: OpenOffice_org-icon-themes = %version +Provides: OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3/share/config/images_crystal.zip +Obsoletes: OpenOffice_org-icon-themes <= %version +Provides: libreoffice-icon-themes = %version +Obsoletes: libreoffice-icon-themes <= %version + +%description -n libreoffice-icon-theme-crystal +This package provides Crystal LibreOffice icon theme. It is used in KDE3 by default. + + +%package -n libreoffice-icon-theme-galaxy +Summary: Galaxy LibreOffice Icon Theme (OOo-3.x default) +License: LGPL-3.0 +Group: Productivity/Office/Suite +Supplements: libreoffice +# compat stuff +Provides: OpenOffice_org-icon-theme-galaxy = %version +Obsoletes: OpenOffice_org-icon-theme-galaxy <= %version +Provides: OpenOffice_org-icon-themes = %version +Provides: OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3/share/config/images.zip +Obsoletes: OpenOffice_org-icon-themes <= %version +Provides: libreoffice-icon-themes = %version +Obsoletes: libreoffice-icon-themes <= %version +# Andromeda icon theme is not longer available +Provides: OpenOffice_org-icon-theme-andromeda = %version +Obsoletes: OpenOffice_org-icon-theme-andromeda <= %version +Provides: libreoffice-icon-theme-andromeda = %version +Obsoletes: libreoffice-icon-theme-andromeda <= %version + +%description -n libreoffice-icon-theme-galaxy +This package provides Galaxy LibreOffice icon theme. It is used in the original OOo-3.x by default. + +%package -n libreoffice-icon-theme-hicontrast +Summary: Hicontrast LibreOffice Icon Theme +License: LGPL-3.0 +Group: Productivity/Office/Suite +Supplements: libreoffice +# compat stuff +Provides: OpenOffice_org-icon-theme-hicontrast = %version +Obsoletes: OpenOffice_org-icon-theme-hicontrast <= %version +Provides: OpenOffice_org-icon-themes = %version +Provides: OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3/share/config/images_hicontrast.zip +Obsoletes: OpenOffice_org-icon-themes <= %version +Provides: libreoffice-icon-themes = %version +Obsoletes: libreoffice-icon-themes <= %version + +%description -n libreoffice-icon-theme-hicontrast +This package provides Hicontrast LibreOffice icon theme. + + +%package -n libreoffice-icon-theme-oxygen +Summary: Oxygen LibreOffice Icon Theme (KDE4 default) +License: LGPL-3.0 or CC-BY-SA-3.0 +Group: Productivity/Office/Suite +Supplements: packageand(libreoffice:kdebase4-workspace) +# compat stuff +Provides: OpenOffice_org-icon-theme-oxygen = %version +Obsoletes: OpenOffice_org-icon-theme-oxygen <= %version +Provides: OpenOffice_org-icon-themes = %version +Provides: OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3/share/config/images_oxygen.zip +Obsoletes: OpenOffice_org-icon-themes <= %version +Provides: libreoffice-icon-themes = %version +Obsoletes: libreoffice-icon-themes <= %version + +%description -n libreoffice-icon-theme-oxygen +This package provides Oxygen LibreOffice icon theme. It is used in KDE4 by default. + + +%package -n libreoffice-icon-theme-tango +Summary: Tango LibreOffice Icon Theme (GNOME default) +License: LGPL-3.0 +Group: Productivity/Office/Suite +Supplements: packageand(libreoffice:gnome-session) +# compat stuff +Provides: OpenOffice_org-icon-theme-tango = %version +Obsoletes: OpenOffice_org-icon-theme-tango <= %version +Provides: OpenOffice_org-icon-themes = %version +Provides: OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3//share/config/images_tango.zip +Obsoletes: OpenOffice_org-icon-themes <= %version +Provides: libreoffice-icon-themes = %version +Obsoletes: libreoffice-icon-themes <= %version +Provides: OpenOffice_org-icon-theme-industrial = %version +Obsoletes: OpenOffice_org-icon-theme-industrial <= %version + +%description -n libreoffice-icon-theme-tango +This package provides Tango LibreOffice icon theme. It is used in GNOME by default +and obsoleted the old Industrial theme. + +%endif + +%prep + +%build + +%install +install -m 755 -d $RPM_BUILD_ROOT%_datadir/%ooo_home/share/config +install -m644 %_libdir/%ooo_home/share/config/images*.zip $RPM_BUILD_ROOT%_datadir/%ooo_home/share/config/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%if 0%{?suse_version} > 01110 + +%files -n libreoffice-icon-theme-crystal +%defattr(-,root,root) +%dir %_datadir/%ooo_home +%dir %_datadir/%ooo_home/share +%dir %_datadir/%ooo_home/share/config +%_datadir/%ooo_home/share/config/images_crystal.zip + +%files -n libreoffice-icon-theme-galaxy +%defattr(-,root,root) +%dir %_datadir/%ooo_home +%dir %_datadir/%ooo_home/share +%dir %_datadir/%ooo_home/share/config +%_datadir/%ooo_home/share/config/images.zip + +%files -n libreoffice-icon-theme-hicontrast +%defattr(-,root,root) +%dir %_datadir/%ooo_home +%dir %_datadir/%ooo_home/share +%dir %_datadir/%ooo_home/share/config +%_datadir/%ooo_home/share/config/images_hicontrast.zip + +%files -n libreoffice-icon-theme-oxygen +%defattr(-,root,root) +%dir %_datadir/%ooo_home +%dir %_datadir/%ooo_home/share +%dir %_datadir/%ooo_home/share/config +%_datadir/%ooo_home/share/config/images_oxygen.zip + +%files -n libreoffice-icon-theme-tango +%defattr(-,root,root) +%dir %_datadir/%ooo_home +%dir %_datadir/%ooo_home/share +%dir %_datadir/%ooo_home/share/config +%_datadir/%ooo_home/share/config/images_tango.zip + +%else + +# non-split icon themes on older distros + +%files +%defattr(-,root,root) +%_datadir/%ooo_home + +%endif + +%changelog diff --git a/libreoffice-l10n-rpmlintrc b/libreoffice-l10n-rpmlintrc new file mode 100644 index 0000000..e361072 --- /dev/null +++ b/libreoffice-l10n-rpmlintrc @@ -0,0 +1,4 @@ +# FIXME: temporary disabled some lint errors +# We must fix them in the upcomming big package split and rework + +addFilter("files-duplicated-waste") diff --git a/libreoffice-l10n.changes b/libreoffice-l10n.changes new file mode 100644 index 0000000..84ba091 --- /dev/null +++ b/libreoffice-l10n.changes @@ -0,0 +1,744 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2) + +------------------------------------------------------------------- +Tue Apr 3 16:22:43 UTC 2012 - pmladek@suse.com + +- generate the whole spec file from a template and a data file +- do not recommend help packages and dictionaries; they provide support + for the given locale itself; the extra recommends annoys users + when updating on Live-CD (bnc#551003) +- use Requires(pre) instead of PreReq on never distributions +- spec file clean up + +------------------------------------------------------------------- +Wed Mar 28 15:43:47 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.5.2 (3.5.2-rc2) +- basis subdirectory does not longer exists on the installed system +- remove unused ooo_piece_version, ooo_build_version, and ooo_sourcedirname + macros + +------------------------------------------------------------------- +Wed Mar 14 14:34:11 UTC 2012 - pmladek@suse.com + +- libreoffice-3.4.5.5 == SUSE 3.4.5-rc3 == final + +------------------------------------------------------------------- +Mon Mar 12 18:58:39 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.4.5.5 (SUSE 3.4.5-rc3) + +------------------------------------------------------------------- +Tue Mar 6 15:55:09 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.4.5.4 (SUSE 3.4.5-rc2) + +------------------------------------------------------------------- +Tue Feb 28 10:46:14 CET 2012 - dmueller@suse.de + +- exclude from build on ARM + +------------------------------------------------------------------- +Thu Feb 23 16:36:32 UTC 2012 - pmladek@suse.com + +- patch license to follow spdx.org standard + +------------------------------------------------------------------- +Fri Feb 17 10:37:12 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.4.5.3 (SUSE 3.4.5-rc1) + +------------------------------------------------------------------- +Wed Nov 23 14:29:30 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.4.4.3 (SUSE 3.4.4-rc1 == final) + +------------------------------------------------------------------- +Mon Sep 12 16:48:48 UTC 2011 - pmladek@suse.com + +- libreoffice-3.4.2.6 == SUSE 3.4.2-rc3 == final + +------------------------------------------------------------------- +Thu Sep 8 15:28:56 UTC 2011 - pmladek@suse.com + +- updated to libreoffice-3.4.2.6 (SUSE 3.4.2-rc3) + +------------------------------------------------------------------- +Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com + +- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2) + +------------------------------------------------------------------- +Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com + +- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1) + +------------------------------------------------------------------- +Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com + +- updated to libreoffice-3.4.2.3 (3.4.2-rc3) +- added helper script install-l10n-helper; split build had not longer be + supported with LO-3.4; the other helper script was not longer provided + by the bootstrap package +- added libreoffice into BuildIgnore; it was not really needed for build + +------------------------------------------------------------------- +Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.3.1 (3.3.3-rc1) + +------------------------------------------------------------------- +Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz + +- libreoffice-3.3.2.2 == 3.3.2-rc2 == final + +------------------------------------------------------------------- +Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.2.2 (3.3.2-rc2) + +------------------------------------------------------------------- +Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.2.1 (3.3.2-rc1) + +------------------------------------------------------------------- +Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz + +- libreoffice-3.3.1.2 == 3.3.1-rc2 == final + +------------------------------------------------------------------- +Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.1.2 (3.3.1-rc2) + +------------------------------------------------------------------- +Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.1.1 (3.3.1-rc1) + +------------------------------------------------------------------- +Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz + +- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final + +------------------------------------------------------------------- +Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.0.4 (3.3-rc4) + +------------------------------------------------------------------- +Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz + +- updated to libreoffice-3.3.0.3 (3.3-rc3) + +------------------------------------------------------------------- +Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz + +- updated to libreoffice-3.3.0.2 (3.3-rc2) + +------------------------------------------------------------------- +Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz + +- updated to libreoffice-3.3.0.1 (3.3-rc1) +- fixed URL, summary, and description for LibreOffice + +------------------------------------------------------------------- +Fri Nov 19 21:08:39 CET 2010 - pmladek@suse.cz + +- added the new libreoffice-l10n-prebuilt to BuildRequires (bnc#651964) + +------------------------------------------------------------------- +Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz + +- updated to libreoffice-3.2.99.3 (3.3-beta3) + +------------------------------------------------------------------- +Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz + +- switched to the LibreOffice code base, http://www.documentfoundation.org/ +- renamed packages from OpenOffice_org* to libreoffice* +- updated to libreoffice-3.2.99.2 (3.3-beta2) + +------------------------------------------------------------------- +Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.98.1 + +------------------------------------------------------------------- +Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.6 + +------------------------------------------------------------------- +Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.5 + +------------------------------------------------------------------- +Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.4 + +------------------------------------------------------------------- +Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz + +- ooo-build-3.2.1.3 == 3.2.1-rc3 == final + +------------------------------------------------------------------- +Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.3 + +------------------------------------------------------------------- +Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.2 + +------------------------------------------------------------------- +Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.1.1 +- added initial support for build on MeeGo distro + +------------------------------------------------------------------- +Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz + +- updated to version 3.2.0.99.3 + +------------------------------------------------------------------- +Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.99.2 + +------------------------------------------------------------------- +Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.99.1 + +------------------------------------------------------------------- +Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.98.1 + +------------------------------------------------------------------- +Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.7 + +------------------------------------------------------------------- +Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.6 + +------------------------------------------------------------------- +Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz + +- ooo-build-3.2.0.5 == 3.2-rc5 == final + +------------------------------------------------------------------- +Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.5 + +------------------------------------------------------------------- +Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.4 + +------------------------------------------------------------------- +Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz + +- updated to version 3.2.0.2 + +------------------------------------------------------------------- +Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz + +- updated to version 3.2.0.1 + +------------------------------------------------------------------- +Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz + +- updated to version 3.1.99.4 +- used the renamed "gu" instead of "gu-IN" lang code; kept the package + name to keep the backward compatibility + +------------------------------------------------------------------- +Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz + +- updated to version 3.1.99.3 + +------------------------------------------------------------------- +Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz + +- updated to version 3.1.99.2 + +------------------------------------------------------------------- +Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz + +- updated to version 3.1.99.1 + +------------------------------------------------------------------- +Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.4 + +------------------------------------------------------------------- +Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.3 + +------------------------------------------------------------------- +Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.2 + +------------------------------------------------------------------- +Wed Sep 2 18:00:13 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.1 + +------------------------------------------------------------------- +Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz + +- do not exclude archs for noarch packages + +------------------------------------------------------------------- +Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.1.1 + +------------------------------------------------------------------- +Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.99.3 + +------------------------------------------------------------------- +Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.99.2 + +------------------------------------------------------------------- +Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.99.1 + +------------------------------------------------------------------- +Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.98.2 + +------------------------------------------------------------------- +Mon Jun 15 21:16:25 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.98.1 + +------------------------------------------------------------------- +Thu May 28 19:24:34 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.6 + +------------------------------------------------------------------- +Tue May 26 16:38:52 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.5 + +------------------------------------------------------------------- +Fri May 22 13:57:45 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.4 + +------------------------------------------------------------------- +Thu May 21 18:40:21 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.3 + +------------------------------------------------------------------- +Tue May 19 16:30:15 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.2 + +------------------------------------------------------------------- +Fri May 15 17:38:01 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.1 + +------------------------------------------------------------------- +Thu May 7 23:12:05 CEST 2009 - pmladek@suse.cz + +- updated to version 3.1.0.0 + +------------------------------------------------------------------- +Thu Apr 30 19:56:03 CEST 2009 - pmladek@suse.cz + +- updated to version 3.0.99.7 + +------------------------------------------------------------------- +Fri Apr 24 13:48:09 CEST 2009 - pmladek@suse.cz + +- updated to version 3.0.99.6 + +------------------------------------------------------------------- +Fri Apr 17 17:43:05 CEST 2009 - pmladek@suse.cz + +- updated to version 3.0.99.5 + +------------------------------------------------------------------- +Wed Apr 8 19:48:24 CEST 2009 - pmladek@suse.cz + +- updated to version 3.0.99.4 + +------------------------------------------------------------------- +Fri Mar 27 21:17:08 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.99.3 + +------------------------------------------------------------------- +Fri Mar 20 16:09:23 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.99.2 +- used more conservative way to remove the compat symlinks (bnc#471280) + +------------------------------------------------------------------- +Tue Mar 10 12:00:11 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.99.1 + +------------------------------------------------------------------- +Fri Feb 20 14:02:10 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.0.16.1 + +------------------------------------------------------------------- +Fri Feb 6 16:06:46 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.0.15 + +------------------------------------------------------------------- +Fri Jan 23 17:43:56 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.0.13 + +------------------------------------------------------------------- +Fri Jan 9 15:51:56 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.0.11 + +------------------------------------------------------------------- +Fri Dec 5 21:52:22 CET 2008 - pmladek@suse.cz + +- updated to version 3.0.0.10 + +------------------------------------------------------------------- +Fri Nov 21 13:31:47 CET 2008 - pmladek@suse.cz + +- updated to version 3.0.0.9 + +------------------------------------------------------------------- +Fri Nov 7 13:48:05 CET 2008 - pmladek@suse.cz + +- updated to version 3.0.0.8 + +------------------------------------------------------------------- +Mon Oct 27 15:17:32 CET 2008 - pmladek@suse.cz + +- updated to version 3.0.0.7 + +------------------------------------------------------------------- +Fri Oct 10 16:01:11 CEST 2008 - pmladek@suse.cz + +- updated to version 3.0.0.6 + +------------------------------------------------------------------- +Sat Sep 27 12:04:54 CEST 2008 - pmladek@suse.cz + +- updated to the milestone ooo300-m7 (3.0rc2) +- updated ooo-build to version 3.0.0.5 + +------------------------------------------------------------------- +Thu Sep 11 17:40:55 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to version 3.0.0.4 +- merged the OpenOffice_org-l10n-group1 and OpenOffice_org-group2 source + packages +- split help into separate source package OpenOffice_org-help + +------------------------------------------------------------------- +Fri Aug 29 16:30:49 CEST 2008 - pmladek@suse.cz + +- added libexpat-devel to BuildRequires +- fixed build with mono 2.0 + +------------------------------------------------------------------- +Tue Aug 26 22:17:52 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to version 3.0.0.2 + +------------------------------------------------------------------- +Thu Aug 21 14:20:57 CEST 2008 - pmladek@suse.cz + +- updated to the milestone ooo300-m3 (3.0-betaX) +- updated ooo-build to version 3.0.0.1 +- updated Kohei's Calc solver sources to snapshot 2008-08-20 +- added libpoppler-devel to BuildRequires for openSUSE >= 11.0 +- disabled poppler for openSUSE < 11.0; will use the internal xpdf +- added back the --with-java-target-version configure option +- enabled build with IBM Java + +------------------------------------------------------------------- +Fri Aug 15 17:26:05 CEST 2008 - pmladek@suse.cz + +- updated to the milestone ooo300-m2 (3.0-betaX) +- updated ooo-build to version 3.0.0 +- updated libwpg to version 0.1.3 +- removed obsolete lp_solve sources +- added Kohei's Calc solver sources, snapshot 2008-08-13 +- added "coreutils grep sed" to PreReq of OpenOffice_org-l10n-en-US [bnc#413560] +- switched to mozilla-xulrunner190 for openSUSE > 11.0 + +------------------------------------------------------------------- +Fri Jul 18 14:12:34 CEST 2008 - pmladek@suse.cz + +- updated to the milestone dev300-m25 (3.0-alphax) +- updated ooo-build to version 2.99.25 +- updated spec for the more split sources + +------------------------------------------------------------------- +Thu Jul 3 10:52:18 CEST 2008 - pmladek@suse.cz + +- updated to the milestone dev300-m21 (3.0-alphax) +- updated to version 2.99.21 +- added extra extsw source with extensions +- updated for the new three layer structure (basis subdir dir) +- added en-US subpackage +- renamed to the structure OpenOffice_org-l10n- to differ it + from the other OOo subpackages and make the orientation easier +- split optional help- subpackages +- added ooo-l10n-gen-spec and ooo-l10n-group1 to generate parts + of the spec file + +------------------------------------------------------------------- +Tue Jun 24 20:09:17 CEST 2008 - pmladek@suse.cz + +- updated to the milestone ooh680-m17 == 2.4.1rc2 == 2.4.1-final +- updated ooo-build to version 2.4.1.7 + +------------------------------------------------------------------- +Thu Jun 5 21:32:27 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to version 2.4.0.14 + +------------------------------------------------------------------- +Thu May 22 21:00:33 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to version 2.4.0.13 +- updated the with_distro option for the split configuration + +------------------------------------------------------------------- +Fri May 9 12:20:23 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to ooo-build-2.4.0.10 + +------------------------------------------------------------------- +Thu Apr 24 20:08:10 CEST 2008 - pmladek@suse.cz + +- updated ooo-build to ooo-build-2.4.0.8 +- added back the extra localizations sources; were removed by mistake + (bnc#335643) +- fixed build dependency in the oox module +- better support for L3 team: + * use autoreconf instead of autoconf to work even with ooo-build generated + on newer system + * sample comments where and how to put extra patches + +------------------------------------------------------------------- +Mon Apr 14 14:54:35 CEST 2008 - pmladek@suse.cz + +- split from the OpenOffice_org-i18n package to build the localizations + on more machines and get the result faster +- moved the icon-themes subpackage to a separate source +- updated ooo-build to ooo-build-2.4.0.6 +- added libwpd-devel libwpg-devel libwps-devel hunspell-devel to BuildRequires + for openSUSE >= 11.0; to be in sync with the main package + +------------------------------------------------------------------- +Fri Mar 28 18:06:44 CET 2008 - pmladek@suse.cz + +- updated to the milestone ooh680-m12 (2.4rc6 == 2.4-final) +- updated ooo-build to ooo-build-2.4.0.5: + * more Hungarian translation fixes +- added the branding related changes to be in sync with the main package + +------------------------------------------------------------------- +Thu Mar 13 21:15:47 CET 2008 - pmladek@suse.cz + +- updated to the milestone ooh680-m11 (2.4rc5) [fate#303312] +- updated ooo-build to ooo-build-2.4.0.3 +- updated oox and writerfilter to the snapshot 2008-02-29 + +------------------------------------------------------------------- +Thu Feb 28 20:49:34 CET 2008 - pmladek@suse.cz + +- updated to the milestone ooh680-m8 (2.4rc2) +- updated ooo-build to ooo-build-2.4.0 +- updated libwpd to version 0.8.14 +- updated extra translation sources: be-BY, bg, cs, da, et, fi, ga, km, mk, + sl, vi +- removed obsolete extra translation sources: hu, sh-YU, sr-CS +- fixed build dependencies: + * used java-devel instead of the obsolete java2-devel-packages + * added update-alternatives on SL 10.0 +- fixed dependencies: + * "de" subpackage should recommend myspell-german instead of requiring + myspell-german-dictionary; it helps the package installation solver to + prefer the newer German dictionary [bnc#343673] + * recommends the dictionaries instead of requiring + +------------------------------------------------------------------- +Thu Feb 7 16:26:44 CET 2008 - pmladek@suse.cz + +- enabled system icu in STABLE again + +------------------------------------------------------------------- +Fri Feb 1 12:08:51 CET 2008 - pmladek@suse.cz + +- updated to the milestone ooh680-m5 (2.4-betaX) +- updated ooo-build to 2.3.99.2 +- updated oox to snapshot 2008-01-29 +- updated libwps to version 0.1.2 +- updated libwpg to version 0.1.2 +- updated libwpg to version 0.1.2 +- updated the prebuilt cli_types.dll +- moved witerfilter stuff to extra tarball, snapshot 2008-01-29 +- removed obsolete xorg-x11-Xvfb from BuildRequires +- removed unused startup-notification-devel libsndfile-devel from BuildRequires +- removed unused glitz sources +- "sr-CS" was internaly renamed to "sr" and "sh-YU" to "sh" +- renamed option --with-icecream-max-jobs to --with-max-jobs + +------------------------------------------------------------------- +Tue Dec 11 17:19:26 CET 2007 - pmladek@suse.cz + +- updated ooo-build to 2.3.1.1 +- temporary disabled the new EMF+ support; still not enough stable + +------------------------------------------------------------------- +Mon Dec 3 18:58:45 CET 2007 - pmladek@suse.cz + +- updated to milestone oog680-m9 (OOo-2.3.1rc1 == final) +- updated ooo-build to 2.3.1 + +------------------------------------------------------------------- +Wed Nov 21 17:08:25 CET 2007 - pmladek@suse.cz + +- updated to milestone oog680-m8 (OOo-2.3.1.betaX) +- updated ooo-build to 2.3.0.6 +- added changes to be in sync with the main package: + * updated cairo to version 1.4.10 (used only for older products) + * added temporary patches to disable SDK and system icu + * few build fixes + +------------------------------------------------------------------- +Tue Oct 9 19:23:26 CEST 2007 - pmladek@suse.cz + +- updated ooo-build to 2.3.0.5 +- fixed provides of icon-themes to fix update from older distributions + [n#328171] + +------------------------------------------------------------------- +Fri Sep 21 13:25:52 CEST 2007 - pmladek@suse.cz + +- milestone oog680-m5 has been marked OOo-2.3 final + +------------------------------------------------------------------- +Thu Sep 13 12:07:53 CEST 2007 - pmladek@suse.cz + +- updated to milestone oog680-m5 (OOo-2.3.rc3) +- updated ooo-build to 2.3.0.1.2 +- updated extra translation files: bg, cs, da, et, mk, vi + +------------------------------------------------------------------- +Mon Sep 3 17:02:36 CEST 2007 - pmladek@suse.cz + +- updated to milestone oog680-m3 (OOo-2.3.rc1) +- updated ooo-build to 2.3.0.1 + +------------------------------------------------------------------- +Fri Aug 31 18:25:40 CEST 2007 - pmladek@suse.cz + +- updated to milestone oog680-m2 (another OOo-2.3.beta, close rc1) +- updated ooo-build to oog680-m2 +- updated extra translation files: af, bg, cs, da, et, fi, ga, ka, lt, mk, nb, + nn, sk, sl, vi +- added extra translation file: gl +- removed unused Requires and Provides +- fixed build to update localizations from the external sources + +------------------------------------------------------------------- +Fri Aug 17 17:39:06 CEST 2007 - pmladek@suse.cz + +- updated to milestone oog680-m1 (another OOo-2.3.beta, close rc1) +- updated ooo-build to oog680-m1 + +------------------------------------------------------------------- +Fri Aug 10 17:41:47 CEST 2007 - pmladek@suse.cz + +- updated to milestone src680-m225 (another OOo-2.3.beta) +- updated ooo-build to src680-m225 +- improved icon-themes package [n#296502] + * removed the obsolete cyclic dependency on the main package + * removed obsolete compat symlinks + +------------------------------------------------------------------- +Mon Aug 6 18:45:05 CEST 2007 - pmladek@suse.cz + +- used PreReq instead of Requires to install the script link-to-ooo-home + in time [n#296502] + +------------------------------------------------------------------- +Fri Aug 3 13:00:58 CEST 2007 - kendy@suse.cz + +- updated to milestone src680-m224 (another OOo-2.3.beta) +- updated ooo-build to src680-m224 + +------------------------------------------------------------------- +Fri Jul 27 12:08:16 CEST 2007 - pmladek@suse.cz + +- updated to milestone src680-m222 (another OOo-2.3.beta) +- updated ooo-build to src680-m222 +- added supackages for more localizations: Breton French(br), + South Africa English(en-ZA), Gaelic(ga), Galician(gl), Hebrew(he), + Georgian(ka), Ndebele(nr), Latin Serbian(sh-YU), Swazi(ss), Tajiki(tg), + Thai(th), Ukrainian(uk), Venda(ve) +- added subpackage for icons (icon-themes); should be move into separate + source package ASAP +- update extra translation sources: af, bg, cs, cy, da, et, fi, mk +- added extra translation sources: br, en-ZA, ga, ka, nr, sh-YU, ss, tg, ve +- added icu libicu-devel portaudio-devel to BuildRequires according to the + main package +- changed %post to %posttrans to fix update + +------------------------------------------------------------------- +Mon Jul 23 11:34:48 CEST 2007 - pmladek@suse.cz + +- updated to milestone src680-m221 (another OOo-2.3.alpha) +- updated ooo-build to src680-m221 +- updated BuildRequires according to the main package: + * removed db-java, openclipart + * added gperf +- updated source list according to the main package: + * updated libwpg to version 0.1.0~cvs20070712 + * updated libwpd to version 0.8.10 + * added libsvg, version 0.1.4 + * removed obsolete hyph.tar and thesaurus.jar +- removed unused rpmlintrc; is needed only for the main package +- added dependency on the new OpenOffice_org-thesaurus- packages + +------------------------------------------------------------------- +Fri Jun 15 21:03:25 CEST 2007 - pmladek@suse.cz + +- split from OpenOffice_org to build the localizations stuff as noarch + [fate#302110] diff --git a/libreoffice-l10n.spec b/libreoffice-l10n.spec new file mode 100644 index 0000000..a8102af --- /dev/null +++ b/libreoffice-l10n.spec @@ -0,0 +1,2605 @@ +# +# spec file for package libreoffice-l10n +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +################################################################### +## DO NOT EDIT THIS SPEC FILE +## Generated by: +## perl lo-l10n-gen-spec libreoffice-l10n.spec.in lo-l10n-data +################################################################### +Name: libreoffice-l10n +Version: 3.5.3.2 +Release: 0 +%define piece l10n +%define ooo_home libreoffice +# test_build_langs: 1 = de and cs +# 2 = all supported languages +%define test_build_langs 2 +# build_module_in_parallel 0 = no +# 1 = yes (the number is defined be the number of cpus) +# 2,3,4... = yes (force the number of modules to be built in parallel) +%define build_module_in_parallel 1 +# prepare_build: 0 = no +# 1 = yes (just build, install and create packages; without %%prep section and configure) +%define prepare_build 1 +# +%if %test_build_langs == 0 +%define lo_langs "" +%else +%if %test_build_langs == 1 +%define lo_langs "cs de hu ja" +%else +%define lo_langs "af ar be-BY bg br ca cs cy da de el en-GB en-ZA es et fi fr ga gl gu-IN he hi-IN hr hu it ja ka km ko lt mk nb nl nn nr pa-IN pl pt pt-BR ru rw sh sk sl sr ss st sv tg th tr ts uk ve vi xh zh-CN zh-TW zu" +%endif +%endif +Summary: A Source Package for LibreOffice Localizations +License: LGPL-3.0 +Group: Productivity/Office/Suite +Url: http://www.documentfoundation.org/ +Source0: install-l10n-helper +# helper stuff to produce the spec file +Source100: libreoffice-l10n.spec.in +Source101: lo-l10n-gen-spec +Source102: lo-l10n-data +# FIXME: the l10n files includes some duplicated files +Source200: libreoffice-l10n-rpmlintrc +#!BuildIgnore: libreoffice +BuildRequires: libreoffice-l10n-prebuilt = %{version} +BuildRequires: unzip +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +#!ExclusiveArch: %ix86 x86_64 ppc +ExcludeArch: %arm ia64 s390 s390x + +%description +This source package is used to build the LibreOffice artwork +development package. + +%if %test_build_langs >= 2 +%package -n libreoffice-l10n-af +Summary: African Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:af) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-af = %{version} +Obsoletes: OpenOffice_org-af <= %{version} +Provides: OpenOffice_org-l10n-af = %{version} +Obsoletes: OpenOffice_org-l10n-af <= %{version} +Provides: OpenOffice_org-af:%{_prefix}/ooo-2.0/program/resource/sw680af.res + +%description -n libreoffice-l10n-af +African localization files for LibreOffice. + +%package -n libreoffice-l10n-ar +Summary: Arabic Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ar) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-ar +# compat stuff +Provides: OpenOffice_org-ar = %{version} +Obsoletes: OpenOffice_org-ar <= %{version} +Provides: OpenOffice_org-l10n-ar = %{version} +Obsoletes: OpenOffice_org-l10n-ar <= %{version} +Provides: OpenOffice_org-ar:%{_prefix}/ooo-2.0/program/resource/sw680ar.res + +%description -n libreoffice-l10n-ar +Arabic localization files for LibreOffice. + +%package -n libreoffice-l10n-be-BY +Summary: Belorussian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:be) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-ru +# compat stuff +Provides: OpenOffice_org-be-BY = %{version} +Obsoletes: OpenOffice_org-be-BY <= %{version} +Provides: OpenOffice_org-l10n-be-BY = %{version} +Obsoletes: OpenOffice_org-l10n-be-BY <= %{version} +Provides: OpenOffice_org-be-BY:%{_prefix}/ooo-2.0/program/resource/sw680be-BY.res + +%description -n libreoffice-l10n-be-BY +Belorussian localization files for LibreOffice. + +%package -n libreoffice-l10n-bg +Summary: Bulgarian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:bg) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-bg +# compat stuff +Provides: OpenOffice_org-bg = %{version} +Obsoletes: OpenOffice_org-bg <= %{version} +Provides: OpenOffice_org-l10n-bg = %{version} +Obsoletes: OpenOffice_org-l10n-bg <= %{version} +Provides: OpenOffice_org-bg:%{_prefix}/ooo-2.0/program/resource/sw680bg.res + +%description -n libreoffice-l10n-bg +Bulgarian localization files for LibreOffice. + +%package -n libreoffice-l10n-br +Summary: Breton French Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:br) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-br = %{version} +Obsoletes: OpenOffice_org-br <= %{version} +Provides: OpenOffice_org-l10n-br = %{version} +Obsoletes: OpenOffice_org-l10n-br <= %{version} +Provides: OpenOffice_org-br:%{_prefix}/ooo-2.0/program/resource/sw680br.res + +%description -n libreoffice-l10n-br +Breton French localization files for LibreOffice. + +%package -n libreoffice-l10n-ca +Summary: Catalan Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ca) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-ca = %{version} +Obsoletes: OpenOffice_org-ca <= %{version} +Provides: OpenOffice_org-l10n-ca = %{version} +Obsoletes: OpenOffice_org-l10n-ca <= %{version} +Provides: OpenOffice_org-ca:%{_prefix}/ooo-2.0/program/resource/sw680ca.res + +%description -n libreoffice-l10n-ca +Catalan localization files for LibreOffice. + +%endif +%if %test_build_langs >= 1 + +%package -n libreoffice-l10n-cs +Summary: Czech Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:cs) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-cs = %{version} +Obsoletes: OpenOffice_org-cs <= %{version} +Provides: OpenOffice_org-l10n-cs = %{version} +Obsoletes: OpenOffice_org-l10n-cs <= %{version} +Provides: OpenOffice_org-cs:%{_prefix}/ooo-2.0/program/resource/sw680cs.res + +%description -n libreoffice-l10n-cs +Czech localization files for LibreOffice. + +%endif +%if %test_build_langs >= 2 + +%package -n libreoffice-l10n-cy +Summary: Welsh Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:cy) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-cy = %{version} +Obsoletes: OpenOffice_org-cy <= %{version} +Provides: OpenOffice_org-l10n-cy = %{version} +Obsoletes: OpenOffice_org-l10n-cy <= %{version} +Provides: OpenOffice_org-cy:%{_prefix}/ooo-2.0/program/resource/sw680cy.res + +%description -n libreoffice-l10n-cy +Welsh localization files for LibreOffice. + +%package -n libreoffice-l10n-da +Summary: Danish Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:da) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-da = %{version} +Obsoletes: OpenOffice_org-da <= %{version} +Provides: OpenOffice_org-l10n-da = %{version} +Obsoletes: OpenOffice_org-l10n-da <= %{version} +Provides: OpenOffice_org-da:%{_prefix}/ooo-2.0/program/resource/sw680da.res + +%description -n libreoffice-l10n-da +Danish localization files for LibreOffice. + +%endif +%if %test_build_langs >= 1 + +%package -n libreoffice-l10n-de +Summary: German Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:de) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-de = %{version} +Obsoletes: OpenOffice_org-de <= %{version} +Provides: OpenOffice_org-l10n-de = %{version} +Obsoletes: OpenOffice_org-l10n-de <= %{version} +Provides: OpenOffice_org-de:%{_prefix}/ooo-2.0/program/resource/sw680de.res + +%description -n libreoffice-l10n-de +German localization files for LibreOffice. + +%endif +%if %test_build_langs >= 2 + +%package -n libreoffice-l10n-el +Summary: Greek Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:el) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-el +# compat stuff +Provides: OpenOffice_org-el = %{version} +Obsoletes: OpenOffice_org-el <= %{version} +Provides: OpenOffice_org-l10n-el = %{version} +Obsoletes: OpenOffice_org-l10n-el <= %{version} +Provides: OpenOffice_org-el:%{_prefix}/ooo-2.0/program/resource/sw680el.res + +%description -n libreoffice-l10n-el +Greek localization files for LibreOffice. + +%package -n libreoffice-l10n-en-GB +Summary: British Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:en_GB) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-en-GB = %{version} +Obsoletes: OpenOffice_org-en-GB <= %{version} +Provides: OpenOffice_org-l10n-en-GB = %{version} +Obsoletes: OpenOffice_org-l10n-en-GB <= %{version} +Provides: OpenOffice_org-en-GB:%{_prefix}/ooo-2.0/program/resource/sw680en-GB.res + +%description -n libreoffice-l10n-en-GB +British localization files for LibreOffice. + +%package -n libreoffice-l10n-en-ZA +Summary: South Africa English Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:en_ZA) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-en-ZA = %{version} +Obsoletes: OpenOffice_org-en-ZA <= %{version} +Provides: OpenOffice_org-l10n-en-ZA = %{version} +Obsoletes: OpenOffice_org-l10n-en-ZA <= %{version} +Provides: OpenOffice_org-en-ZA:%{_prefix}/ooo-2.0/program/resource/sw680en-ZA.res + +%description -n libreoffice-l10n-en-ZA +South Africa English localization files for LibreOffice. + +%package -n libreoffice-l10n-es +Summary: Spanish Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:es) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-es = %{version} +Obsoletes: OpenOffice_org-es <= %{version} +Provides: OpenOffice_org-l10n-es = %{version} +Obsoletes: OpenOffice_org-l10n-es <= %{version} +Provides: OpenOffice_org-es:%{_prefix}/ooo-2.0/program/resource/sw680es.res + +%description -n libreoffice-l10n-es +Spanish localization files for LibreOffice. + +%package -n libreoffice-l10n-et +Summary: Estonian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:et) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-et = %{version} +Obsoletes: OpenOffice_org-et <= %{version} +Provides: OpenOffice_org-l10n-et = %{version} +Obsoletes: OpenOffice_org-l10n-et <= %{version} +Provides: OpenOffice_org-et:%{_prefix}/ooo-2.0/program/resource/sw680et.res + +%description -n libreoffice-l10n-et +Estonian localization files for LibreOffice. + +%package -n libreoffice-l10n-fi +Summary: Finnish Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:fi) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-fi = %{version} +Obsoletes: OpenOffice_org-fi <= %{version} +Provides: OpenOffice_org-l10n-fi = %{version} +Obsoletes: OpenOffice_org-l10n-fi <= %{version} +Provides: OpenOffice_org-fi:%{_prefix}/ooo-2.0/program/resource/sw680fi.res + +%description -n libreoffice-l10n-fi +Finnish localization files for LibreOffice. + +%package -n libreoffice-l10n-fr +Summary: French Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:fr) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-fr = %{version} +Obsoletes: OpenOffice_org-fr <= %{version} +Provides: OpenOffice_org-l10n-fr = %{version} +Obsoletes: OpenOffice_org-l10n-fr <= %{version} +Provides: OpenOffice_org-fr:%{_prefix}/ooo-2.0/program/resource/sw680fr.res + +%description -n libreoffice-l10n-fr +French localization files for LibreOffice. + +%package -n libreoffice-l10n-ga +Summary: Gaelic Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ga) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-ga = %{version} +Obsoletes: OpenOffice_org-ga <= %{version} +Provides: OpenOffice_org-l10n-ga = %{version} +Obsoletes: OpenOffice_org-l10n-ga <= %{version} +Provides: OpenOffice_org-ga:%{_prefix}/ooo-2.0/program/resource/sw680ga.res + +%description -n libreoffice-l10n-ga +Gaelic localization files for LibreOffice. + +%package -n libreoffice-l10n-gl +Summary: Galician Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:gl) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-gl = %{version} +Obsoletes: OpenOffice_org-gl <= %{version} +Provides: OpenOffice_org-l10n-gl = %{version} +Obsoletes: OpenOffice_org-l10n-gl <= %{version} +Provides: OpenOffice_org-gl:%{_prefix}/ooo-2.0/program/resource/sw680gl.res + +%description -n libreoffice-l10n-gl +Galician localization files for LibreOffice. + +%package -n libreoffice-l10n-gu-IN +Summary: Gujarati Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:gu) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-gu +# compat stuff +Provides: OpenOffice_org-gu-IN = %{version} +Obsoletes: OpenOffice_org-gu-IN <= %{version} +Provides: OpenOffice_org-l10n-gu-IN = %{version} +Obsoletes: OpenOffice_org-l10n-gu-IN <= %{version} +Provides: OpenOffice_org-gu-IN:%{_prefix}/ooo-2.0/program/resource/sw680gu-IN.res + +%description -n libreoffice-l10n-gu-IN +Gujarati localization files for LibreOffice. + +%package -n libreoffice-l10n-he +Summary: Hebrew Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:he) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-he = %{version} +Obsoletes: OpenOffice_org-he <= %{version} +Provides: OpenOffice_org-l10n-he = %{version} +Obsoletes: OpenOffice_org-l10n-he <= %{version} +Provides: OpenOffice_org-he:%{_prefix}/ooo-2.0/program/resource/sw680he.res + +%description -n libreoffice-l10n-he +Hebrew localization files for LibreOffice. + +%package -n libreoffice-l10n-hi-IN +Summary: Hindi Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:hi) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-hi +# compat stuff +Provides: OpenOffice_org-hi-IN = %{version} +Obsoletes: OpenOffice_org-hi-IN <= %{version} +Provides: OpenOffice_org-l10n-hi-IN = %{version} +Obsoletes: OpenOffice_org-l10n-hi-IN <= %{version} +Provides: OpenOffice_org-hi-IN:%{_prefix}/ooo-2.0/program/resource/sw680hi-IN.res + +%description -n libreoffice-l10n-hi-IN +Hindi localization files for LibreOffice. + +%package -n libreoffice-l10n-hr +Summary: Croatian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:hr) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-hr = %{version} +Obsoletes: OpenOffice_org-hr <= %{version} +Provides: OpenOffice_org-l10n-hr = %{version} +Obsoletes: OpenOffice_org-l10n-hr <= %{version} +Provides: OpenOffice_org-hr:%{_prefix}/ooo-2.0/program/resource/sw680hr.res + +%description -n libreoffice-l10n-hr +Croatian localization files for LibreOffice. + +%endif +%if %test_build_langs >= 1 + +%package -n libreoffice-l10n-hu +Summary: Hungarian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:hu) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-hu = %{version} +Obsoletes: OpenOffice_org-hu <= %{version} +Provides: OpenOffice_org-l10n-hu = %{version} +Obsoletes: OpenOffice_org-l10n-hu <= %{version} +Provides: OpenOffice_org-hu:%{_prefix}/ooo-2.0/program/resource/sw680hu.res + +%description -n libreoffice-l10n-hu +Hungarian localization files for LibreOffice. + +%endif +%if %test_build_langs >= 2 + +%package -n libreoffice-l10n-it +Summary: Italian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:it) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-it = %{version} +Obsoletes: OpenOffice_org-it <= %{version} +Provides: OpenOffice_org-l10n-it = %{version} +Obsoletes: OpenOffice_org-l10n-it <= %{version} +Provides: OpenOffice_org-it:%{_prefix}/ooo-2.0/program/resource/sw680it.res + +%description -n libreoffice-l10n-it +Italian localization files for LibreOffice. + +%endif +%if %test_build_langs >= 1 + +%package -n libreoffice-l10n-ja +Summary: Japanese Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ja) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-ja +# compat stuff +Provides: OpenOffice_org-ja = %{version} +Obsoletes: OpenOffice_org-ja <= %{version} +Provides: OpenOffice_org-l10n-ja = %{version} +Obsoletes: OpenOffice_org-l10n-ja <= %{version} +Provides: OpenOffice_org-ja:%{_prefix}/ooo-2.0/program/resource/sw680ja.res + +%description -n libreoffice-l10n-ja +Japanese localization files for LibreOffice. + +%endif +%if %test_build_langs >= 2 + +%package -n libreoffice-l10n-ka +Summary: Georgian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ka) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-ka = %{version} +Obsoletes: OpenOffice_org-ka <= %{version} +Provides: OpenOffice_org-l10n-ka = %{version} +Obsoletes: OpenOffice_org-l10n-ka <= %{version} +Provides: OpenOffice_org-ka:%{_prefix}/ooo-2.0/program/resource/sw680ka.res + +%description -n libreoffice-l10n-ka +Georgian localization files for LibreOffice. + +%package -n libreoffice-l10n-km +Summary: Khmer Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:km) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-km +# compat stuff +Provides: OpenOffice_org-km = %{version} +Obsoletes: OpenOffice_org-km <= %{version} +Provides: OpenOffice_org-l10n-km = %{version} +Obsoletes: OpenOffice_org-l10n-km <= %{version} +Provides: OpenOffice_org-km:%{_prefix}/ooo-2.0/program/resource/sw680km.res + +%description -n libreoffice-l10n-km +Khmer localization files for LibreOffice. + +%package -n libreoffice-l10n-ko +Summary: Korean Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ko) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-ko +# compat stuff +Provides: OpenOffice_org-ko = %{version} +Obsoletes: OpenOffice_org-ko <= %{version} +Provides: OpenOffice_org-l10n-ko = %{version} +Obsoletes: OpenOffice_org-l10n-ko <= %{version} +Provides: OpenOffice_org-ko:%{_prefix}/ooo-2.0/program/resource/sw680ko.res + +%description -n libreoffice-l10n-ko +Korean localization files for LibreOffice. + +%package -n libreoffice-l10n-lt +Summary: Lithuanian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:lt) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-lt = %{version} +Obsoletes: OpenOffice_org-lt <= %{version} +Provides: OpenOffice_org-l10n-lt = %{version} +Obsoletes: OpenOffice_org-l10n-lt <= %{version} +Provides: OpenOffice_org-lt:%{_prefix}/ooo-2.0/program/resource/sw680lt.res + +%description -n libreoffice-l10n-lt +Lithuanian localization files for LibreOffice. + +%package -n libreoffice-l10n-mk +Summary: Macedonian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:mk) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-ru +# compat stuff +Provides: OpenOffice_org-mk = %{version} +Obsoletes: OpenOffice_org-mk <= %{version} +Provides: OpenOffice_org-l10n-mk = %{version} +Obsoletes: OpenOffice_org-l10n-mk <= %{version} +Provides: OpenOffice_org-mk:%{_prefix}/ooo-2.0/program/resource/sw680mk.res + +%description -n libreoffice-l10n-mk +Macedonian localization files for LibreOffice. + +%package -n libreoffice-l10n-nb +Summary: Norwegian Bokmaal Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:nb) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-nb = %{version} +Obsoletes: OpenOffice_org-nb <= %{version} +Provides: OpenOffice_org-l10n-nb = %{version} +Obsoletes: OpenOffice_org-l10n-nb <= %{version} +Provides: OpenOffice_org-nb:%{_prefix}/ooo-2.0/program/resource/sw680nb.res + +%description -n libreoffice-l10n-nb +Norwegian Bokmaal localization files for LibreOffice. + +%package -n libreoffice-l10n-nl +Summary: Dutch Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:nl) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-nl = %{version} +Obsoletes: OpenOffice_org-nl <= %{version} +Provides: OpenOffice_org-l10n-nl = %{version} +Obsoletes: OpenOffice_org-l10n-nl <= %{version} +Provides: OpenOffice_org-nl:%{_prefix}/ooo-2.0/program/resource/sw680nl.res + +%description -n libreoffice-l10n-nl +Dutch localization files for LibreOffice. + +%package -n libreoffice-l10n-nn +Summary: Norwegian Nynorsk Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:nn) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-nn = %{version} +Obsoletes: OpenOffice_org-nn <= %{version} +Provides: OpenOffice_org-l10n-nn = %{version} +Obsoletes: OpenOffice_org-l10n-nn <= %{version} +Provides: OpenOffice_org-nn:%{_prefix}/ooo-2.0/program/resource/sw680nn.res + +%description -n libreoffice-l10n-nn +Norwegian Nynorsk localization files for LibreOffice. + +%package -n libreoffice-l10n-nr +Summary: Ndebele Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:nr) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-nr = %{version} +Obsoletes: OpenOffice_org-nr <= %{version} +Provides: OpenOffice_org-l10n-nr = %{version} +Obsoletes: OpenOffice_org-l10n-nr <= %{version} +Provides: OpenOffice_org-nr:%{_prefix}/ooo-2.0/program/resource/sw680nr.res + +%description -n libreoffice-l10n-nr +Ndebele localization files for LibreOffice. + +%package -n libreoffice-l10n-pa-IN +Summary: Punjabi Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:pa_IN) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-pa +# compat stuff +Provides: OpenOffice_org-pa-IN = %{version} +Obsoletes: OpenOffice_org-pa-IN <= %{version} +Provides: OpenOffice_org-l10n-pa-IN = %{version} +Obsoletes: OpenOffice_org-l10n-pa-IN <= %{version} +Provides: OpenOffice_org-pa-IN:%{_prefix}/ooo-2.0/program/resource/sw680pa-IN.res + +%description -n libreoffice-l10n-pa-IN +Punjabi localization files for LibreOffice. + +%package -n libreoffice-l10n-pl +Summary: Polish Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:pl) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-pl = %{version} +Obsoletes: OpenOffice_org-pl <= %{version} +Provides: OpenOffice_org-l10n-pl = %{version} +Obsoletes: OpenOffice_org-l10n-pl <= %{version} +Provides: OpenOffice_org-pl:%{_prefix}/ooo-2.0/program/resource/sw680pl.res + +%description -n libreoffice-l10n-pl +Polish localization files for LibreOffice. + +%package -n libreoffice-l10n-pt +Summary: Portuguese Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:pt) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-pt = %{version} +Obsoletes: OpenOffice_org-pt <= %{version} +Provides: OpenOffice_org-l10n-pt = %{version} +Obsoletes: OpenOffice_org-l10n-pt <= %{version} +Provides: OpenOffice_org-pt:%{_prefix}/ooo-2.0/program/resource/sw680pt.res + +%description -n libreoffice-l10n-pt +Portuguese localization files for LibreOffice. + +%package -n libreoffice-l10n-pt-BR +Summary: Brazilian Portuguese Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:pt_BR) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-pt-BR = %{version} +Obsoletes: OpenOffice_org-pt-BR <= %{version} +Provides: OpenOffice_org-l10n-pt-BR = %{version} +Obsoletes: OpenOffice_org-l10n-pt-BR <= %{version} +Provides: OpenOffice_org-pt-BR:%{_prefix}/ooo-2.0/program/resource/sw680pt-BR.res + +%description -n libreoffice-l10n-pt-BR +Brazilian Portuguese localization files for LibreOffice. + +%package -n libreoffice-l10n-ru +Summary: Russian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ru) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-ru +# compat stuff +Provides: OpenOffice_org-ru = %{version} +Obsoletes: OpenOffice_org-ru <= %{version} +Provides: OpenOffice_org-l10n-ru = %{version} +Obsoletes: OpenOffice_org-l10n-ru <= %{version} +Provides: OpenOffice_org-ru:%{_prefix}/ooo-2.0/program/resource/sw680ru.res + +%description -n libreoffice-l10n-ru +Russian localization files for LibreOffice. + +%package -n libreoffice-l10n-rw +Summary: Kinyarwanda Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:rw) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-rw = %{version} +Obsoletes: OpenOffice_org-rw <= %{version} +Provides: OpenOffice_org-l10n-rw = %{version} +Obsoletes: OpenOffice_org-l10n-rw <= %{version} +Provides: OpenOffice_org-rw:%{_prefix}/ooo-2.0/program/resource/sw680rw.res + +%description -n libreoffice-l10n-rw +Kinyarwanda localization files for LibreOffice. + +%package -n libreoffice-l10n-sh +Summary: Latin Serbian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:sh) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{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 +# compat stuff +Provides: OpenOffice_org-sh = %{version} +Obsoletes: OpenOffice_org-sh <= %{version} +Provides: OpenOffice_org-l10n-sh = %{version} +Obsoletes: OpenOffice_org-l10n-sh <= %{version} +Provides: OpenOffice_org-sh:%{_prefix}/ooo-2.0/program/resource/sw680sh.res + +%description -n libreoffice-l10n-sh +Latin Serbian localization files for LibreOffice. + +%package -n libreoffice-l10n-sk +Summary: Slovak Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:sk) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-sk = %{version} +Obsoletes: OpenOffice_org-sk <= %{version} +Provides: OpenOffice_org-l10n-sk = %{version} +Obsoletes: OpenOffice_org-l10n-sk <= %{version} +Provides: OpenOffice_org-sk:%{_prefix}/ooo-2.0/program/resource/sw680sk.res + +%description -n libreoffice-l10n-sk +Slovak localization files for LibreOffice. + +%package -n libreoffice-l10n-sl +Summary: Slovene Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:sl) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-sl = %{version} +Obsoletes: OpenOffice_org-sl <= %{version} +Provides: OpenOffice_org-l10n-sl = %{version} +Obsoletes: OpenOffice_org-l10n-sl <= %{version} +Provides: OpenOffice_org-sl:%{_prefix}/ooo-2.0/program/resource/sw680sl.res + +%description -n libreoffice-l10n-sl +Slovene localization files for LibreOffice. + +%package -n libreoffice-l10n-sr +Summary: Serbian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:sr) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-ru +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 +# compat stuff +Provides: OpenOffice_org-sr = %{version} +Obsoletes: OpenOffice_org-sr <= %{version} +Provides: OpenOffice_org-l10n-sr = %{version} +Obsoletes: OpenOffice_org-l10n-sr <= %{version} +Provides: OpenOffice_org-sr:%{_prefix}/ooo-2.0/program/resource/sw680sr.res + +%description -n libreoffice-l10n-sr +Serbian localization files for LibreOffice. + +%package -n libreoffice-l10n-ss +Summary: Swazi Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ss) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-ss = %{version} +Obsoletes: OpenOffice_org-ss <= %{version} +Provides: OpenOffice_org-l10n-ss = %{version} +Obsoletes: OpenOffice_org-l10n-ss <= %{version} +Provides: OpenOffice_org-ss:%{_prefix}/ooo-2.0/program/resource/sw680ss.res + +%description -n libreoffice-l10n-ss +Swazi localization files for LibreOffice. + +%package -n libreoffice-l10n-st +Summary: Sotho Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:st) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-st = %{version} +Obsoletes: OpenOffice_org-st <= %{version} +Provides: OpenOffice_org-l10n-st = %{version} +Obsoletes: OpenOffice_org-l10n-st <= %{version} +Provides: OpenOffice_org-st:%{_prefix}/ooo-2.0/program/resource/sw680st.res + +%description -n libreoffice-l10n-st +Sotho localization files for LibreOffice. + +%package -n libreoffice-l10n-sv +Summary: Swedish Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:sv) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-sv = %{version} +Obsoletes: OpenOffice_org-sv <= %{version} +Provides: OpenOffice_org-l10n-sv = %{version} +Obsoletes: OpenOffice_org-l10n-sv <= %{version} +Provides: OpenOffice_org-sv:%{_prefix}/ooo-2.0/program/resource/sw680sv.res + +%description -n libreoffice-l10n-sv +Swedish localization files for LibreOffice. + +%package -n libreoffice-l10n-tg +Summary: Tajiki Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:tg) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-tg = %{version} +Obsoletes: OpenOffice_org-tg <= %{version} +Provides: OpenOffice_org-l10n-tg = %{version} +Obsoletes: OpenOffice_org-l10n-tg <= %{version} +Provides: OpenOffice_org-tg:%{_prefix}/ooo-2.0/program/resource/sw680tg.res + +%description -n libreoffice-l10n-tg +Tajiki localization files for LibreOffice. + +%package -n libreoffice-l10n-th +Summary: Thai Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:th) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-th = %{version} +Obsoletes: OpenOffice_org-th <= %{version} +Provides: OpenOffice_org-l10n-th = %{version} +Obsoletes: OpenOffice_org-l10n-th <= %{version} +Provides: OpenOffice_org-th:%{_prefix}/ooo-2.0/program/resource/sw680th.res + +%description -n libreoffice-l10n-th +Thai localization files for LibreOffice. + +%package -n libreoffice-l10n-tr +Summary: Turkish Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:tr) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-tr = %{version} +Obsoletes: OpenOffice_org-tr <= %{version} +Provides: OpenOffice_org-l10n-tr = %{version} +Obsoletes: OpenOffice_org-l10n-tr <= %{version} +Provides: OpenOffice_org-tr:%{_prefix}/ooo-2.0/program/resource/sw680tr.res + +%description -n libreoffice-l10n-tr +Turkish localization files for LibreOffice. + +%package -n libreoffice-l10n-ts +Summary: Tsonga Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ts) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-ts = %{version} +Obsoletes: OpenOffice_org-ts <= %{version} +Provides: OpenOffice_org-l10n-ts = %{version} +Obsoletes: OpenOffice_org-l10n-ts <= %{version} +Provides: OpenOffice_org-ts:%{_prefix}/ooo-2.0/program/resource/sw680ts.res + +%description -n libreoffice-l10n-ts +Tsonga localization files for LibreOffice. + +%package -n libreoffice-l10n-uk +Summary: Ukrainian Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:uk) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-uk = %{version} +Obsoletes: OpenOffice_org-uk <= %{version} +Provides: OpenOffice_org-l10n-uk = %{version} +Obsoletes: OpenOffice_org-l10n-uk <= %{version} +Provides: OpenOffice_org-uk:%{_prefix}/ooo-2.0/program/resource/sw680uk.res + +%description -n libreoffice-l10n-uk +Ukrainian localization files for LibreOffice. + +%package -n libreoffice-l10n-ve +Summary: Venda Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:ve) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-ve = %{version} +Obsoletes: OpenOffice_org-ve <= %{version} +Provides: OpenOffice_org-l10n-ve = %{version} +Obsoletes: OpenOffice_org-l10n-ve <= %{version} +Provides: OpenOffice_org-ve:%{_prefix}/ooo-2.0/program/resource/sw680ve.res + +%description -n libreoffice-l10n-ve +Venda localization files for LibreOffice. + +%package -n libreoffice-l10n-vi +Summary: Vietnamese Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:vi) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-vi = %{version} +Obsoletes: OpenOffice_org-vi <= %{version} +Provides: OpenOffice_org-l10n-vi = %{version} +Obsoletes: OpenOffice_org-l10n-vi <= %{version} +Provides: OpenOffice_org-vi:%{_prefix}/ooo-2.0/program/resource/sw680vi.res + +%description -n libreoffice-l10n-vi +Vietnamese localization files for LibreOffice. + +%package -n libreoffice-l10n-xh +Summary: Xhosa Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:xh) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-xh = %{version} +Obsoletes: OpenOffice_org-xh <= %{version} +Provides: OpenOffice_org-l10n-xh = %{version} +Obsoletes: OpenOffice_org-l10n-xh <= %{version} +Provides: OpenOffice_org-xh:%{_prefix}/ooo-2.0/program/resource/sw680xh.res + +%description -n libreoffice-l10n-xh +Xhosa localization files for LibreOffice. + +%package -n libreoffice-l10n-zh-CN +Summary: Chinese Simplified Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:zh_CN) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-zh-CN +# compat stuff +Provides: OpenOffice_org-zh-CN = %{version} +Obsoletes: OpenOffice_org-zh-CN <= %{version} +Provides: OpenOffice_org-l10n-zh-CN = %{version} +Obsoletes: OpenOffice_org-l10n-zh-CN <= %{version} +Provides: OpenOffice_org-zh-CN:%{_prefix}/ooo-2.0/program/resource/sw680zh-CN.res + +%description -n libreoffice-l10n-zh-CN +Chinese Simplified localization files for LibreOffice. + +%package -n libreoffice-l10n-zh-TW +Summary: Chinese Traditional Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:zh_TW) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +Requires: scalable-font-zh-TW +# compat stuff +Provides: OpenOffice_org-zh-TW = %{version} +Obsoletes: OpenOffice_org-zh-TW <= %{version} +Provides: OpenOffice_org-l10n-zh-TW = %{version} +Obsoletes: OpenOffice_org-l10n-zh-TW <= %{version} +Provides: OpenOffice_org-zh-TW:%{_prefix}/ooo-2.0/program/resource/sw680zh-TW.res + +%description -n libreoffice-l10n-zh-TW +Chinese Traditional localization files for LibreOffice. + +%package -n libreoffice-l10n-zu +Summary: Zulu Localization Files for LibreOffice +Group: Productivity/Office/Suite +Provides: locale(libreoffice:zu) +%if 0%{?suse_version} > 01120 +Requires(post): coreutils +Requires(post): grep +Requires(post): libreoffice >= 3.5 +Requires(postun): coreutils +Requires(postun): grep +Requires(postun): libreoffice >= 3.5 +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 01120 +PreReq: coreutils +PreReq: grep +PreReq: libreoffice >= 3.5 +%endif +Requires: libreoffice = %{version} +# compat stuff +Provides: OpenOffice_org-zu = %{version} +Obsoletes: OpenOffice_org-zu <= %{version} +Provides: OpenOffice_org-l10n-zu = %{version} +Obsoletes: OpenOffice_org-l10n-zu <= %{version} +Provides: OpenOffice_org-zu:%{_prefix}/ooo-2.0/program/resource/sw680zu.res + +%description -n libreoffice-l10n-zu +Zulu localization files for LibreOffice. + +%endif + +%prep + +%build + +%install +# setup env. +export DESTDIR=%{buildroot} +/bin/bash -x $RPM_SOURCE_DIR/install-l10n-helper %{_libdir}/%ooo_home %{_datadir}/%ooo_home %{_libdir}/%ooo_home/share/file-lists/lang_*_list.txt + +%clean +rm -rf %{buildroot} + +%if %test_build_langs >= 2 +# af +%posttrans -n libreoffice-l10n-af +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_af_list.txt || true + +%preun -n libreoffice-l10n-af +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_af_list.txt %{_datadir}/%ooo_home/lang_af_list.txt.postun || true + +%postun -n libreoffice-l10n-af +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 +# ar +%posttrans -n libreoffice-l10n-ar +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ar_list.txt || true + +%preun -n libreoffice-l10n-ar +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ar_list.txt %{_datadir}/%ooo_home/lang_ar_list.txt.postun || true + +%postun -n libreoffice-l10n-ar +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 +# be-BY +%posttrans -n libreoffice-l10n-be-BY +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_be_list.txt || true + +%preun -n libreoffice-l10n-be-BY +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_be_list.txt %{_datadir}/%ooo_home/lang_be_list.txt.postun || true + +%postun -n libreoffice-l10n-be-BY +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 +# bg +%posttrans -n libreoffice-l10n-bg +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_bg_list.txt || true + +%preun -n libreoffice-l10n-bg +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_bg_list.txt %{_datadir}/%ooo_home/lang_bg_list.txt.postun || true + +%postun -n libreoffice-l10n-bg +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 +# br +%posttrans -n libreoffice-l10n-br +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_br_list.txt || true + +%preun -n libreoffice-l10n-br +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_br_list.txt %{_datadir}/%ooo_home/lang_br_list.txt.postun || true + +%postun -n libreoffice-l10n-br +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 +# ca +%posttrans -n libreoffice-l10n-ca +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ca_list.txt || true + +%preun -n libreoffice-l10n-ca +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ca_list.txt %{_datadir}/%ooo_home/lang_ca_list.txt.postun || true + +%postun -n libreoffice-l10n-ca +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ca_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_ca_list.txt.postun 2>/dev/null +%endif +%if %test_build_langs >= 1 + +# cs +%posttrans -n libreoffice-l10n-cs +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_cs_list.txt || true + +%preun -n libreoffice-l10n-cs +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_cs_list.txt %{_datadir}/%ooo_home/lang_cs_list.txt.postun || true + +%postun -n libreoffice-l10n-cs +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_cs_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_cs_list.txt.postun 2>/dev/null +%endif +%if %test_build_langs >= 2 + +# cy +%posttrans -n libreoffice-l10n-cy +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_cy_list.txt || true + +%preun -n libreoffice-l10n-cy +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_cy_list.txt %{_datadir}/%ooo_home/lang_cy_list.txt.postun || true + +%postun -n libreoffice-l10n-cy +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 +# da +%posttrans -n libreoffice-l10n-da +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_da_list.txt || true + +%preun -n libreoffice-l10n-da +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_da_list.txt %{_datadir}/%ooo_home/lang_da_list.txt.postun || true + +%postun -n libreoffice-l10n-da +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_da_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_da_list.txt.postun 2>/dev/null +%endif +%if %test_build_langs >= 1 + +# de +%posttrans -n libreoffice-l10n-de +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_de_list.txt || true + +%preun -n libreoffice-l10n-de +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_de_list.txt %{_datadir}/%ooo_home/lang_de_list.txt.postun || true + +%postun -n libreoffice-l10n-de +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_de_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_de_list.txt.postun 2>/dev/null +%endif +%if %test_build_langs >= 2 + +# el +%posttrans -n libreoffice-l10n-el +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_el_list.txt || true + +%preun -n libreoffice-l10n-el +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_el_list.txt %{_datadir}/%ooo_home/lang_el_list.txt.postun || true + +%postun -n libreoffice-l10n-el +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 +# en-GB +%posttrans -n libreoffice-l10n-en-GB +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_en_GB_list.txt || true + +%preun -n libreoffice-l10n-en-GB +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_en_GB_list.txt %{_datadir}/%ooo_home/lang_en_GB_list.txt.postun || true + +%postun -n libreoffice-l10n-en-GB +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 +# en-ZA +%posttrans -n libreoffice-l10n-en-ZA +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_en_ZA_list.txt || true + +%preun -n libreoffice-l10n-en-ZA +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_en_ZA_list.txt %{_datadir}/%ooo_home/lang_en_ZA_list.txt.postun || true + +%postun -n libreoffice-l10n-en-ZA +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 +# es +%posttrans -n libreoffice-l10n-es +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_es_list.txt || true + +%preun -n libreoffice-l10n-es +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_es_list.txt %{_datadir}/%ooo_home/lang_es_list.txt.postun || true + +%postun -n libreoffice-l10n-es +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 +# et +%posttrans -n libreoffice-l10n-et +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_et_list.txt || true + +%preun -n libreoffice-l10n-et +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_et_list.txt %{_datadir}/%ooo_home/lang_et_list.txt.postun || true + +%postun -n libreoffice-l10n-et +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 +# fi +%posttrans -n libreoffice-l10n-fi +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_fi_list.txt || true + +%preun -n libreoffice-l10n-fi +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_fi_list.txt %{_datadir}/%ooo_home/lang_fi_list.txt.postun || true + +%postun -n libreoffice-l10n-fi +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 +# fr +%posttrans -n libreoffice-l10n-fr +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_fr_list.txt || true + +%preun -n libreoffice-l10n-fr +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_fr_list.txt %{_datadir}/%ooo_home/lang_fr_list.txt.postun || true + +%postun -n libreoffice-l10n-fr +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 +# ga +%posttrans -n libreoffice-l10n-ga +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ga_list.txt || true + +%preun -n libreoffice-l10n-ga +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ga_list.txt %{_datadir}/%ooo_home/lang_ga_list.txt.postun || true + +%postun -n libreoffice-l10n-ga +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 +# gl +%posttrans -n libreoffice-l10n-gl +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_gl_list.txt || true + +%preun -n libreoffice-l10n-gl +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_gl_list.txt %{_datadir}/%ooo_home/lang_gl_list.txt.postun || true + +%postun -n libreoffice-l10n-gl +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 +# gu-IN +%posttrans -n libreoffice-l10n-gu-IN +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_gu_list.txt || true + +%preun -n libreoffice-l10n-gu-IN +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_gu_list.txt %{_datadir}/%ooo_home/lang_gu_list.txt.postun || true + +%postun -n libreoffice-l10n-gu-IN +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 +# he +%posttrans -n libreoffice-l10n-he +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_he_list.txt || true + +%preun -n libreoffice-l10n-he +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_he_list.txt %{_datadir}/%ooo_home/lang_he_list.txt.postun || true + +%postun -n libreoffice-l10n-he +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 +# hi-IN +%posttrans -n libreoffice-l10n-hi-IN +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hi_list.txt || true + +%preun -n libreoffice-l10n-hi-IN +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_hi_list.txt %{_datadir}/%ooo_home/lang_hi_list.txt.postun || true + +%postun -n libreoffice-l10n-hi-IN +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 +# hr +%posttrans -n libreoffice-l10n-hr +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hr_list.txt || true + +%preun -n libreoffice-l10n-hr +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_hr_list.txt %{_datadir}/%ooo_home/lang_hr_list.txt.postun || true + +%postun -n libreoffice-l10n-hr +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_hr_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_hr_list.txt.postun 2>/dev/null +%endif +%if %test_build_langs >= 1 + +# hu +%posttrans -n libreoffice-l10n-hu +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_hu_list.txt || true + +%preun -n libreoffice-l10n-hu +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_hu_list.txt %{_datadir}/%ooo_home/lang_hu_list.txt.postun || true + +%postun -n libreoffice-l10n-hu +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_hu_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_hu_list.txt.postun 2>/dev/null +%endif +%if %test_build_langs >= 2 + +# it +%posttrans -n libreoffice-l10n-it +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_it_list.txt || true + +%preun -n libreoffice-l10n-it +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_it_list.txt %{_datadir}/%ooo_home/lang_it_list.txt.postun || true + +%postun -n libreoffice-l10n-it +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_it_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_it_list.txt.postun 2>/dev/null +%endif +%if %test_build_langs >= 1 + +# ja +%posttrans -n libreoffice-l10n-ja +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ja_list.txt || true + +%preun -n libreoffice-l10n-ja +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ja_list.txt %{_datadir}/%ooo_home/lang_ja_list.txt.postun || true + +%postun -n libreoffice-l10n-ja +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_ja_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_ja_list.txt.postun 2>/dev/null +%endif +%if %test_build_langs >= 2 + +# ka +%posttrans -n libreoffice-l10n-ka +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ka_list.txt || true + +%preun -n libreoffice-l10n-ka +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ka_list.txt %{_datadir}/%ooo_home/lang_ka_list.txt.postun || true + +%postun -n libreoffice-l10n-ka +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 +# km +%posttrans -n libreoffice-l10n-km +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_km_list.txt || true + +%preun -n libreoffice-l10n-km +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_km_list.txt %{_datadir}/%ooo_home/lang_km_list.txt.postun || true + +%postun -n libreoffice-l10n-km +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 +# ko +%posttrans -n libreoffice-l10n-ko +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ko_list.txt || true + +%preun -n libreoffice-l10n-ko +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ko_list.txt %{_datadir}/%ooo_home/lang_ko_list.txt.postun || true + +%postun -n libreoffice-l10n-ko +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 +# lt +%posttrans -n libreoffice-l10n-lt +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_lt_list.txt || true + +%preun -n libreoffice-l10n-lt +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_lt_list.txt %{_datadir}/%ooo_home/lang_lt_list.txt.postun || true + +%postun -n libreoffice-l10n-lt +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 +# mk +%posttrans -n libreoffice-l10n-mk +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_mk_list.txt || true + +%preun -n libreoffice-l10n-mk +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_mk_list.txt %{_datadir}/%ooo_home/lang_mk_list.txt.postun || true + +%postun -n libreoffice-l10n-mk +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 +# nb +%posttrans -n libreoffice-l10n-nb +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nb_list.txt || true + +%preun -n libreoffice-l10n-nb +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_nb_list.txt %{_datadir}/%ooo_home/lang_nb_list.txt.postun || true + +%postun -n libreoffice-l10n-nb +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 +# nl +%posttrans -n libreoffice-l10n-nl +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nl_list.txt || true + +%preun -n libreoffice-l10n-nl +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_nl_list.txt %{_datadir}/%ooo_home/lang_nl_list.txt.postun || true + +%postun -n libreoffice-l10n-nl +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 +# nn +%posttrans -n libreoffice-l10n-nn +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nn_list.txt || true + +%preun -n libreoffice-l10n-nn +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_nn_list.txt %{_datadir}/%ooo_home/lang_nn_list.txt.postun || true + +%postun -n libreoffice-l10n-nn +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 +# nr +%posttrans -n libreoffice-l10n-nr +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_nr_list.txt || true + +%preun -n libreoffice-l10n-nr +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_nr_list.txt %{_datadir}/%ooo_home/lang_nr_list.txt.postun || true + +%postun -n libreoffice-l10n-nr +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 +# pa-IN +%posttrans -n libreoffice-l10n-pa-IN +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pa_IN_list.txt || true + +%preun -n libreoffice-l10n-pa-IN +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_pa_IN_list.txt %{_datadir}/%ooo_home/lang_pa_IN_list.txt.postun || true + +%postun -n libreoffice-l10n-pa-IN +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 +# pl +%posttrans -n libreoffice-l10n-pl +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pl_list.txt || true + +%preun -n libreoffice-l10n-pl +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_pl_list.txt %{_datadir}/%ooo_home/lang_pl_list.txt.postun || true + +%postun -n libreoffice-l10n-pl +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 +# pt +%posttrans -n libreoffice-l10n-pt +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pt_list.txt || true + +%preun -n libreoffice-l10n-pt +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_pt_list.txt %{_datadir}/%ooo_home/lang_pt_list.txt.postun || true + +%postun -n libreoffice-l10n-pt +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 +# pt-BR +%posttrans -n libreoffice-l10n-pt-BR +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_pt_BR_list.txt || true + +%preun -n libreoffice-l10n-pt-BR +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_pt_BR_list.txt %{_datadir}/%ooo_home/lang_pt_BR_list.txt.postun || true + +%postun -n libreoffice-l10n-pt-BR +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 +# ru +%posttrans -n libreoffice-l10n-ru +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ru_list.txt || true + +%preun -n libreoffice-l10n-ru +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ru_list.txt %{_datadir}/%ooo_home/lang_ru_list.txt.postun || true + +%postun -n libreoffice-l10n-ru +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 +# rw +%posttrans -n libreoffice-l10n-rw +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_rw_list.txt || true + +%preun -n libreoffice-l10n-rw +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_rw_list.txt %{_datadir}/%ooo_home/lang_rw_list.txt.postun || true + +%postun -n libreoffice-l10n-rw +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 +# sh +%posttrans -n libreoffice-l10n-sh +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sh_list.txt || true + +%preun -n libreoffice-l10n-sh +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sh_list.txt %{_datadir}/%ooo_home/lang_sh_list.txt.postun || true + +%postun -n libreoffice-l10n-sh +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 +# sk +%posttrans -n libreoffice-l10n-sk +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sk_list.txt || true + +%preun -n libreoffice-l10n-sk +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sk_list.txt %{_datadir}/%ooo_home/lang_sk_list.txt.postun || true + +%postun -n libreoffice-l10n-sk +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 +# sl +%posttrans -n libreoffice-l10n-sl +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sl_list.txt || true + +%preun -n libreoffice-l10n-sl +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sl_list.txt %{_datadir}/%ooo_home/lang_sl_list.txt.postun || true + +%postun -n libreoffice-l10n-sl +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 +# sr +%posttrans -n libreoffice-l10n-sr +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sr_list.txt || true + +%preun -n libreoffice-l10n-sr +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sr_list.txt %{_datadir}/%ooo_home/lang_sr_list.txt.postun || true + +%postun -n libreoffice-l10n-sr +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 +# ss +%posttrans -n libreoffice-l10n-ss +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ss_list.txt || true + +%preun -n libreoffice-l10n-ss +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ss_list.txt %{_datadir}/%ooo_home/lang_ss_list.txt.postun || true + +%postun -n libreoffice-l10n-ss +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 +# st +%posttrans -n libreoffice-l10n-st +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_st_list.txt || true + +%preun -n libreoffice-l10n-st +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_st_list.txt %{_datadir}/%ooo_home/lang_st_list.txt.postun || true + +%postun -n libreoffice-l10n-st +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 +# sv +%posttrans -n libreoffice-l10n-sv +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_sv_list.txt || true + +%preun -n libreoffice-l10n-sv +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_sv_list.txt %{_datadir}/%ooo_home/lang_sv_list.txt.postun || true + +%postun -n libreoffice-l10n-sv +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 +# tg +%posttrans -n libreoffice-l10n-tg +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_tg_list.txt || true + +%preun -n libreoffice-l10n-tg +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_tg_list.txt %{_datadir}/%ooo_home/lang_tg_list.txt.postun || true + +%postun -n libreoffice-l10n-tg +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 +# th +%posttrans -n libreoffice-l10n-th +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_th_list.txt || true + +%preun -n libreoffice-l10n-th +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_th_list.txt %{_datadir}/%ooo_home/lang_th_list.txt.postun || true + +%postun -n libreoffice-l10n-th +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 +# tr +%posttrans -n libreoffice-l10n-tr +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_tr_list.txt || true + +%preun -n libreoffice-l10n-tr +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_tr_list.txt %{_datadir}/%ooo_home/lang_tr_list.txt.postun || true + +%postun -n libreoffice-l10n-tr +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 +# ts +%posttrans -n libreoffice-l10n-ts +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ts_list.txt || true + +%preun -n libreoffice-l10n-ts +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ts_list.txt %{_datadir}/%ooo_home/lang_ts_list.txt.postun || true + +%postun -n libreoffice-l10n-ts +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 +# uk +%posttrans -n libreoffice-l10n-uk +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_uk_list.txt || true + +%preun -n libreoffice-l10n-uk +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_uk_list.txt %{_datadir}/%ooo_home/lang_uk_list.txt.postun || true + +%postun -n libreoffice-l10n-uk +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 +# ve +%posttrans -n libreoffice-l10n-ve +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_ve_list.txt || true + +%preun -n libreoffice-l10n-ve +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_ve_list.txt %{_datadir}/%ooo_home/lang_ve_list.txt.postun || true + +%postun -n libreoffice-l10n-ve +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 +# vi +%posttrans -n libreoffice-l10n-vi +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_vi_list.txt || true + +%preun -n libreoffice-l10n-vi +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_vi_list.txt %{_datadir}/%ooo_home/lang_vi_list.txt.postun || true + +%postun -n libreoffice-l10n-vi +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 +# xh +%posttrans -n libreoffice-l10n-xh +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_xh_list.txt || true + +%preun -n libreoffice-l10n-xh +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_xh_list.txt %{_datadir}/%ooo_home/lang_xh_list.txt.postun || true + +%postun -n libreoffice-l10n-xh +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 +# zh-CN +%posttrans -n libreoffice-l10n-zh-CN +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zh_CN_list.txt || true + +%preun -n libreoffice-l10n-zh-CN +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_zh_CN_list.txt %{_datadir}/%ooo_home/lang_zh_CN_list.txt.postun || true + +%postun -n libreoffice-l10n-zh-CN +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 +# zh-TW +%posttrans -n libreoffice-l10n-zh-TW +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zh_TW_list.txt || true + +%preun -n libreoffice-l10n-zh-TW +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_zh_TW_list.txt %{_datadir}/%ooo_home/lang_zh_TW_list.txt.postun || true + +%postun -n libreoffice-l10n-zh-TW +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 +# zu +%posttrans -n libreoffice-l10n-zu +%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_zu_list.txt || true + +%preun -n libreoffice-l10n-zu +test "$1" = "0" && cp %{_datadir}/%ooo_home/lang_zu_list.txt %{_datadir}/%ooo_home/lang_zu_list.txt.postun || true + +%postun -n libreoffice-l10n-zu +test "$1" = "0" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_zu_list.txt.postun || true +rm -f %{_datadir}/%ooo_home/lang_zu_list.txt.postun 2>/dev/null +%endif + +%if %test_build_langs >= 2 +%files -f lang_af_list.txt -n libreoffice-l10n-af +%defattr(-,root,root) + +%files -f lang_ar_list.txt -n libreoffice-l10n-ar +%defattr(-,root,root) + +%files -f lang_be_list.txt -n libreoffice-l10n-be-BY +%defattr(-,root,root) + +%files -f lang_bg_list.txt -n libreoffice-l10n-bg +%defattr(-,root,root) + +%files -f lang_br_list.txt -n libreoffice-l10n-br +%defattr(-,root,root) + +%files -f lang_ca_list.txt -n libreoffice-l10n-ca +%defattr(-,root,root) + +%endif +%if %test_build_langs >= 1 + +%files -f lang_cs_list.txt -n libreoffice-l10n-cs +%defattr(-,root,root) + +%endif +%if %test_build_langs >= 2 + +%files -f lang_cy_list.txt -n libreoffice-l10n-cy +%defattr(-,root,root) + +%files -f lang_da_list.txt -n libreoffice-l10n-da +%defattr(-,root,root) + +%endif +%if %test_build_langs >= 1 + +%files -f lang_de_list.txt -n libreoffice-l10n-de +%defattr(-,root,root) + +%endif +%if %test_build_langs >= 2 + +%files -f lang_el_list.txt -n libreoffice-l10n-el +%defattr(-,root,root) + +%files -f lang_en_GB_list.txt -n libreoffice-l10n-en-GB +%defattr(-,root,root) + +%files -f lang_en_ZA_list.txt -n libreoffice-l10n-en-ZA +%defattr(-,root,root) + +%files -f lang_es_list.txt -n libreoffice-l10n-es +%defattr(-,root,root) + +%files -f lang_et_list.txt -n libreoffice-l10n-et +%defattr(-,root,root) + +%files -f lang_fi_list.txt -n libreoffice-l10n-fi +%defattr(-,root,root) + +%files -f lang_fr_list.txt -n libreoffice-l10n-fr +%defattr(-,root,root) + +%files -f lang_ga_list.txt -n libreoffice-l10n-ga +%defattr(-,root,root) + +%files -f lang_gl_list.txt -n libreoffice-l10n-gl +%defattr(-,root,root) + +%files -f lang_gu_list.txt -n libreoffice-l10n-gu-IN +%defattr(-,root,root) + +%files -f lang_he_list.txt -n libreoffice-l10n-he +%defattr(-,root,root) + +%files -f lang_hi_list.txt -n libreoffice-l10n-hi-IN +%defattr(-,root,root) + +%files -f lang_hr_list.txt -n libreoffice-l10n-hr +%defattr(-,root,root) + +%endif +%if %test_build_langs >= 1 + +%files -f lang_hu_list.txt -n libreoffice-l10n-hu +%defattr(-,root,root) + +%endif +%if %test_build_langs >= 2 + +%files -f lang_it_list.txt -n libreoffice-l10n-it +%defattr(-,root,root) + +%endif +%if %test_build_langs >= 1 + +%files -f lang_ja_list.txt -n libreoffice-l10n-ja +%defattr(-,root,root) + +%endif +%if %test_build_langs >= 2 + +%files -f lang_ka_list.txt -n libreoffice-l10n-ka +%defattr(-,root,root) + +%files -f lang_km_list.txt -n libreoffice-l10n-km +%defattr(-,root,root) + +%files -f lang_ko_list.txt -n libreoffice-l10n-ko +%defattr(-,root,root) + +%files -f lang_lt_list.txt -n libreoffice-l10n-lt +%defattr(-,root,root) + +%files -f lang_mk_list.txt -n libreoffice-l10n-mk +%defattr(-,root,root) + +%files -f lang_nb_list.txt -n libreoffice-l10n-nb +%defattr(-,root,root) + +%files -f lang_nl_list.txt -n libreoffice-l10n-nl +%defattr(-,root,root) + +%files -f lang_nn_list.txt -n libreoffice-l10n-nn +%defattr(-,root,root) + +%files -f lang_nr_list.txt -n libreoffice-l10n-nr +%defattr(-,root,root) + +%files -f lang_pa_IN_list.txt -n libreoffice-l10n-pa-IN +%defattr(-,root,root) + +%files -f lang_pl_list.txt -n libreoffice-l10n-pl +%defattr(-,root,root) + +%files -f lang_pt_list.txt -n libreoffice-l10n-pt +%defattr(-,root,root) + +%files -f lang_pt_BR_list.txt -n libreoffice-l10n-pt-BR +%defattr(-,root,root) + +%files -f lang_ru_list.txt -n libreoffice-l10n-ru +%defattr(-,root,root) + +%files -f lang_rw_list.txt -n libreoffice-l10n-rw +%defattr(-,root,root) + +%files -f lang_sh_list.txt -n libreoffice-l10n-sh +%defattr(-,root,root) + +%files -f lang_sk_list.txt -n libreoffice-l10n-sk +%defattr(-,root,root) + +%files -f lang_sl_list.txt -n libreoffice-l10n-sl +%defattr(-,root,root) + +%files -f lang_sr_list.txt -n libreoffice-l10n-sr +%defattr(-,root,root) + +%files -f lang_ss_list.txt -n libreoffice-l10n-ss +%defattr(-,root,root) + +%files -f lang_st_list.txt -n libreoffice-l10n-st +%defattr(-,root,root) + +%files -f lang_sv_list.txt -n libreoffice-l10n-sv +%defattr(-,root,root) + +%files -f lang_tg_list.txt -n libreoffice-l10n-tg +%defattr(-,root,root) + +%files -f lang_th_list.txt -n libreoffice-l10n-th +%defattr(-,root,root) + +%files -f lang_tr_list.txt -n libreoffice-l10n-tr +%defattr(-,root,root) + +%files -f lang_ts_list.txt -n libreoffice-l10n-ts +%defattr(-,root,root) + +%files -f lang_uk_list.txt -n libreoffice-l10n-uk +%defattr(-,root,root) + +%files -f lang_ve_list.txt -n libreoffice-l10n-ve +%defattr(-,root,root) + +%files -f lang_vi_list.txt -n libreoffice-l10n-vi +%defattr(-,root,root) + +%files -f lang_xh_list.txt -n libreoffice-l10n-xh +%defattr(-,root,root) + +%files -f lang_zh_CN_list.txt -n libreoffice-l10n-zh-CN +%defattr(-,root,root) + +%files -f lang_zh_TW_list.txt -n libreoffice-l10n-zh-TW +%defattr(-,root,root) + +%files -f lang_zu_list.txt -n libreoffice-l10n-zu +%defattr(-,root,root) + +%endif + +%changelog diff --git a/libreoffice-l10n.spec.in b/libreoffice-l10n.spec.in new file mode 100644 index 0000000..d5f193a --- /dev/null +++ b/libreoffice-l10n.spec.in @@ -0,0 +1,83 @@ +# +# spec file for package libreoffice-l10n +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +@DO_NOT_EDIT_COMMENT@ +Name: libreoffice-l10n +Version: 3.5.3.2 +Release: 0 +%define piece l10n +%define ooo_home libreoffice +# test_build_langs: 1 = de and cs +# 2 = all supported languages +%define test_build_langs 2 +# build_module_in_parallel 0 = no +# 1 = yes (the number is defined be the number of cpus) +# 2,3,4... = yes (force the number of modules to be built in parallel) +%define build_module_in_parallel 1 +# prepare_build: 0 = no +# 1 = yes (just build, install and create packages; without %%prep section and configure) +%define prepare_build 1 +# +%if %test_build_langs == 0 +%define lo_langs "@OOO_LANGS_MIN_0@" +%else +%if %test_build_langs == 1 +%define lo_langs "@OOO_LANGS_MIN_1@" +%else +%define lo_langs "@OOO_LANGS_MIN_2@" +%endif +%endif +License: LGPL-3.0 +Summary: A Source Package for LibreOffice Localizations +Url: http://www.documentfoundation.org/ +Group: Productivity/Office/Suite +Source0: install-l10n-helper +# helper stuff to produce the spec file +Source100: libreoffice-l10n.spec.in +Source101: lo-l10n-gen-spec +Source102: lo-l10n-data +# FIXME: the l10n files includes some duplicated files +Source200: libreoffice-l10n-rpmlintrc +#!BuildIgnore: libreoffice +BuildRequires: libreoffice-l10n-prebuilt = %{version} +BuildRequires: unzip +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +#!ExclusiveArch: %ix86 x86_64 ppc +ExcludeArch: %arm ia64 s390 s390x + +%description +This source package is used to build the LibreOffice artwork +development package. + +@METADATA@ +%prep + +%build + +%install +# setup env. +export DESTDIR=%{buildroot} +/bin/bash -x $RPM_SOURCE_DIR/install-l10n-helper %{_libdir}/%ooo_home %{_datadir}/%ooo_home %{_libdir}/%ooo_home/share/file-lists/lang_*_list.txt + +%clean +rm -rf %{buildroot} + +@INSTALL_SCRIPTS@ +@FILES@ +%changelog diff --git a/libreoffice-translations-3.5.2.2.tar.bz2 b/libreoffice-translations-3.5.2.2.tar.bz2 deleted file mode 100644 index e7ca309..0000000 --- a/libreoffice-translations-3.5.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c1136c4170c189b83c5f26d5c933f7d11cdd3b51ed0ee9e6745761a978ceba5 -size 139013566 diff --git a/libreoffice-translations-3.5.3.2.tar.bz2 b/libreoffice-translations-3.5.3.2.tar.bz2 new file mode 100644 index 0000000..da7f73d --- /dev/null +++ b/libreoffice-translations-3.5.3.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d78c6743c2a1b707f445a09f0a9bed44f8942f00493afebdae5150f589154a9 +size 139072493 diff --git a/libreoffice.changes b/libreoffice.changes index c66dd31..d0cd52d 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Wed Apr 25 15:23:26 UTC 2012 - pmladek@suse.com + +- updated to libreoffice-3.5.3.2 (3.5.3-rc2): + * misc SVG import fixes + * border printing (fdo#38635) + * alpha blending (bnc#714787) + * border corner gaps (fdo#38635) + * misc performance improvements + * Java script loading (fdo#46102) + * PDF export of images (bnc#717947) + * autoformat undo cursors (fdo#39003) + * add inch as source unit (fdo#48969) + * duplicate code removal (bnc#714787) + * textbox size in DOCX import (bnc#751573) + * make "Replace All" work with REs (fdo#44861) + * fix find toolbar X error handling (fdo#46687) + * transition gradients came out empty (fdo#33591) + * use older ODF encryption by default (fdo#47484) + * duplicated characters in PDF import (fdo#45848) + * do not increase height of checkboxes (fdo#47963) + * do not play sound in presenter console (fdo#33914) + * switch units in Converter::convertDouble (fdo#48969) + * improved label/BC wizard - set paper size (fdo#44516) + * export all style information to XLS/XLSX, (fdo#46738) + * ignore corrupted items in recent documents (fdo#46074) + * border paint ordering (fdo#45562, fdo#47717, fdo#42750) + * colorspace conversion for greyscale bitmaps (fdo#34324) + * copy column privileges into table privileges (fdo#47937) + * fix incorrect relative moves after closePath (fdo#47406) + * incorrect text wrapping around drawing shapes (fdo#45376) + * right arrow button does not work in TOC dialog (fdo#40948) + * vertical align when switching mode in multibar (fdo#44140) + * regression in lineshapes ODP import (bnc#719989, bnc#719997) + * prevent update during init in new autofilter dlg (fdo#45679) + * removed strange non-wrapping condition (bnc#750258, i#40155) + * more reliable way to check for RTL text (fdo#48431, fdo#32530) + * CSV import got confused by erroneous HTML detection (fdo#40021) + * default to Office 2007/2010 filter for OOXML export (fdo#48941) + * shift+F3 shortcut for Edit/Duplicate in Draw (fdo#48584, fdo#32559) + * misc RTF import fixes (fdo#48104, fdo#46955, fdo#45182, fdo#45394, + bnc#703032, fdo#47326, fdo#47036, fdo#47802, fdo#48640, fdo#47107, + fdo#48356) +- update libvisio to version 0.0.16: + * adapt the end and start line markers to recent changes in LO +- removed upstreamed patches: + * libreoffice-3.5-unpack-sources.diff + * buildfix-icu-4.9.diff +- reordered %prep phase to work better with quilt + ------------------------------------------------------------------- Fri Apr 20 12:29:53 UTC 2012 - pmladek@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index b514f9f..0f0443f 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -213,7 +213,7 @@ BuildRequires: gst-plugins-base-devel # the manifest file must be in the right place; registration does not work with some repacked jars %define __jar_repack %{nil} %endif -Version: 3.5.2.2 +Version: 3.5.3.2 Release: 0 Requires: libreoffice-branding < 4 Requires: libreoffice-branding > 3.2.99.3 @@ -566,14 +566,11 @@ Source1038: 34dd7951abbda99b7a75a09993a37965-libwps-0.2.4.tar.bz2 Source1039: 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip Source1040: 0981bda6548a8c8233ffce2b6e4b2a23-mysql-connector-c++-1.1.0.tar.gz Source1041: 7c2549f6b0a8bb604e6c4c729ffdcfe6-libcmis-0.1.0.tar.gz -Source1042: d28864eb2b59bb57b034c0d4662a3cee-libvisio-0.0.15.tar.bz2 +Source1042: 2fa6028324347860e684e75310818d43-libvisio-0.0.16.tar.bz2 Source1043: d7a242ca43e33e1b63d3073f9d46a6a8-librsvg-2.32.1.tar.gz # # allow to unpack source tarballs # pushed upstream for 3.5.3 -Patch0: libreoffice-3.5-unpack-sources.diff -# mark share/config/javasettingsunopkginstall.xml as %config; it is updated by unopkg in %post -# pushed upstream for 3.6.0 Patch1: javasetting-mark-config.diff # search application icons in /usr/share # FIXME: search both lib and lib64 and push into git @@ -607,17 +604,12 @@ Patch10: system-python-ure-bootstrap.diff # FIXME: the right fix is to compile the help and produce the .db_, .ht_, and other files Patch11: nlpsolver-no-broken-help.diff Patch12: mediawiki-no-broken-help.diff -# revert problematic build fix for poppler 0.17.0 on older distributions -# FIXME: make it configurable to push upstream -Patch13: libreoffice-poppler-0.17.0-reject-fix.diff # generate selected bytecode version also in gbuild # FIXME: push upstream and be ready to fix problem on other systems Patch14: solenv-java-source-version.diff # fix build dependency problem in svx # FIXME: completely reworked in LO-3.6; might be removed there Patch15: svx-globlmn-hrc-build-dep.diff -# fix build with icu-4.9; it will be in upstream 3.5.3 -Patch16: buildfix-icu-4.9.diff # display LO application in the right desktop submenu (bnc#718694) # pushed upstream for LO-3.6 Patch21: desktop-submenu.diff @@ -627,6 +619,9 @@ Patch26: pyuno-path.diff # # default to MS Office 97/2000/XP file formats on MeeGo; asked by HP Patch900: officecfg-defaul-export-ms-file-formats.diff +# revert problematic build fix for poppler 0.17.0 on older distributions +# FIXME: make it configurable to push upstream +Patch910: libreoffice-poppler-0.17.0-reject-fix.diff # crazy hack to avoid /usr/lib64 in RPATH and pass brp-rpath check (bnc#717262) Patch920: redland-rpath-hack.diff # @@ -1312,13 +1307,7 @@ the LibreOffice localizations separately. %setup -D -T -q -n libreoffice-core-%version %else %setup -q -a30 -n libreoffice-core-%version -%patch0 -bin/unpack-sources `pwd` %{S:1} %{S:2} %{S:3} -# 256x256 icons -tar -xjf %{S:20} -# READMEs -cp $RPM_SOURCE_DIR/README* . -# extra fixes +# apply patches before caling any other command to be able to patch with quilt easily %patch1 %patch2 %patch3 @@ -1331,13 +1320,8 @@ cp $RPM_SOURCE_DIR/README* . %patch10 %patch11 %patch12 -%if %suse_version <= 1130 -# cpp/poppler-version.h is not included in older poppler packages -%patch13 -%endif %patch14 %patch15 -%patch16 -p1 %patch21 %patch26 # @@ -1346,10 +1330,21 @@ cp $RPM_SOURCE_DIR/README* . %patch900 %endif # +%if %suse_version <= 1130 +# cpp/poppler-version.h is not included in older poppler packages +%patch910 +%endif +# %if %suse_version > 1140 # crazy hack to avoid /usr/lib64 in RPATH and pass brp-rpath check (bnc#717262) %patch920 %endif +# other sources +bin/unpack-sources `pwd` %{S:1} %{S:2} %{S:3} +# 256x256 icons +tar -xjf %{S:20} +# READMEs +cp $RPM_SOURCE_DIR/README* . # # patch zip-3.0 %if %suse_version < 1140 diff --git a/lo-l10n-data b/lo-l10n-data new file mode 100644 index 0000000..6488aa9 --- /dev/null +++ b/lo-l10n-data @@ -0,0 +1,140 @@ +# %lang lang-code[/upstream-lang-code] lang-name min-build-number + +%lang af African 2 + +%lang ar Arabic 2 +%package Requires: scalable-font-ar + +%lang be-BY/be Belorussian 2 +%package Requires: scalable-font-ru + +%lang bg Bulgarian 2 +%package Requires: scalable-font-bg + +%lang br "Breton French" 2 + +%lang ca Catalan 2 + +%lang cs Czech 1 + +%lang cy Welsh 2 + +%lang da Danish 2 + +%lang de German 1 + +%lang el Greek 2 +%package Requires: scalable-font-el + +%lang en-GB British 2 + +%lang en-ZA "South Africa English" 2 + +%lang es Spanish 2 + +%lang et Estonian 2 + +%lang fi Finnish 2 + +%lang fr French 2 + +%lang ga Gaelic 2 + +%lang gl Galician 2 + +%lang he Hebrew 2 + +%lang hi-IN/hi Hindi 2 +%package Requires: scalable-font-hi + +%lang hr Croatian 2 + +%lang gu-IN/gu Gujarati 2 +%package Requires: scalable-font-gu + +%lang hu Hungarian 1 + +%lang it Italian 2 + +%lang ja Japanese 1 +%package Requires: scalable-font-ja + +%lang ka Georgian 2 + +%lang km Khmer 2 +%package Requires: scalable-font-km + +%lang ko Korean 2 +%package Requires: scalable-font-ko + +%lang lt Lithuanian 2 + +%lang mk Macedonian 2 +%package Requires: scalable-font-ru + +%lang nb "Norwegian Bokmaal" 2 + +%lang nl Dutch 2 + +%lang nn "Norwegian Nynorsk" 2 + +%lang nr Ndebele 2 + +%lang pa-IN Punjabi 2 +%package Requires: scalable-font-pa + +%lang pl Polish 2 + +%lang pt Portuguese 2 + +%lang pt-BR "Brazilian Portuguese" 2 + +%lang rw Kinyarwanda 2 + +%lang ru Russian 2 +%package Requires: scalable-font-ru + +%lang sh "Latin Serbian" 2 +%package Provides: OpenOffice_org-sh-YU:%_prefix/ooo-2.0/program/resource/sw680sh-YU.res +%package Provides: OpenOffice_org-sh-YU = %version +%package Obsoletes: OpenOffice_org-sh-YU < %version + +%lang sk Slovak 2 + +%lang sl Slovene 2 + +%lang sr Serbian 2 +%package Requires: scalable-font-ru +%package Provides: OpenOffice_org-sr-CS:%_prefix/ooo-2.0/program/resource/sw680sr-CS.res +%package Provides: OpenOffice_org-sr-CS = %version +%package Obsoletes: OpenOffice_org-sr-CS < %version + +%lang ss Swazi 2 + +%lang st Sotho 2 + +%lang sv Swedish 2 + +%lang tg Tajiki 2 + +%lang th Thai 2 + +%lang tr Turkish 2 + +%lang ts Tsonga 2 + +%lang uk Ukrainian 2 + +%lang ve Venda 2 + +%lang vi Vietnamese 2 + +%lang xh Xhosa 2 + +%lang zh-CN "Chinese Simplified" 2 +%package Requires: scalable-font-zh-CN + +%lang zh-TW "Chinese Traditional" 2 +%package Requires: scalable-font-zh-TW + +%lang zu Zulu 2 diff --git a/lo-l10n-gen-spec b/lo-l10n-gen-spec new file mode 100644 index 0000000..8e13259 --- /dev/null +++ b/lo-l10n-gen-spec @@ -0,0 +1,335 @@ +#!/usr/bin/perl -w + +# This script changes the definite article of ProductName + +use strict; +use File::Copy; + +my $args = join ' ', @ARGV; +my $max_level = 2; + +sub init_lang_data($$$$) +{ + my ($pdata, $lang_code, $long_name, $level) = @_; + + my $curLang; + my $upstreamLang; + # we support the syntax: package_lang_code[/lo_source_lang_code] + if ($lang_code =~ m/([\w\-]+)\/?([\w\-]+)?/) { + $curLang = "$1"; + if (defined $2) { + $upstreamLang = "$2"; + } else { + $upstreamLang = $curLang; + } + } else { + die "Syntax error: unknown format of the language code: $lang_code, line $."; + } + + % {$pdata->{'lang'}{$curLang}} = (); + my $pld = \% {$pdata->{'lang'}{$curLang}}; + + $pld->{'long_name'} = $long_name; + $pld->{'level'} = $level; + $pld->{'locale'} = $upstreamLang; + $pld->{'locale'} =~ s/-/_/g; + $pld->{'package'} = (); + + ($level <= $max_level) || die "Error: Maximum allowed level is $max_level, line $."; + foreach my $l ($level .. $max_level) { + @ {$pdata->{'level_langs_list'}[$l]} = () unless (defined $pdata->{'level_langs_list'}[$l]); + push @ {$pdata->{'level_langs_list'}[$l]}, $upstreamLang; + $l++; + } + + return $pld; +} + +sub read_data($$) +{ + my ($pdata, $data_file) = @_; + # pointer to locale data + my $pld = undef; + + $pdata->{'max_group'} = 0; + $pdata->{'level_langs_list'} = (); + @ {$pdata->{'level_langs_list'}[$_]} = () foreach (0 .. $max_level); + + open DATA , "< $data_file" or die "Can't open '$data_file'\n"; + + while( my $line = ){ + chomp $line; + # ignore comments + $line =~ s/#.*$//; + if ($line =~ m/^\s*\%lang\s+([\w\-\/]+)\s+(\w+)\s+(\d+)\s*$/ ) { + # long name without without quotation marks, e.g. %lang de German 1 + $pld = init_lang_data($pdata, "$1", "$2", "$3"); + } elsif ( $line =~ m/^\s*\%lang\s+([\w\-\/]+)\s+\"([\w\s]+)\"\s+(\d+)\s*$/ ) { + # long name with with quotation marks, e.g. %lang br "Breton French" 2 + $pld = init_lang_data($pdata, "$1", "$2", "$3"); + } elsif ( $line =~ /^\s*\%poor-help\s*$/ ) { + $pld->{'poor-help'} = 1; + } elsif ( $line =~ /^\s*\%package\s+(.*)$/ ) { + push @ {$pld->{'package'}}, "$1"; + } elsif ( $line =~ /^\s*$/ ) { + # ignore empty line + } else { + die "Synrax error in $data_file, line $.\n"; + } + } + close(DATA); +} + + +################################## +# conditional lines + +sub write_level_begin($$$) +{ + my ($curLevel, $newLevel, $outp) = @_; + + if ($curLevel != $newLevel) { + ${$outp} .= "%endif\n" if ($curLevel > 0); + ${$outp} .= "%if %test_build_langs >= $newLevel\n" if ($newLevel > 0); + ${$outp} .= "\n" if ($curLevel > 0); + } + + return $newLevel; +} + +sub write_level_end($$) +{ + my ($curLevel, $outp) = @_; + + if ($curLevel > 0) { + ${$outp} .= "%endif\n"; + } + + return 0; +} + +############################## +# simple sections + +sub write_do_not_edit_section($) +{ + my $out = "###################################################################\n" . + "## DO NOT EDIT THIS SPEC FILE\n" . + "## Generated by:\n" . + "## perl lo-l10n-gen-spec $args\n" . + "###################################################################"; + return $out; +} + + +############################## +# all langs sections + +sub write_metadata_section($$) +{ + my ($pdata, $curLang) = @_; + my $pld = \% {$pdata->{'lang'}{$curLang}}; + my $out = ""; + + $out .= "%package -n libreoffice-l10n-$curLang\n"; + $out .= "Summary: $pld->{'long_name'} Localization Files for LibreOffice\n"; + $out .= "Group: Productivity/Office/Suite\n"; + $out .= "Provides: locale(libreoffice:$pld->{'locale'})\n"; + $out .= "%if 0%{?suse_version} > 01120\n"; + $out .= "Requires(post): coreutils\n"; + $out .= "Requires(post): grep\n"; + $out .= "Requires(post): libreoffice >= 3.5\n"; + $out .= "Requires(postun): coreutils\n"; + $out .= "Requires(postun): grep\n"; + $out .= "Requires(postun): libreoffice >= 3.5\n"; + $out .= "%endif\n"; + $out .= "%if 0%{?suse_version} && 0%{?suse_version} <= 01120\n"; + $out .= "PreReq: coreutils\n"; + $out .= "PreReq: grep\n"; + $out .= "PreReq: libreoffice >= 3.5\n"; + $out .= "%endif\n"; + $out .= "Requires: libreoffice = %{version}\n"; + foreach my $line (@{$pld->{'package'}}) { + $out .= "$line\n"; + } + $out .= "# compat stuff\n"; + $out .= "Provides: OpenOffice_org-$curLang = %{version}\n"; + $out .= "Obsoletes: OpenOffice_org-$curLang <= %{version}\n"; + $out .= "Provides: OpenOffice_org-l10n-$curLang = %{version}\n"; + $out .= "Obsoletes: OpenOffice_org-l10n-$curLang <= %{version}\n"; + $out .= "Provides: OpenOffice_org-$curLang:%{_prefix}/ooo-2.0/program/resource/sw680$curLang.res\n"; + + $out .= "\n"; + + $out .= "%description -n libreoffice-l10n-$curLang\n"; + $out .= "$pld->{'long_name'} localization files for LibreOffice.\n"; + $out .= "\n"; + + return $out; +} + +sub write_install_scripts_section($$) +{ + my ($pdata, $curLang) = @_; + my $pld = \% {$pdata->{'lang'}{$curLang}}; + my $out = ""; + + $out .= "# $curLang\n"; + $out .= "%posttrans -n libreoffice-l10n-$curLang\n"; + $out .= "%{_datadir}/%ooo_home/link-to-ooo-home %{_datadir}/%ooo_home/lang_$pld->{'locale'}_list.txt || true\n"; + $out .= "\n"; + $out .= "%preun -n libreoffice-l10n-$curLang\n"; + $out .= "test \"\$1\" = \"0\" && cp %{_datadir}/%ooo_home/lang_$pld->{'locale'}_list.txt %{_datadir}/%ooo_home/lang_$pld->{'locale'}_list.txt.postun || true\n"; + $out .= "\n"; + $out .= "%postun -n libreoffice-l10n-$curLang\n"; + $out .= "test \"\$1\" = \"0\" && %{_datadir}/%ooo_home/link-to-ooo-home --unlink %{_datadir}/%ooo_home/lang_$pld->{'locale'}_list.txt.postun || true\n"; + $out .= "rm -f %{_datadir}/%ooo_home/lang_$pld->{'locale'}_list.txt.postun 2>/dev/null\n"; + + return $out; +} + +sub write_files_section($$) +{ + my ($pdata, $curLang) = @_; + my $pld = \% {$pdata->{'lang'}{$curLang}}; + my $out = ""; + + return if ("$curLang" eq "en-US"); # we do not have the l10n-en-US package + + $out .= "%files -f lang_$pld->{'locale'}_list.txt -n libreoffice-l10n-$curLang\n"; + $out .= "%defattr(-,root,root)\n"; + $out .= "\n"; + + return $out; + +} + +######################################################## +# universal writing functions + +sub write_level_langs($$) +{ + my ($pdata, $level) = @_; + + my $out = ""; + foreach my $curLang (sort keys %{$pdata->{'lang'}}) { + $out .= " $curLang" if ($level >= $pdata->{'lang'}{$curLang}{'level'}); + } + $out =~ s/^ //; + $out =~ s/_/-/g; + + return $out; +} + +# the text is not repeated for each locale +sub write_simple_section($$) +{ + my ($pdata, $write_section) = @_; + + return & {$write_section} ($pdata); +} + +# the text is repeated for each locale +# it is used on all distributions +sub write_locale_sections($$) +{ + my ($pdata, $write_single_lang_section, $outp) = @_; + my $curLevel = 0; + my $out = ""; + + foreach my $curLang (sort keys %{$pdata->{'lang'}}) { + $curLevel = write_level_begin($curLevel, $pdata->{'lang'}{$curLang}{'level'}, \$out); + $out .= & {$write_single_lang_section} ($pdata, $curLang); + } + + $curLevel = write_level_end($curLevel, \$out); + + return $out; +} + +######################################################## +# main write function + +sub write_spec($$) +{ + my ($pdata, $spec_template) = @_; + + my $do_not_edit = write_simple_section ($pdata, \&write_do_not_edit_section); + my $metadata = write_locale_sections ($pdata, \&write_metadata_section); + my $install_scripts = write_locale_sections ($pdata, \&write_install_scripts_section); + my $files = write_locale_sections ($pdata, \&write_files_section); + + my $spec = $spec_template; + $spec =~ s/.in$//; + + print "Generating $spec...\n"; + + open TEMPLATE , "< $spec_template" or die "Can't open '$spec_template'\n"; + open SPEC , "> $spec" or die "Can't open '$spec for writing'\n"; + + while( my $line =