Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:11.4
libreoffice-help-group2
libreoffice-help-group5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-help-group5.spec of Package libreoffice-help-group2
# # spec file for package libreoffice-help-group5 # # 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-group5 ################################################################### ## 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 "" %else %define ooo_langs "pt-BR ru sl sv zh-CN zh-TW" %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-group5 = %version Obsoletes: OpenOffice_org-help-group5 <= %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-pt-BR License: LGPLv3 Summary: Brazilian Portuguese Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:pt_BR) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-pt-BR %endif # compat stuff Provides: OpenOffice_org-help-pt-BR = %version Obsoletes: OpenOffice_org-help-pt-BR <= %version Provides: OpenOffice_org-pt-BR:%_prefix/ooo-2.0/help/pt-BR/default.css %description -n libreoffice-help-pt-BR Brazilian Portuguese help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-pt-BR. %package -n libreoffice-help-ru License: LGPLv3 Summary: Russian Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:ru) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-ru %endif # compat stuff Provides: OpenOffice_org-help-ru = %version Obsoletes: OpenOffice_org-help-ru <= %version Provides: OpenOffice_org-ru:%_prefix/ooo-2.0/help/ru/default.css %description -n libreoffice-help-ru Russian help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-ru. %package -n libreoffice-help-sl License: LGPLv3 Summary: Slovene Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:sl) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-sl %endif # compat stuff Provides: OpenOffice_org-help-sl = %version Obsoletes: OpenOffice_org-help-sl <= %version Provides: OpenOffice_org-sl:%_prefix/ooo-2.0/help/sl/default.css %description -n libreoffice-help-sl Slovene help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-sl. %package -n libreoffice-help-sv License: LGPLv3 Summary: Swedish Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:sv) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-sv %endif # compat stuff Provides: OpenOffice_org-help-sv = %version Obsoletes: OpenOffice_org-help-sv <= %version Provides: OpenOffice_org-sv:%_prefix/ooo-2.0/help/sv/default.css %description -n libreoffice-help-sv Swedish help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-sv. %package -n libreoffice-help-zh-CN License: LGPLv3 Summary: Chinese Simplified Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:zh_CN) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-zh-CN %endif # compat stuff Provides: OpenOffice_org-help-zh-CN = %version Obsoletes: OpenOffice_org-help-zh-CN <= %version Provides: OpenOffice_org-zh-CN:%_prefix/ooo-2.0/help/zh-CN/default.css %description -n libreoffice-help-zh-CN Chinese Simplified help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-zh-CN. %package -n libreoffice-help-zh-TW License: LGPLv3 Summary: Chinese Traditional Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:zh_TW) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-zh-TW %endif # compat stuff Provides: OpenOffice_org-help-zh-TW = %version Obsoletes: OpenOffice_org-help-zh-TW <= %version Provides: OpenOffice_org-zh-TW:%_prefix/ooo-2.0/help/zh-TW/default.css %description -n libreoffice-help-zh-TW Chinese Traditional help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-zh-TW. %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 # pt-BR %posttrans -n libreoffice-help-pt-BR %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-pt_BR.txt || true %preun -n libreoffice-help-pt-BR test "$1" = "0" && cp %_datadir/%ooo_home/files-help-pt_BR.txt %_datadir/%ooo_home/files-help-pt_BR.txt.postun || true %postun -n libreoffice-help-pt-BR test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-pt_BR.txt.postun || true rm -f %_datadir/%ooo_home/files-help-pt_BR.txt.postun 2>/dev/null # ru %posttrans -n libreoffice-help-ru %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-ru.txt || true %preun -n libreoffice-help-ru test "$1" = "0" && cp %_datadir/%ooo_home/files-help-ru.txt %_datadir/%ooo_home/files-help-ru.txt.postun || true %postun -n libreoffice-help-ru test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-ru.txt.postun || true rm -f %_datadir/%ooo_home/files-help-ru.txt.postun 2>/dev/null # sl %posttrans -n libreoffice-help-sl %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-sl.txt || true %preun -n libreoffice-help-sl test "$1" = "0" && cp %_datadir/%ooo_home/files-help-sl.txt %_datadir/%ooo_home/files-help-sl.txt.postun || true %postun -n libreoffice-help-sl test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-sl.txt.postun || true rm -f %_datadir/%ooo_home/files-help-sl.txt.postun 2>/dev/null # sv %posttrans -n libreoffice-help-sv %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-sv.txt || true %preun -n libreoffice-help-sv test "$1" = "0" && cp %_datadir/%ooo_home/files-help-sv.txt %_datadir/%ooo_home/files-help-sv.txt.postun || true %postun -n libreoffice-help-sv test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-sv.txt.postun || true rm -f %_datadir/%ooo_home/files-help-sv.txt.postun 2>/dev/null # zh-CN %posttrans -n libreoffice-help-zh-CN %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-zh_CN.txt || true %preun -n libreoffice-help-zh-CN test "$1" = "0" && cp %_datadir/%ooo_home/files-help-zh_CN.txt %_datadir/%ooo_home/files-help-zh_CN.txt.postun || true %postun -n libreoffice-help-zh-CN test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-zh_CN.txt.postun || true rm -f %_datadir/%ooo_home/files-help-zh_CN.txt.postun 2>/dev/null # zh-TW %posttrans -n libreoffice-help-zh-TW %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-zh_TW.txt || true %preun -n libreoffice-help-zh-TW test "$1" = "0" && cp %_datadir/%ooo_home/files-help-zh_TW.txt %_datadir/%ooo_home/files-help-zh_TW.txt.postun || true %postun -n libreoffice-help-zh-TW test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-zh_TW.txt.postun || true rm -f %_datadir/%ooo_home/files-help-zh_TW.txt.postun 2>/dev/null %endif %if %test_build_langs >= 2 %files -f files-help-pt_BR.txt -n libreoffice-help-pt-BR %defattr(-,root,root) %files -f files-help-ru.txt -n libreoffice-help-ru %defattr(-,root,root) %files -f files-help-sl.txt -n libreoffice-help-sl %defattr(-,root,root) %files -f files-help-sv.txt -n libreoffice-help-sv %defattr(-,root,root) %files -f files-help-zh_CN.txt -n libreoffice-help-zh-CN %defattr(-,root,root) %files -f files-help-zh_TW.txt -n libreoffice-help-zh-TW %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