Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
libreoffice-base
libreoffice-base.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-base.spec of Package libreoffice-base
# # spec file for package libreoffice-base # # 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-base Version: 3.3.1.2 Release: 2.<RELEASE2> %define piece base %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 #!BuildIgnore: libreoffice BuildRequires: ImageMagick ant ant-apache-regexp bison boost-devel ccache cups-devel curl-devel flac-devel flex gcc-c++ gnome-vfs2-devel gperf gtk2-devel icu java-devel libexif libxml2-devel mono-devel neon-devel pam-devel perl-Archive-Zip perl-Compress-Zlib python-devel recode unixODBC-devel unzip xml-commons-apis zip %if 0%{?suse_version} BuildRequires: db-devel krb5 openldap2-devel update-desktop-files xorg-x11 %endif %if 0%{?meego_version} BuildRequires: db4-devel krb5-devel openldap-devel BuildRequires: xorg-x11-server-devel BuildRequires: xorg-x11-proto-xproto BuildRequires: xorg-x11-utils %endif BuildRequires: libreoffice-testing = %version BuildRequires: libreoffice-artwork-devel = %version BuildRequires: libreoffice-components-devel = %version BuildRequires: libreoffice-libs-core-devel = %version ############################ # KDE3 stuff %if 0%{?suse_version} BuildRequires: kdelibs3-devel %endif License: LGPLv3 Group: Productivity/Office/Suite AutoReqProv: on Requires: libreoffice = %version %if 0%{?suse_version} Supplements: libreoffice %endif # base is not usable without java %if 0%{?suse_version} # the gcj is required by the main package on 10.2 and lower %if 0%{?suse_version} > 01020 %ifarch %ix86 ppc # the 32-bit build requires 32-bit JRE, bnc#222708 Recommends: jre-32 >= 1.6 %if 0%{?suse_version} > 01110 # jre-32 is not provided by the preferred openjdk until openSUSE-11.2 Requires: jre-32 > 1.5 %endif %endif # --- %ifarch x86_64 Recommends: jre-64 >= 1.6 %if 0%{?suse_version} > 01110 # jre-64 is not provided by the preferred openjdk until openSUSE-11.2 Requires: jre-64 > 1.5 %endif %endif %endif %endif %if 0%{?meego_version} Requires: jre >= 1.5 %endif # compat stuff Provides: OpenOffice_org-base = %version Obsoletes: OpenOffice_org-base <= %version Summary: LibreOffice Base Url: http://www.documentfoundation.org/ Source0: libreoffice-%piece-%ooo_piece_version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 ppc %description This module allows you to manage databases, create queries and reports to track and manage your information by using LibreOffice office suite. %package devel Requires: %name = %version Requires: libreoffice-ure-devel Requires: libreoffice-libs-extern-devel # compat stuff Provides: OpenOffice_org-base-devel = %version Obsoletes: OpenOffice_org-base-devel <= %version License: LGPLv3 Summary: LibreOffice Base Development Group: Productivity/Office/Suite AutoReqProv: off %description devel This package allows developement based on the LibreOffice database module API. %package l10n-prebuilt License: LGPLv3 Summary: Prebuilt LibreOffice Base Lolizations Group: Productivity/Office/Suite AutoReqProv: off # compat stuff Provides: OpenOffice_org-base-l10n-prebuilt = %version Obsoletes: OpenOffice_org-base-l10n-prebuilt <= %version %description l10n-prebuilt This package includes the prebuilt localization of LibreOffice Base. 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}" # call more times to pass a random build error $OO_TOOLSDIR/piece/build-generic %piece %ooo_sourcedirname || $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 %if 0%{?suse_version} %suse_update_desktop_file base %endif %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel /sbin/ldconfig %postun devel /sbin/ldconfig %files -f files-%piece.txt %defattr(-,root,root) %files devel %defattr(-,root,root) %dir %ooo_prefix/%ooo_home/solver %ooo_prefix/%ooo_home/solver/* %exclude %ooo_prefix/%ooo_home/solver/noarch %files l10n-prebuilt %defattr(-,root,root) %ooo_prefix/%ooo_home/solver/noarch %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