Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
libreoffice-help-group2
libreoffice-help-group1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-help-group1.spec of Package libreoffice-help-group2
# # spec file for package libreoffice-help-group1 # # 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-group1 ################################################################### ## 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 "cs de" %else %define ooo_langs "ar cs da de en-GB" %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-group1 = %version Obsoletes: OpenOffice_org-help-group1 <= %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-ar License: LGPLv3 Summary: Arabic Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:ar) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-ar %endif # compat stuff Provides: OpenOffice_org-help-ar = %version Obsoletes: OpenOffice_org-help-ar <= %version Provides: OpenOffice_org-ar:%_prefix/ooo-2.0/help/ar/default.css %description -n libreoffice-help-ar Arabic help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-ar. %endif %if %test_build_langs >= 1 %package -n libreoffice-help-cs License: LGPLv3 Summary: Czech Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:cs) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-cs %endif # compat stuff Provides: OpenOffice_org-help-cs = %version Obsoletes: OpenOffice_org-help-cs <= %version Provides: OpenOffice_org-cs:%_prefix/ooo-2.0/help/cs/default.css %description -n libreoffice-help-cs Czech help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-cs. %endif %if %test_build_langs >= 2 %package -n libreoffice-help-da License: LGPLv3 Summary: Danish Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:da) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-da %endif # compat stuff Provides: OpenOffice_org-help-da = %version Obsoletes: OpenOffice_org-help-da <= %version Provides: OpenOffice_org-da:%_prefix/ooo-2.0/help/da/default.css %description -n libreoffice-help-da Danish help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-da. %endif %if %test_build_langs >= 1 %package -n libreoffice-help-de License: LGPLv3 Summary: German Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:de) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-de %endif # compat stuff Provides: OpenOffice_org-help-de = %version Obsoletes: OpenOffice_org-help-de <= %version Provides: OpenOffice_org-de:%_prefix/ooo-2.0/help/de/default.css %description -n libreoffice-help-de German help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-de. %endif %if %test_build_langs >= 2 %package -n libreoffice-help-en-GB License: LGPLv3 Summary: British Help Localization for LibreOffice Group: Productivity/Office/Suite Provides: locale(libreoffice:en_GB) PreReq: libreoffice-ure = %version %if 0%{?suse_version} Supplements: libreoffice-l10n-en-GB %endif # compat stuff Provides: OpenOffice_org-help-en-GB = %version Obsoletes: OpenOffice_org-help-en-GB <= %version Provides: OpenOffice_org-en-GB:%_prefix/ooo-2.0/help/en-GB/default.css %description -n libreoffice-help-en-GB British help localization for LibreOffice. The other localized stuff is in LibreOffice-l10n-en-GB. %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 # ar %posttrans -n libreoffice-help-ar %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-ar.txt || true %preun -n libreoffice-help-ar test "$1" = "0" && cp %_datadir/%ooo_home/files-help-ar.txt %_datadir/%ooo_home/files-help-ar.txt.postun || true %postun -n libreoffice-help-ar test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-ar.txt.postun || true rm -f %_datadir/%ooo_home/files-help-ar.txt.postun 2>/dev/null %endif %if %test_build_langs >= 1 # cs %posttrans -n libreoffice-help-cs %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-cs.txt || true %preun -n libreoffice-help-cs test "$1" = "0" && cp %_datadir/%ooo_home/files-help-cs.txt %_datadir/%ooo_home/files-help-cs.txt.postun || true %postun -n libreoffice-help-cs test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-cs.txt.postun || true rm -f %_datadir/%ooo_home/files-help-cs.txt.postun 2>/dev/null %endif %if %test_build_langs >= 2 # da %posttrans -n libreoffice-help-da %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-da.txt || true %preun -n libreoffice-help-da test "$1" = "0" && cp %_datadir/%ooo_home/files-help-da.txt %_datadir/%ooo_home/files-help-da.txt.postun || true %postun -n libreoffice-help-da test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-da.txt.postun || true rm -f %_datadir/%ooo_home/files-help-da.txt.postun 2>/dev/null %endif %if %test_build_langs >= 1 # de %posttrans -n libreoffice-help-de %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-de.txt || true %preun -n libreoffice-help-de test "$1" = "0" && cp %_datadir/%ooo_home/files-help-de.txt %_datadir/%ooo_home/files-help-de.txt.postun || true %postun -n libreoffice-help-de test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-de.txt.postun || true rm -f %_datadir/%ooo_home/files-help-de.txt.postun 2>/dev/null %endif %if %test_build_langs >= 2 # en-GB %posttrans -n libreoffice-help-en-GB %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-en_GB.txt || true %preun -n libreoffice-help-en-GB test "$1" = "0" && cp %_datadir/%ooo_home/files-help-en_GB.txt %_datadir/%ooo_home/files-help-en_GB.txt.postun || true %postun -n libreoffice-help-en-GB test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-en_GB.txt.postun || true rm -f %_datadir/%ooo_home/files-help-en_GB.txt.postun 2>/dev/null %endif %if %test_build_langs >= 2 %files -f files-help-ar.txt -n libreoffice-help-ar %defattr(-,root,root) %endif %if %test_build_langs >= 1 %files -f files-help-cs.txt -n libreoffice-help-cs %defattr(-,root,root) %endif %if %test_build_langs >= 2 %files -f files-help-da.txt -n libreoffice-help-da %defattr(-,root,root) %endif %if %test_build_langs >= 1 %files -f files-help-de.txt -n libreoffice-help-de %defattr(-,root,root) %endif %if %test_build_langs >= 2 %files -f files-help-en_GB.txt -n libreoffice-help-en-GB %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