Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
libreoffice-calc
libreoffice-calc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-calc.spec of Package libreoffice-calc
# # spec file for package libreoffice-calc # # 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-calc Version: 3.3.1.2 Release: 1.<RELEASE2> %define piece calc %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 #!BuildIgnore: libreoffice-filters-optional BuildRequires: libreoffice-artwork-devel = %version BuildRequires: libreoffice-libs-core-devel = %version # OOo-3.1 started to use fatures from the oox module in the Excel filters :-( BuildRequires: libreoffice-filters-devel = %version 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 ############################ # KDE3 stuff %if 0%{?suse_version} && 0%{?suse_version} <= 1110 BuildRequires: kdelibs3-devel %endif ############################ # cppunit stuff %if 0%{?suse_version} >= 01100 BuildRequires: libcppunit-devel %endif License: LGPLv3 Group: Productivity/Office/Suite AutoReqProv: on Requires: libreoffice = %version %if 0%{?suse_version} Supplements: libreoffice %endif # compat stuff Provides: OpenOffice_org-calc = %version Obsoletes: OpenOffice_org-calc <= %version Summary: LibreOffice Calc 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 perform calculation, analyze information and manage lists in spreadsheets by using LibreOffice office suite. %package devel Requires: %name = %version Requires: libreoffice-ure-devel = %version Requires: libreoffice-libs-extern-devel = %version # compat stuff Provides: OpenOffice_org-calc-devel = %version Obsoletes: OpenOffice_org-calc-devel <= %version License: LGPLv3 Summary: LibreOffice Calc Development Group: Productivity/Office/Suite AutoReqProv: off %description devel This package allows developement based on the LibreOffice Calc module API. %package l10n-prebuilt License: LGPLv3 Summary: Prebuilt LibreOffice Calc Localizations Group: Productivity/Office/Suite AutoReqProv: off # compat stuff Provides: OpenOffice_org-calc-l10n-prebuilt = %version Obsoletes: OpenOffice_org-calc-l10n-prebuilt <= %version %description l10n-prebuilt This package includes the prebuilt localization of LibreOffice Calc. 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: temporary hack to avoid a 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 # %if 0%{?suse_version} %suse_update_desktop_file calc %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