Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
libreoffice-l10n-extras
libreoffice-l10n-extras.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-l10n-extras.spec of Package libreoffice-l10n-extras
# # spec file for package libreoffice-l10n-extras # # 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-l10n-extras Version: 3.3.1.2 Release: 1.<RELEASE2> %define piece extras %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_prefix %_libdir %define ooo_home libreoffice %define ooo_basis_dir basis3.3 #!BuildIgnore: libreoffice # both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-21 BuildRequires: java-devel perl-Archive-Zip unzip zip BuildRequires: libreoffice-artwork-devel = %version BuildRequires: libreoffice-libs-core-devel = %version %if 0%{?suse_version} == 01010 # needed by perl-Archive-Zip; is included in main perl package on newer distros BuildRequires: perl-Compress-Zlib %endif License: Artistic ; BSD3c ; GPLv2+ ; LPPL .. ; LGPLv2.1+ ; LGPLv3 ; MPL .. ; MIT Group: Productivity/Office/Suite AutoReqProv: on PreReq: libreoffice-ure = %version Requires: libreoffice = %version # compat stuff Provides: OpenOffice_org-l10n-extras = %version Obsoletes: OpenOffice_org-l10n-extras <= %version Summary: LibreOffice Extras Url: http://www.documentfoundation.org/ Source0: libreoffice-%piece-%ooo_piece_version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build #!ExclusiveArch: %ix86 x86_64 ppc BuildArch: noarch %description This package provides the ususal LibreOffice extra stuff, for example autocorrection definitions, a letter wizard, a basic gallery. %package devel PreReq: libreoffice-ure = %version Requires: %name = %version Requires: libreoffice-libs-core-devel = %version # compat stuff Provides: OpenOffice_org-l10n-extras-devel = %version Obsoletes: OpenOffice_org-l10n-extras-devel <= %version License: Artistic ; BSD3c ; GPLv2+ ; LPPL .. ; LGPLv2.1+ ; LGPLv3 ; MPL .. ; MIT Summary: LibreOffice Extras Group: Productivity/Office/Suite AutoReqProv: off %description devel This package provides localizations of the basic stuff used by the LibreOffice development. %package prebuilt PreReq: libreoffice-ure = %version License: Artistic ; BSD3c ; GPLv2+ ; LPPL .. ; LGPLv2.1+ ; LGPLv3 ; MPL .. ; MIT Summary: Prebuilt LibreOffice Extras Localizations Group: Productivity/Office/Suite AutoReqProv: off # compat stuff Provides: OpenOffice_org-l10n-extras-prebuilt = %version Obsoletes: OpenOffice_org-l10n-extras-prebuilt <= %version %description prebuilt This package includes the prebuilt localization of LibreOffice Extras. It is not intended for a real use. It needs to be repacked to the real architecture independent package. This is only a temporary solution until we have an easier way to build the LibreOffice localizations separately. %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 export PIECE_BUILD_NCPUS_AUTO=1 export PIECE_USE_JOBS="%{?jobs:%jobs}" # FIXME: hack to avoid dependecy problem $OO_TOOLSDIR/piece/build-generic %piece %ooo_sourcedirname || $OO_TOOLSDIR/piece/build-generic %piece %ooo_sourcedirname || $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 $OO_TOOLSDIR/piece/install-generic %piece %ooo_sourcedirname # # FIXME: fast hack to solve a customer issue, n#364523 # we need a more generic solution ln -sf acor_fr-FR.dat $RPM_BUILD_ROOT%_datadir/%ooo_home/%ooo_basis_dir/share/autocorr/acor_fr-CA.dat echo "%_datadir/%ooo_home/%ooo_basis_dir/share/autocorr/acor_fr-CA.dat" \ >>$RPM_BUILD_ROOT%_datadir/%ooo_home/files-extras.txt %clean rm -rf $RPM_BUILD_ROOT # main %posttrans %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-%piece.txt || true %preun test "$1" = "0" && cp %_datadir/%ooo_home/files-%piece.txt %_datadir/%ooo_home/files-%piece.txt.postun || true %postun test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-%piece.txt.postun || true rm -f %_datadir/%ooo_home/files-%piece.txt.postun 2>/dev/null # prebuilt %posttrans prebuilt %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-%piece-prebuilt.txt || true %preun prebuilt test "$1" = "0" && cp %_datadir/%ooo_home/files-%piece-prebuilt.txt %_datadir/%ooo_home/files-%piece-prebuilt.txt.postun || true %postun prebuilt test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-%piece-prebuilt.txt.postun || true rm -f %_datadir/%ooo_home/files-%piece-prebuilt.txt.postun 2>/dev/null # devel %posttrans devel %_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-%piece-devel.txt || true %preun devel test "$1" = "0" && cp %_datadir/%ooo_home/files-%piece-devel.txt %_datadir/%ooo_home/files-%piece-devel.txt.postun || true %postun devel test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-%piece-devel.txt.postun || true rm -f %_datadir/%ooo_home/files-%piece-devel.txt.postun 2>/dev/null %files -f files-%piece.txt %defattr(-,root,root) # FIXME: fast hack to solve a customer issue, n#364523 %_datadir/%ooo_home/%ooo_basis_dir/share/autocorr/acor_fr-CA.dat %files -f files-%piece-prebuilt.txt prebuilt %defattr(-,root,root) %dir %_datadir/%ooo_home %dir %_datadir/%ooo_home/solver %files -f files-%piece-devel.txt devel %defattr(-,root,root) %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