SHA256
1
0
forked from pool/libreoffice

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
This commit is contained in:
Stephan Kulow 2012-05-08 04:45:59 +00:00 committed by Git OBS Bridge
parent 6905b745b2
commit 2a2abf5bcf
40 changed files with 4845 additions and 285 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:498e1591351b4eb873b912a93e4c1477bb2523bb4a691c1ba02ed313943ae634
size 382660

View File

@ -1,96 +0,0 @@
From ba3550bc82b8fb697b905c9913e399e1835b7cc0 Mon Sep 17 00:00:00 2001
From: Eike Rathke <erack@redhat.com>
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 <tomas.chvatal@gmail.com>
---
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:\]\]#;/\<Prepend\>/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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8433f409d36bba672b80062f9f72842a174aeb4363ff54288b132f05a88940db
size 382285

33
install-l10n-helper Normal file
View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9cf26a246babe2813008dc195227c2c3c8ea95871c3fa7a568b05d284327d029
size 6493757

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfe7161e0ceca1dfc93f130b41af07dd303606eafe2f567584b1e1473f501690
size 6491997

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:449118133af40cc73871debf0eac7eebd5c8b4978fd97c22055a39640860d570
size 128070188

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80c69d9bf4d6294bc09d95dff135cdcb5737871fec2672f31784da400edc9ba2
size 128037692

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:556d112f9a2358925bb795fba34ae20bc8b4e60695e0973c63f73338d3e3d77e
size 1872179

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b50738cc36d82bb6dbc7797788ad986dd5cbb692d10257d8a585759ca91dc47a
size 1872438

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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")

744
libreoffice-l10n.changes Normal file
View File

@ -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-<lang> to differ it
from the other OOo subpackages and make the orientation easier
- split optional help-<lang> 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-<lang> 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]

2605
libreoffice-l10n.spec Normal file

File diff suppressed because it is too large Load Diff

83
libreoffice-l10n.spec.in Normal file
View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c1136c4170c189b83c5f26d5c933f7d11cdd3b51ed0ee9e6745761a978ceba5
size 139013566

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d78c6743c2a1b707f445a09f0a9bed44f8942f00493afebdae5150f589154a9
size 139072493

View File

@ -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

View File

@ -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

140
lo-l10n-data Normal file
View File

@ -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

335
lo-l10n-gen-spec Normal file
View File

@ -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 = <DATA>){
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 = <TEMPLATE>) {
foreach my $level (0..2) {
my $level_langs = write_level_langs($pdata, $level);
$line =~ s/\@OOO_LANGS_MIN_$level\@/$level_langs/;
}
$line =~ s/\@DO_NOT_EDIT_COMMENT\@/$do_not_edit/;
$line =~ s/\@METADATA\@/$metadata/;
$line =~ s/\@INSTALL_SCRIPTS\@/$install_scripts/;
$line =~ s/\@FILES\@/$files/;
print SPEC $line;
}
close(TEMPLATE);
close(SPEC);
}
sub usage()
{
print "This tool generates the l10n spec file\n\n" .
"Usage:\n".
"\tlo-l10n-gen-spec [--help] spec_template.in data_file\n\n";
}
# info about localizations
# it is a hash, keys introduce perl-like structure items:
# 'level_langs_list' ... array, index is the level number, value is an array of
# the localizations defined for the givel level
# 'lang' ...the key is the lang id, e.g. "en-US", the value is:
# a hash, keys introduce perl-like structure items:
# 'long_name' ... string, long name of the language, e.g. "American"
# 'level' ... integer, level in whih it should get build, e.g. '1'
# it is the level in the rpm spec to do a reduced build
# 'locale' ... string, it is the code used by the upstream sources;
# it is usually the lang id with undersore instead of dash,
# e.g. "en_US"; ot it might differ from the package lang code if
# upstream renamed it later, for example, "gu-IN" was renamed to
# "gu" in ooo320-m5
# 'package-l10n' ... array of strings that should be added to the %package section for
# the given language
my %data;
my $spec_template;
my $data_file;
for my $arg (@ARGV) {
if ($arg eq '--help' || $arg eq '-h') {
usage;
exit 0;
} else {
-f $arg || die "Error: The file does not exist: $arg\n";
if (! defined $spec_template) {
$spec_template = $arg;
} elsif (! defined $data_file) {
$data_file = $arg;
} else {
die "Error: Too many arguments!\n";
}
}
}
die "Error: Spec file template is not defined, try --help" unless (defined $spec_template);
die "Error: Data file is not defined, try --help" unless (defined $data_file);
read_data(\%data, $data_file);
write_spec(\%data, $spec_template);

View File

@ -1,5 +1,7 @@
--- solenv/gbuild/Jar.mk.old 2012-02-24 16:34:51.000000000 +0100
+++ solenv/gbuild/Jar.mk 2012-03-20 19:54:16.000000000 +0100
Index: solenv/gbuild/Jar.mk
===================================================================
--- solenv/gbuild/Jar.mk.orig
+++ solenv/gbuild/Jar.mk
@@ -145,6 +145,11 @@ define gb_Jar_add_system_jar
$(call gb_JavaClassSet_add_system_jar,$(call gb_Jar_get_classsetname,$(1)),$(2))
endef
@ -12,10 +14,12 @@
# specify jars with imported modules
define gb_Jar_add_jars
$(call gb_JavaClassSet_add_jars,$(call gb_Jar_get_classsetname,$(1)),$(2))
--- solenv/gbuild/JavaClassSet.mk.old 2012-02-24 16:34:51.000000000 +0100
+++ solenv/gbuild/JavaClassSet.mk 2012-03-20 19:55:15.000000000 +0100
@@ -43,6 +43,8 @@ $(call gb_Helper_abbreviate_dirs_native,
$(filter-out $(JARDEPS),$(4))))) && \
Index: solenv/gbuild/JavaClassSet.mk
===================================================================
--- solenv/gbuild/JavaClassSet.mk.orig
+++ solenv/gbuild/JavaClassSet.mk
@@ -41,6 +41,8 @@ $(call gb_Helper_abbreviate_dirs_native,
$(filter-out $(JARDEPS),$(4)))) && \
$(if $(3),$(gb_JavaClassSet_JAVACCOMMAND) \
$(gb_JavaClassSet_JAVACDEBUG) \
+ $(gb_JavaClassSet_XBOOTCLASSPATH) \
@ -23,7 +27,7 @@
-cp "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \
-d $(call gb_JavaClassSet_get_classdir,$(2)) \
@$$RESPONSEFILE &&) \
@@ -85,6 +87,18 @@ $(eval $(call gb_JavaClassSet_get_target
@@ -83,6 +85,18 @@ $(eval $(call gb_JavaClassSet_get_target
endef
@ -42,8 +46,10 @@
# problem: currently we can't get these dependencies to work
# build order dependency is a hack to get these prerequisites out of the way in the build command
define gb_JavaClassSet_add_jar
--- scripting/Jar_ScriptProviderForJavaScript.mk.old 2012-03-20 19:17:32.000000000 +0100
+++ scripting/Jar_ScriptProviderForJavaScript.mk 2012-03-20 19:49:17.000000000 +0100
Index: scripting/Jar_ScriptProviderForJavaScript.mk
===================================================================
--- scripting/Jar_ScriptProviderForJavaScript.mk.orig
+++ scripting/Jar_ScriptProviderForJavaScript.mk
@@ -37,6 +37,10 @@ $(eval $(call gb_Jar_add_jars,ScriptProv
$(OUTDIR)/bin/js.jar \
))