LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libreoffice-l10n.spec.in of Package libreoffice (Project openSUSE:Evergreen:11.2)

#
# 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.4.7
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