Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
libreoffice-help-group2
libreoffice-help-group3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-help-group3.spec of Package libreoffice-help-group2
# # spec file for package libreoffice-help-group3 # # 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-help-group3 ################################################################### ## DO NOT EDIT THIS SPEC FILE ## Generated by: ## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX ################################################################### Version: 3.3.1.2 Release: 1.<RELEASE2> %define piece help %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_home libreoffice %define ooo_basis_dir basis3.3 # 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 "" %else %if %test_build_langs == 1 %define ooo_langs "hu ja" %else %define ooo_langs "gu hi-IN hu it ja km" %endif %endif #!BuildIgnore: libreoffice # both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22 BuildRequires: java-devel perl-Archive-Zip unzip zip BuildRequires: libreoffice-artwork-devel = %version BuildRequires: libreoffice-libs-core-devel = %version %if 0%{?suse_version} == 01010 # is not required by Java SDKs by mistake on SLED10 BuildRequires: update-alternatives # needed by perl-Archive-Zip; is included in main perl package on newer distros BuildRequires: perl-Compress-Zlib %endif License: LGPLv3 Group: Productivity/Office/Suite AutoReqProv: on # compat stuff Provides: OpenOffice_org-help-group3 = %version Obsoletes: OpenOffice_org-help-group3 <= %version Summary: LibreOffice Help Development Url: http://www.documentfoundation.org/ Source0: libreoffice-%piece-%ooo_piece_version.tar.bz2 # helper stuff to produce pieces of the spec file Source100: libreoffice-help-groupX.spec.in Source101: lo-help-gen-spec Source102: lo-help-groupX BuildRoot: %{_tmppath}/%{name}-%{version}-build #!ExclusiveArch: %ix86 x86_64 ppc BuildArch: noarch %description This package provides files related to the LibreOffice help development. %if %test_build_langs >= 2 %package -n libreoffice-help-gu-IN License: LGPLv3 Summary: Gujarati Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:gu) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-gu-IN %endif # compat stuff Provides: OpenOffice_org-help-gu-IN = %version Obsoletes: OpenOffice_org-help-gu-IN <= %version Provides: OpenOffice_org-gu-IN:%_prefix/ooo-2.0/help/gu-IN/default.css %description -n libreoffice-help-gu-IN Gujarati help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-gu-IN. %package -n libreoffice-help-hi-IN License: LGPLv3 Summary: Hindi Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:hi_IN) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-hi-IN %endif # compat stuff Provides: OpenOffice_org-help-hi-IN = %version Obsoletes: OpenOffice_org-help-hi-IN <= %version Provides: OpenOffice_org-hi-IN:%_prefix/ooo-2.0/help/hi-IN/default.css %description -n libreoffice-help-hi-IN Hindi help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-hi-IN. %endif %if %test_build_langs >= 1 %package -n libreoffice-help-hu License: LGPLv3 Summary: Hungarian Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:hu) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-hu %endif # compat stuff Provides: OpenOffice_org-help-hu = %version Obsoletes: OpenOffice_org-help-hu <= %version Provides: OpenOffice_org-hu:%_prefix/ooo-2.0/help/hu/default.css %description -n libreoffice-help-hu Hungarian help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-hu. %endif %if %test_build_langs >= 2 %package -n libreoffice-help-it License: LGPLv3 Summary: Italian Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:it) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-it %endif # compat stuff Provides: OpenOffice_org-help-it = %version Obsoletes: OpenOffice_org-help-it <= %version Provides: OpenOffice_org-it:%_prefix/ooo-2.0/help/it/default.css %description -n libreoffice-help-it Italian help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-it. %endif %if %test_build_langs >= 1 %package -n libreoffice-help-ja License: LGPLv3 Summary: Japanese Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:ja) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-ja %endif # compat stuff Provides: OpenOffice_org-help-ja = %version Obsoletes: OpenOffice_org-help-ja <= %version Provides: OpenOffice_org-ja:%_prefix/ooo-2.0/help/ja/default.css %description -n libreoffice-help-ja Japanese help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-ja. %endif %if %test_build_langs >= 2 %package -n libreoffice-help-km License: LGPLv3 Summary: Khmer Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:km) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-km %endif # compat stuff Provides: OpenOffice_org-help-km = %version Obsoletes: OpenOffice_org-help-km <= %version Provides: OpenOffice_org-km:%_prefix/ooo-2.0/help/km/default.css %description -n libreoffice-help-km Khmer help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-km. %endif %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 # 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_sourcedirname %install # setup env. export OO_INSTDIR=%{_libdir}/%ooo_home export OO_TOOLSDIR=$OO_INSTDIR/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_sourcedirname # 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 %if %test_build_langs >= 2 # gu-IN %posttrans -n libreoffice-help-gu-IN %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-gu.txt || true %preun -n libreoffice-help-gu-IN test "$1" = "0" && cp %_datadir/%ooo_home/files-help-gu.txt %_datadir/%ooo_home/files-help-gu.txt.postun || true %postun -n libreoffice-help-gu-IN test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-gu.txt.postun || true rm -f %_datadir/%ooo_home/files-help-gu.txt.postun 2>/dev/null # hi-IN %posttrans -n libreoffice-help-hi-IN %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-hi_IN.txt || true %preun -n libreoffice-help-hi-IN test "$1" = "0" && cp %_datadir/%ooo_home/files-help-hi_IN.txt %_datadir/%ooo_home/files-help-hi_IN.txt.postun || true %postun -n libreoffice-help-hi-IN test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-hi_IN.txt.postun || true rm -f %_datadir/%ooo_home/files-help-hi_IN.txt.postun 2>/dev/null %endif %if %test_build_langs >= 1 # hu %posttrans -n libreoffice-help-hu %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-hu.txt || true %preun -n libreoffice-help-hu test "$1" = "0" && cp %_datadir/%ooo_home/files-help-hu.txt %_datadir/%ooo_home/files-help-hu.txt.postun || true %postun -n libreoffice-help-hu test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-hu.txt.postun || true rm -f %_datadir/%ooo_home/files-help-hu.txt.postun 2>/dev/null %endif %if %test_build_langs >= 2 # it %posttrans -n libreoffice-help-it %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-it.txt || true %preun -n libreoffice-help-it test "$1" = "0" && cp %_datadir/%ooo_home/files-help-it.txt %_datadir/%ooo_home/files-help-it.txt.postun || true %postun -n libreoffice-help-it test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-it.txt.postun || true rm -f %_datadir/%ooo_home/files-help-it.txt.postun 2>/dev/null %endif %if %test_build_langs >= 1 # ja %posttrans -n libreoffice-help-ja %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-ja.txt || true %preun -n libreoffice-help-ja test "$1" = "0" && cp %_datadir/%ooo_home/files-help-ja.txt %_datadir/%ooo_home/files-help-ja.txt.postun || true %postun -n libreoffice-help-ja test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-ja.txt.postun || true rm -f %_datadir/%ooo_home/files-help-ja.txt.postun 2>/dev/null %endif %if %test_build_langs >= 2 # km %posttrans -n libreoffice-help-km %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-km.txt || true %preun -n libreoffice-help-km test "$1" = "0" && cp %_datadir/%ooo_home/files-help-km.txt %_datadir/%ooo_home/files-help-km.txt.postun || true %postun -n libreoffice-help-km test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-km.txt.postun || true rm -f %_datadir/%ooo_home/files-help-km.txt.postun 2>/dev/null %endif %if %test_build_langs >= 2 %files -f files-help-gu.txt -n libreoffice-help-gu-IN %defattr(-,root,root) %files -f files-help-hi_IN.txt -n libreoffice-help-hi-IN %defattr(-,root,root) %endif %if %test_build_langs >= 1 %files -f files-help-hu.txt -n libreoffice-help-hu %defattr(-,root,root) %endif %if %test_build_langs >= 2 %files -f files-help-it.txt -n libreoffice-help-it %defattr(-,root,root) %endif %if %test_build_langs >= 1 %files -f files-help-ja.txt -n libreoffice-help-ja %defattr(-,root,root) %endif %if %test_build_langs >= 2 %files -f files-help-km.txt -n libreoffice-help-km %defattr(-,root,root) %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor