Hello community,

here is the log from the commit of package libreoffice for openSUSE:11.3
checked in at Thu Mar 31 01:39:07 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ 11.3/libreoffice/libreoffice.changes        2011-03-18 22:38:14.000000000 
+0100
@@ -0,0 +1,5004 @@
+-------------------------------------------------------------------
+Fri Mar 18 22:12:32 CET 2011 - [email protected]
+
+- maintenance update (bnc#667421, MaintenanceTracker-38738)
+
+-------------------------------------------------------------------
+Thu Mar 17 13:13:41 CET 2011 - [email protected]
+
+- add conflicts to force migration to libreoffice
+- obsolete Quickstarter
+
+-------------------------------------------------------------------
+Wed Mar 16 16:45:15 UTC 2011 - [email protected]
+
+- enabled KDE3 support (bnc#678998)
+
+-------------------------------------------------------------------
+Wed Feb 23 14:08:35 CET 2011 - [email protected]
+
+- libreoffice-3.3.1.2 == 3.3.1-rc2 == final
+
+-------------------------------------------------------------------
+Wed Feb 23 14:02:28 CET 2011 - [email protected]
+
+- fixed audio/video playback in presentation (deb#612940, bnc#651250)
+- fixed non-working input methods in KDE4 (bnc#665112)
+
+-------------------------------------------------------------------
+Tue Feb 22 17:42:08 CET 2011 - [email protected]
+
+- fixed occasional blank first slide (fdo#34533)
+
+-------------------------------------------------------------------
+Mon Feb 21 14:23:59 CET 2011 - [email protected]
+
+- fixed cairo canvas edge count calculation (bnc#647959)
+
+-------------------------------------------------------------------
+Wed Feb 16 16:27:04 CET 2011 - [email protected]
+
+- updated to libreoffice-3.3.1.2 (3.3.1-rc2):
+    * l10n
+        * updated some translations
+    * libs-core
+        * crashing oosplash and malformed picture (bnc#652562)
+        * Byref and declare Basic statement (fdo#33964, i#115716)
+        * fixed BorderLine(2) conversion to SvxBorderLine (fdo#34226)
+    * libs-gui
+        * getEnglishSearchFontName() searches Takao fonts
+    * sdk
+        * fix ODK settings.mk to only set STLPORTLIB if needed
+    * writer
+        * rtfExport::HackIsWW8OrHigher(): return true (fdo#33478)
+        * visual editor destroys formulas containing symbols (fdo#32759, 
fdo#32755)
+- enabled KDE4 support for SLED11; LO-3.3.1 fixed the remaining annoying bugs
+- fixed EMF+ import (bnc#650049)
+
+-------------------------------------------------------------------
+Tue Feb  8 20:53:59 CET 2011 - [email protected]
+
+- updated to libreoffice-3.3.1.1 (3.3.1-rc1):
+    * artwork
+        * new MIME type icons for LibreOffice
+    * bootstrap
+        * wrong line break with ( (fdo#31271)
+    * build
+        * default formula string (n#664516)
+        * don't version the bundled ct2n extension
+        * last update of translations from Pootle for 3.3.1
+    * calc
+        * import of cell attributes from Excel documents
+        * incorrect page number in page preview mode (fdo#33155)
+    * components
+        * remove pesky on-line registration menu entry (fdo#33112)
+        * crash on changing position of drawing object in header (rhbz#673819)
+    * extras
+        * start using technical.dic instead of oracle.dic (fdo#31798)
+    * filters
+        * pictures DOCX import (bnc#655763)
+        * parse 'color' property (fdo#33551)
+        * fix ole object import for writer (DOCX) (fdo#33237)
+    * help
+        * OOo -> LibO on Getting Support page (fdo#33249)
+    * libs-core
+        * handle css::table::BorderLine
+        * add preferred Malayalam fonts (fdo#32953)
+        * fix KDE3 library search order (fdo#32797)
+        * StarDesktop.terminate macro behaviour (#30879)
+        * Sun Microsystems -> TDF in desktop file (fdo#31191)
+        * fixed several crashes around config UNO API (fdo#33994)
+        * implementation names weren't matching with xcu (fdo#32872)
+        * improve the check for existence of the localized help (fdo#33258)
+    * libs-extern
+        * upgrade libwpd to 0.9.1
+    * libs-gui
+        * painting of axial gradients (116318)
+        * fix wrong collation for Catalan language
+        * crash when moving through database types (fdo#32561)
+        * paint toolbar handle positioned properly (fdo#32558)
+        * remove the menu when Left Alt Key was pressed; for GTK
+        * default currency for Estonia should be Euro (fdo#33160)
+        * year of era in long format for zh_TW by default (fdo#33459)
+    * writer
+        * use standard Edit button width of 50 (fdo#32633)
+        * improve formfield checkbox binary export (bnc#660816)
+        * infinite loop while exporting some files in DOC/DOCX/RTF
+        * CTL/Other Default Font (i#25247, i#25561, i#48064, i#92341)
+
+-------------------------------------------------------------------
+Mon Jan 31 20:32:38 CET 2011 - [email protected]
+
+- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final
+
+-------------------------------------------------------------------
+Wed Jan 19 12:58:21 CET 2011 - [email protected]
+
+- updated to libreoffice-3.3.0.4 (3.3-rc4):
+    * common:
+        * remove pesky on-line registration menu entry (fdo#33112)
+    * artwork:
+        * fix search toolbar up/down search button icons
+    * base:
+        * report builder not shows properties on report fields (fdo#32742)
+        * report left/right page margin setting ignored on 64-bit (i#116187)
+    * build:
+        * updated translations
+    * calc:
+        * reverted problematic and dangerous:
+            * performance of filters with many filtered ranges (i#116164)
+            * obtain correct data range for external references (i#115906)
+    * libs-core:
+        * FMR crasher (fdo#33099)
+        * backgrounds for polypolygons in metafile (i#116371)
+        * unopkg crasher on SLED11-SP1 (bnc#655912)
+    * libs-gui:
+        * use sane scrollbar sizes when drawing
+        * painting of axial gradients (i#116318)
+        * do not mix unrelated X11 Visuals (fdo#33108)
+        * avoid GetHelpText() call which can be quite heavy
+    * writer:
+        * fields fixes: key inputs, 0-length fields import (bnc#657135)
+- replaced obsolete SuSEconfig gtk2 module call with
+  %%icon_theme_cache_post(un) macros for openSUSE > 11.3 (bnc#663245)
+
+-------------------------------------------------------------------
+Tue Jan 11 16:41:58 CET 2011 - [email protected]
+
+- updated to libreoffice-3.3.0.3 (3.3-rc3):
+    * build:
+        * use libreoffice and lo* wrappers; update man pages accordingly
+        * navigation buttons' patch selection handling (fdo#32380, bnc#649506)
+    * calc:
+        * bogus check for numerical sheet names (fdo#32570)
+        * performance of filters with many filtered ranges (i#116164)
+        * obtain correct data range for external references (i#115906)
+        * avoid double-paste when pasting text into cell comment (fdo#32572)
+    * components:
+        * fix nsplugin for LibreOffice name
+        * fixing large OOXML files (i#115944)
+        * layout breakage for KDE, X11 and (possibly) Mac (fdo#32133)
+    * extensions:
+        * patching xpdf to patchlevel 3.02pl5
+    * extras:
+        * creating technical.dic based on src/*.dic
+    * filters:
+        * small TGAReader improvement (i#164349)
+        * PageRange handling in writer PDF export (#116085)
+    * impress:
+        * missing font color (rhbz#663857)
+        * use updated anchor for group shapes (i#115898)
+        * presentation objects on master pages (i#115993)
+    * libs-core:
+        * survive missing window (rhbz#666216)
+        * better font selection in Japanese locale.
+        * do not block when launching Firefox (fdo#32427)
+        * show the license information in a separate dialog (fdo#32563)
+        * make unopkg --suppress-license skip license in all cases (fdo#32840)
+    * libs-extern-sys:
+        * better XPATH handling (i#164350)
+    * libs-gui:
+        * use the initial language if not specified (fdo#32523)
+        * clean up search cache singleton in correct order (rhbz#666088)
+    * writer:
+        * undo/redo crash with postits (rhbz#660342)
+        * rearrange title dialog to get translations (fdo#32633)
+        * move to the next record during mail merge (fdo#32790)
+
+-------------------------------------------------------------------
+Tue Dec 21 19:44:02 CET 2010 - [email protected]
+
+- updated to libreoffice-3.3.0.2 (3.3-rc2):
+    * common:
+        * copy & paste a text formatted cell (i#115825)
+        * replaced http://www.openoffice.org (fdo#32169)
+    * bootstrap:
+        * check if KDE is >= 4.2
+        * cleanup unfortunate license duplication
++++ 4807 more lines (skipped)
++++ between /dev/null
++++ and 11.3/libreoffice/libreoffice.changes

calling whatdependson for 11.3-i586


New:
----
  libreoffice-postprocess-3.3.1.2.tar.bz2
  libreoffice.changes
  libreoffice.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libreoffice.spec ++++++
#
# spec file for package libreoffice
#
# Copyright (c) 2011 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/
#

# norootforbuild


Name:           libreoffice
# allow to use xulrunner191 on SLED11-SP1 (bnc#540726)
%define         use_xulrunner191        no
Version:        3.3.1.2
Release:        2.<RELEASE2>
%define         piece             postprocess
%define         ooo_build_version 3.3.1.2
%define         ooo_piece_version 3.3.1.2
%define         ooo_sourcedirname libreoffice-build-%ooo_piece_version
%define         ooo_prefix        %_libdir
%define         ooo_home          libreoffice
BuildRequires:  ImageMagick ant ant-apache-regexp bison boost-devel ccache 
cups-devel curl-devel flac-devel flex gcc-c++ gnome-vfs2-devel gperf gtk2-devel 
icu java-devel libexif libxml2-devel mono-devel neon-devel pam-devel 
perl-Archive-Zip perl-Compress-Zlib postgresql-devel python-devel recode 
unixODBC-devel unzip xml-commons-apis zip
############################
# basic stuff
%if 0%{?suse_version}
BuildRequires:  db-devel krb5 openldap2-devel python-xml update-desktop-files 
xorg-x11
%endif
%if 0%{?meego_version}
BuildRequires:  db4-devel krb5-devel openldap-devel
BuildRequires:  xorg-x11-server-devel
BuildRequires:  xorg-x11-proto-xproto
BuildRequires:  xorg-x11-utils
%endif
############################
# KDE3 stuff
%if 0%{?suse_version}
BuildRequires:  kdelibs3-devel
%endif
############################
# mozilla stuff
%if 0%{?suse_version} > 01130 
BuildRequires:  mozilla-xulrunner192-devel
%endif
%if 0%{?suse_version} <= 01130
%if 0%{?suse_version} > 01110 || %use_xulrunner191 == yes
BuildRequires:  mozilla-xulrunner191-devel
%endif 
%endif
%if 0%{?suse_version} > 01100 && 0%{?suse_version} <= 01110 && 
%use_xulrunner191 != yes
BuildRequires:  mozilla-xulrunner190-devel
%endif 
%if 0%{?suse_version} > 01010 && 0%{?suse_version} <= 01100
BuildRequires:  mozilla-xulrunner181-devel
%endif
%if 0%{?suse_version} > 01000 && 0%{?suse_version} <= 01010
BuildRequires:  gecko-sdk mozilla-xulrunner
%endif
%if 0%{?meego_version}
BuildRequires:  xulrunner-devel
%endif
############################
# expat stuff
%if 0%{?suse_version} > 01100
# libexpat-devel is explicitely needed since openSUSE-11.1
BuildRequires:  libexpat-devel
%endif
%if 0%{?meego_version}
BuildRequires:  expat-devel
%endif
############################
# poppler is needed to build the PDF import extension
# the needed version 0.8.0 has been avaiable only since openSUSE-11.0
%if 0%{?suse_version} >= 01100
BuildRequires:  libpoppler-devel
%endif
%if 0%{?meego_version}
BuildRequires:  poppler-devel
%endif
############################
# openSUSE 10.3 features
%if 0%{?suse_version} > 01020 || 0%{?meego_version}
BuildRequires:  libicu-devel
%endif
############################
# openSUSE 11.0 features
%if 0%{?suse_version} > 01030 || 0%{?meego_version}
BuildRequires:  hunspell-devel libwpd-devel libwpg-devel libwps-devel
%endif
############################
# CODE10 features
############################
%if 0%{?suse_version} > 01000
BuildRequires:  gstreamer010-plugins-base-devel sablot-devel xalan-j2 xerces-j2 
xml-commons-apis
%endif
%if 0%{?meego_version}
BuildRequires:  gst-plugins-base-devel sablot-devel xalan-j2 xerces-j2 
xml-commons-apis
%endif
#!BuildIgnore:  libreoffice
BuildRequires:  libreoffice-branding-upstream > 3.2.99.3
BuildRequires:  libreoffice-artwork-devel = %version
BuildRequires:  libreoffice-base-devel = %version
BuildRequires:  libreoffice-bootstrap = %version
BuildRequires:  libreoffice-calc-devel = %version
BuildRequires:  libreoffice-components-devel = %version
BuildRequires:  libreoffice-impress-devel = %version
BuildRequires:  libreoffice-filters-devel = %version
BuildRequires:  libreoffice-help-en-US-devel = %version
#BuildRequires:  libreoffice-l10n-devel = %version
BuildRequires:  libreoffice-libs-core-devel = %version
BuildRequires:  libreoffice-libs-extern-devel = %version
BuildRequires:  libreoffice-libs-gui-devel = %version
BuildRequires:  libreoffice-ure-devel = %version
BuildRequires:  libreoffice-writer-devel = %version
BuildRequires:  libreoffice-filters-devel = %version
License:        LGPLv2.0 ; LGPLv3
Group:          Productivity/Office/Suite
AutoReqProv:    on
Requires:       libreoffice-ure = %version
Requires:       libreoffice-components = %version
Requires:       libreoffice-filters = %version
Requires:       libreoffice-icon-themes = %version
Requires:       libreoffice-libs-core = %version
Requires:       libreoffice-libs-extern = %version
Requires:       libreoffice-libs-gui = %version
Requires:       libreoffice-l10n-extras = %version
Requires:       libreoffice-branding > 3.2.99.3
Requires:       libreoffice-branding < 4
%if %{?suse_version}
Recommends:     libreoffice-base
Recommends:     libreoffice-calc
Recommends:     libreoffice-draw
Recommends:     libreoffice-math
Recommends:     libreoffice-impress
Recommends:     libreoffice-writer
Recommends:     libreoffice-filters
Recommends:     libreoffice-mailmerge
Recommends:     libreoffice-hyphen
Recommends:     libreoffice-thesaurus-en
Recommends:     libreoffice-help-en-US
# make sure the rename to libreoffice* is complete
Conflicts:      OpenOffice_org-hyphen < 20110203.1
Conflicts:      OpenOffice_org-openclipart < 3.3
Conflicts:      OpenOffice_org-LanguageTool < 1.2
Conflicts:      OpenOffice_org-LanguageTool-de < 1.2
Conflicts:      OpenOffice_org-LanguageTool-en < 1.2
Conflicts:      OpenOffice_org-LanguageTool-es < 1.2
Conflicts:      OpenOffice_org-LanguageTool-fr < 1.2
Conflicts:      OpenOffice_org-LanguageTool-it < 1.2
Conflicts:      OpenOffice_org-LanguageTool-nl < 1.2
Conflicts:      OpenOffice_org-LanguageTool-pl < 1.2
Conflicts:      OpenOffice_org-LanguageTool-sv < 1.2
Conflicts:      OpenOffice_org-templates-presentation-layouts < 3.3
Conflicts:      OpenOffice_org-templates-labels-a4 < 1.0.1
Conflicts:      OpenOffice_org-templates-labels-letter < 1.0.1
Conflicts:      OpenOffice_org-templates-de < 3.3
Conflicts:      OpenOffice_org-templates-en < 3.3
Conflicts:      OpenOffice_org-thesaurus-bg < 20071210.1
Conflicts:      OpenOffice_org-thesaurus-ca < 1.5.0.1
Conflicts:      OpenOffice_org-thesaurus-cs < 20070913.1
Conflicts:      OpenOffice_org-thesaurus-da < 20100126.1
Conflicts:      OpenOffice_org-thesaurus-de < 20100307.1
Conflicts:      OpenOffice_org-thesaurus-de-AT < 20100307.1
Conflicts:      OpenOffice_org-thesaurus-de-CH < 20100307.1
Conflicts:      OpenOffice_org-thesaurus-el < 20061203.1
Conflicts:      OpenOffice_org-thesaurus-en-AU < 20081215.1
Conflicts:      OpenOffice_org-thesaurus-en < GB-20051128.1
Conflicts:      OpenOffice_org-thesaurus-en-US < 20060111.1
Conflicts:      OpenOffice_org-thesaurus-es < 20050720.1
Conflicts:      OpenOffice_org-thesaurus-es-AR < 0.1.1
Conflicts:      OpenOffice_org-thesaurus-es-VE < 1.0.1.1
Conflicts:      OpenOffice_org-thesaurus-fr < 20100125.1
Conflicts:      OpenOffice_org-thesaurus-ga < 20071002.1
Conflicts:      OpenOffice_org-thesaurus-hu < 20080319.1
Conflicts:      OpenOffice_org-thesaurus-it < 20081129.1
Conflicts:      OpenOffice_org-thesaurus-nb < 20080310.1
Conflicts:      OpenOffice_org-thesaurus-ne < 1.1.1
Conflicts:      OpenOffice_org-thesaurus-pl < 20081206.1
Conflicts:      OpenOffice_org-thesaurus-pt < 20091015.1
Conflicts:      OpenOffice_org-thesaurus-ro < 20091130.1
Conflicts:      OpenOffice_org-thesaurus-ru < 20081013.1
Conflicts:      OpenOffice_org-thesaurus-sk < 20100208.1
Conflicts:      OpenOffice_org-thesaurus-sl < 20080601.1
Conflicts:      OpenOffice_org-thesaurus-sv < 20090624.1
Conflicts:      OpenOffice_org-converter < 3.3
Provides:       OpenOffice_org-Quickstarter = 3.3.1
Obsoletes:      OpenOffice_org-Quickstarter < 3.3.1
%endif
# compat stuff
Provides:       OpenOffice_org = %version
Obsoletes:      OpenOffice_org <= %version
# compatibility with the older split build used in the Build Service 
(bnc#471280)
# the l10n package was available only for a short time
# during the 11.1 alpha phase
Provides:       OpenOffice_org-l10n-en-US = %version
Obsoletes:      OpenOffice_org-l10n-en-US <= %version
# some other compat suff
Provides:       OpenOffice_org17
Obsoletes:      OpenOffice_org17
Provides:       OpenOffice_org-en OpenOffice_org-en-help OpenOffice_org2
Obsoletes:      OpenOffice_org-en OpenOffice_org-en-help OpenOffice_org2
Provides:       OpenOffice_org-hunspell OpenOffice_org2-hunspell
Obsoletes:      OpenOffice_org-hunspell OpenOffice_org2-hunspell
# we need a JRE for oobase and the other stuff
%if 0%{?suse_version}
# gij is enough on SL 10.1 and higher
%if 0%{?suse_version} > 01000
# --- 
%ifarch %ix86
# the 32-bit build requires 32-bit JRE, #222708
Recommends:     jre-32 >= 1.6
%endif
# ---
%ifarch x86_64
%if 0%{?suse_version} > 01020
Recommends:     jre-64 >= 1.6
%endif
# the 64-bit build does not work with Sun Java on older distributions, #219982
%if 0%{?suse_version} == 01020
Requires:       gcc-gij
%endif
%if 0%{?suse_version} && 0%{?suse_version} < 01020
Requires:       libgcj
%endif
%endif
# ---
%ifarch ppc
%if 0%{?suse_version} > 01020
Recommends:     jre-32 >= 1.6
%endif
# there were problems with the commercial Java on ppc on older distribtions
%if 0%{?suse_version} == 01020
Requires:       gcc-gij
%endif
%if 0%{?suse_version} && 0%{?suse_version} < 01020
Requires:       libgcj
%endif
%endif
%endif
%endif
%if 0%{?meego_version}
Requires:       jre >= 1.5
%endif
# ---
Requires:       xalan-j2 xerces-j2 xml-commons-apis
# post install scripts
%if 0%{?suse_version} > 01120
Requires(post):   gtk2
Requires(postun): gtk2
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01120
PreReq:         gtk2
%endif

Summary:        A Free Office Suite (Framework)
Url:            http://www.documentfoundation.org/
Source:         libreoffice-%piece-%ooo_piece_version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86 x86_64 ppc

%description
LibreOffice is a comprehensive office package featuring a word
processor, a spreadsheet, a presentation program, and much more. This
package provides only the basic framework. You have to install the
additional modules to get the required functionality, see packages:

- libreoffice-base

- libreoffice-calc

- libreoffice-draw

- libreoffice-impress

- libreoffice-math

- libreoffice-writer

Some optional features are provided by extra packages, for example:

- libreoffice-mailmerge

- libreoffice-filters

- libreoffice-kde

- libreoffice-gnome

Non-English localizations are provided by extra packges as well, for
example:

- libreoffice-de

- libreoffice-fr

- libreoffice-it



%package icon-themes-prebuilt
License:        LGPLv2.0 ; LGPLv3
Summary:        Prebuilt LibreOffice Icon Themes
Group:          Development/Sources
AutoReqProv:    off
# compat stuff
Provides:       OpenOffice_org-icon-themes-prebuilt = %version
Obsoletes:      OpenOffice_org-icon-themes-prebuilt <= %version

%description icon-themes-prebuilt
This package includes the prebuilt LibreOffice Icon Themes. It is
not intended for real use. It needs to be repacked to the real
architecture independent package.

This is only temporary solution to get an installable set of
LibreOffice packages for a new version as fast as possible. The
architecture independent package will be built from the original
sources in the future.

%package l10n-prebuilt
License:        LGPLv3
Summary:        Prebuilt LibreOffice Postprocess Localizations
Group:          Productivity/Office/Suite
AutoReqProv:    off
# compat stuff 
Provides:       OpenOffice_org-l10n-prebuilt = %version
Obsoletes:      OpenOffice_org-l10n-prebuilt <= %version

%description l10n-prebuilt
This package includes the prebuilt localization of LibreOffice
postprocess. It is not intended for a real use. It needs to be repacked to
the real architecture independent package.

This is only a temporary solution until we have an easier way to build
the LibreOffice localizations separately.


%prep
%setup -q -n libreoffice-%piece-%ooo_piece_version

%build
# setup env.
export OO_INSTDIR=%{_libdir}/%ooo_home
export OO_TOOLSDIR=$OO_INSTDIR/build/bin
export VERBOSE=1
export PIECE_BUILD_NCPUS_AUTO=1
export PIECE_USE_JOBS="%{?jobs:%jobs}"
# FIXME: hack to avoid dependecy problem
$OO_TOOLSDIR/piece/build-generic %piece %ooo_sourcedirname || 
$OO_TOOLSDIR/piece/build-generic %piece %ooo_sourcedirname || 
$OO_TOOLSDIR/piece/build-generic %piece %ooo_sourcedirname

%install
# setup env.
export OO_INSTDIR=%{_libdir}/%ooo_home
export OO_TOOLSDIR=$OO_INSTDIR/build/bin
export DESTDIR=$RPM_BUILD_ROOT
export OO_ALLOW_PROFILES=1
$OO_TOOLSDIR/piece/install-generic %piece %ooo_sourcedirname
%if 0%{?suse_version}
%suse_update_desktop_file startcenter
%suse_update_desktop_file template
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig
/usr/bin/update-mime-database /usr/share/mime >/dev/null || true
# update GNOME icon caches
%if 0%{?suse_version} > 01130
%icon_theme_cache_post
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01130
SuSEconfig --module gtk2 || true
%endif
#
# /usr/bin/ooffice symlink is necessary by java UNO components to find the UNO
# installation using $PATH, see
# http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html
# this scriptlet supports parallel installation of more OOo instances
soffice_symlink="/usr/bin/soffice"
default_wrapper="%ooo_prefix/%ooo_home/program/soffice"
if test -x "$default_wrapper" ; then
    # this package installs the preferred OOo wrappers => it is getting to be 
the default OOo => remove od symlink
    test -L "$soffice_symlink" && rm -f "$soffice_symlink" || true
    test -e "$soffice_symlink" || ln -sf "$default_wrapper" "$soffice_symlink" 
|| true
fi

%preun
test "$1" = "0" && rm -rf ./%ooo_prefix/%ooo_home/share/uno_packages/cache || 
true

%postun
/sbin/ldconfig
/usr/bin/update-mime-database /usr/share/mime >/dev/null || true
# update GNOME icon caches
%if 0%{?suse_version} > 01130
%icon_theme_cache_postun
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01130
SuSEconfig --module gtk2 || true
%endif
#
# /usr/bin/ooffice symlink is necessary by java UNO components to find the UNO
# installation using $PATH, see
# http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html
# this scriptlet supports parallel installation of more OOo instances
soffice_symlink="/usr/bin/soffice"
# the current package has been removed; try to find any other OOo installation
default_wrapper="`ls /usr/lib*/ooo*/program/soffice 2>/dev/null | head -n 1`"
test -L "$soffice_symlink" -a ! -r "$soffice_symlink" && rm -f 
"$soffice_symlink" || true
test -x "$default_wrapper" -a ! -e "$soffice_symlink" && ln -sf 
"$default_wrapper" "$soffice_symlink" || true
# FIXME: just to make lint check happy

%triggerin -- mysql-connector-java
%ooo_prefix/%ooo_home/basis-link/program/java-set-classpath 
/usr/share/java/mysql-connector-java.jar || true

%triggerpostun -- mysql-connector-java
%ooo_prefix/%ooo_home/basis-link/program/java-set-classpath 
/usr/share/java/mysql-connector-java.jar || true

%files -f files-%piece.txt
%defattr(-,root,root)

%files -f files-icon-themes.txt icon-themes-prebuilt
%defattr(-,root,root)

%files l10n-prebuilt
%defattr(-,root,root)
%ooo_prefix/%ooo_home/solver/noarch

%changelog

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to