File OpenOffice_org-help-groupX.spec.in of Package OpenOffice_org-help-group2
#
# spec file for package OpenOffice_org-help (Version 3.1.0.1)
#
# Copyright (c) 2009 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
@DO_NOT_EDIT_COMMENT@
Name: OpenOffice_org-help-group@GROUP_NUMBER@
Version: 3.1.1.4
Release: 1
%define ooo_build_version 3.1.1.4
%define piece help
# 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 ooo_langs "@OOO_LANGS_MIN_0@"
%else
%if %test_build_langs == 1
%define ooo_langs "@OOO_LANGS_MIN_1@"
%else
%define ooo_langs "@OOO_LANGS_MIN_2@"
%endif
%endif
%define ooo_basis_dir basis3.1
%define ooo_home ooo3
#!BuildIgnore: OpenOffice_org
BuildRequires: java-devel unzip zip
BuildRequires: OpenOffice_org-artwork-devel = %version
BuildRequires: OpenOffice_org-libs-core-devel = %version
%if %suse_version == 1010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
%endif
%define ooo_prefix %_libdir
%define ooo_home ooo3
%define ooo_build_tag ooo310-m19
License: LGPL v3 only
Group: Productivity/Office/Suite
AutoReqProv: on
Summary: OpenOffice.org Help Development
Url: http://www.openoffice.org/
Source0: %ooo_build_tag-%piece.tar.bz2
Source1: ooo-sdf-%piece.tar.bz2
# helper stuff to produce pieces of the spec file
Source100: OpenOffice_org-help-groupX.spec.in
Source101: ooo-help-gen-spec
Source102: ooo-help-groupX
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
This package provides files related to the OpenOffice.org help
development.
@SUBPACKAGES_METAINFO@
%prep
%setup -q -a1 -n %ooo_build_tag-%piece
%build
# setup env.
export OO_INSTDIR=%{_libdir}/%ooo_home
export OO_TOOLSDIR=$OO_INSTDIR/ooo-build/bin
export VERBOSE=1
# don't build help 8x since - well - it needs a shed load of memory.
export EXTRA_BUILD_FLAGS=%{?jobs:-P2}
export EXTRA_DMAKE_FLAGS="%{?jobs:-- -P2}"
# no help content in this package
export BUILD_HELP_SEPARATELY=YES
# this spec file is only for few selected localitions to speed the build in BS
export FORCE_OOO_LANGS=%ooo_langs
$OO_TOOLSDIR/piece/build-generic %piece %ooo_build_tag
%install
# setup env.
export OO_INSTDIR=%{_libdir}/%ooo_home
export OO_TOOLSDIR=$OO_INSTDIR/ooo-build/bin
export DESTDIR=$RPM_BUILD_ROOT
# this spec file is only for few selected localitions to speed the build in BS
export FORCE_OOO_LANGS=%ooo_langs
$OO_TOOLSDIR/piece/install-generic %piece %ooo_build_tag
# prune redundant files the scp2 likes to make for us
rm -Rf \
"$DESTDIR/$OO_INSTDIR/basis-link" \
"$DESTDIR/$OO_INSTDIR/ure"
# prune devel files; they are packageg when building en-US help
rm -Rf \
"$DESTDIR/%{_datadir}/%ooo_home/files-help-prebuilt.txt" \
"$DESTDIR/%{_datadir}/%ooo_home/files-help-devel.txt" \
"$DESTDIR/%{_datadir}/%ooo_home/solver"
%clean
rm -rf $RPM_BUILD_ROOT
@SUBPACKAGES_SCRIPTS@
@SUBPACKAGES_FILELIST@
%changelog
* Fri May 15 2009 pmladek@suse.cz
- updated ooo-build to version 3.1.0.1 (3.1-rc2)
* Thu May 07 2009 pmladek@suse.cz
- updated ooo-build to version 3.1.0.0 (3.1-rc1)
* Thu Apr 30 2009 pmladek@suse.cz
- updated to the milestone ooo310-m11 (3.1-rc2)
- updated ooo-build to version 3.0.99.7 (3.1-beta7)
* Fri Apr 24 2009 pmladek@suse.cz
- updated to the milestone ooo310-m10
- updated ooo-build to version 3.0.99.6 (3.1-beta6)
- updated extra localization sources: be-BY, bg, cs, da, el, et, fi, ga, km,
lt, mk, sk, sl
* Fri Apr 17 2009 pmladek@suse.cz
- updated ooo-build to version 3.0.99.5 (3.1-beta5)
* Wed Apr 08 2009 pmladek@suse.cz
- updated to the milestone ooo310-m9
- updated ooo-build to version 3.0.99.4 (3.1-beta4)
* Fri Mar 27 2009 pmladek@suse.cz
- updated to the milestone ooo310-m7
- updated ooo-build to version 3.0.99.3 (3.1-beta3)
* Fri Mar 20 2009 pmladek@suse.cz
- updated to the milestone ooo310-m6
- updated ooo-build to version 3.0.99.2 (3.1-beta2)
- used more conservative way to remove the compat symlinks (bnc#471280)
* Tue Mar 10 2009 pmladek@suse.cz
- updated to the milestone ooo310-m4
- updated ooo-build to version 3.0.99.1 (3.1-beta1)
- used newly separated help source tarball
- fixed build on SLED10
* Fri Feb 20 2009 pmladek@suse.cz
- updated ooo-build to version 3.0.0.16.1
* Fri Feb 06 2009 pmladek@suse.cz
- updated ooo-build to version 3.0.0.15
* Fri Jan 23 2009 pmladek@suse.cz
- updated ooo-build to version 3.0.0.13
- added ExclusiveArch: %%ix86 x86_64 ppc (bnc#465252)
* Fri Jan 09 2009 pmladek@suse.cz
- updated ooo-build to version 3.0.0.11
* Fri Dec 05 2008 pmladek@suse.cz
- updated ooo-build to version 3.0.0.10
* Fri Nov 21 2008 pmladek@suse.cz
- updated ooo-build to version 3.0.0.9
- added extra localizations sources
* Fri Nov 07 2008 pmladek@suse.cz
- updated ooo-build to version 3.0.0.8
* Mon Oct 27 2008 pmladek@suse.cz
- updated ooo-build to version 3.0.0.7
* Fri Oct 10 2008 pmladek@suse.cz
- updated to the milestone ooo300-m9 (3.0rc4)
- updated ooo-build to version 3.0.0.6
- added BuildIgnore OpenOffice_org to avoid cyclic build dependency
- added devel package; it was needed to package later the icon
themes correctly; it might provide tools to build more localizations
in the future
* Sat Sep 27 2008 pmladek@suse.cz
- updated to the milestone ooo300-m7 (3.0rc2)
- updated ooo-build to version 3.0.0.5
* Thu Sep 11 2008 pmladek@suse.cz
- split from the OpenOffice_org-l10n package, version 3.0.0.4