Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
OpenOffice_org-extensions
OpenOffice_org-extensions.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File OpenOffice_org-extensions.spec of Package OpenOffice_org-extensions
# # spec file for package OpenOffice_org-extensions (Version 3.1.1.4) # # Copyright (c) 2009 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: OpenOffice_org-extensions Version: 3.1.1.4 Release: 1.<RELEASE1> %define ooo_build_version 3.1.1.4 %define piece extensions #!BuildIgnore: OpenOffice_org BuildRequires: ImageMagick ant ant-apache-regexp bison boost-devel ccache cups-devel curl-devel db-devel flac-devel flex gnome-vfs2-devel gperf gtk2-devel icu java-devel kdelibs3-devel krb5 libexif mono-devel neon-devel openldap2-devel pam-devel perl-Archive-Zip perl-Compress-Zlib python-devel python-xml recode unixODBC-devel unzip xml-commons-apis xorg-x11 zip BuildRequires: OpenOffice_org-libs-core-devel = %version BuildRequires: OpenOffice_org-l10n-extras-devel = %version BuildRequires: OpenOffice_org-components-devel = %version BuildRequires: OpenOffice_org-artwork-devel = %version # poppler is needed to build the PDF import extension # the needed version 0.8.0 has been avaiable only since openSUSE-11.0 %if %suse_version >= 1100 BuildRequires: libpoppler-devel %endif %define ooo_prefix %_libdir %define ooo_home ooo3 %define ooo_build_tag ooo310-m19 License: LGPL v2.1 or later ; LGPL v3 only ; Other uncritical OpenSource License ; Apache Software License .. Group: Productivity/Office/Suite AutoReqProv: on Requires: OpenOffice_org-libs-core = %version Summary: OpenOffice.org Extensions Url: http://extensions.services.openoffice.org Source0: %ooo_build_tag-%piece.tar.bz2 Source1: ooo-sdf-%piece.tar.bz2 Source2: README-scsolver.txt BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 ppc %description This package provides various extensions for OpenOffice.org office suite. %package -n OpenOffice_org-base-extensions License: LGPL v2.1 or later ; LGPL v3 only ; Other uncritical OpenSource License Summary: OpenOffice.org Base Extensions Group: Productivity/Office/Suite Requires: OpenOffice_org-base = %version %description -n OpenOffice_org-base-extensions This package provides extensions for OpenOffice.org Base: - Sun Report Builder %package -n OpenOffice_org-calc-extensions License: LGPL v2.1 or later Summary: OpenOffice.org Calc Extensions Group: Productivity/Office/Suite Requires: OpenOffice_org-calc = %version %if %suse_version > 1100 # the system lpsolve has been available since openSUSE-11.1 Requires: liblpsolve55 %endif %description -n OpenOffice_org-calc-extensions This package provides extensions for OpenOffice.org Calc: - Optimization Solver %package -n OpenOffice_org-draw-extensions License: LGPL v3 only Summary: OpenOffice.org Draw Extensions Group: Productivity/Office/Suite Requires: OpenOffice_org-draw = %version %description -n OpenOffice_org-draw-extensions This package provides extensions for OpenOffice.org Draw: - PDF Import %package -n OpenOffice_org-impress-extensions License: LGPL v3 only Summary: OpenOffice.org Impress Extensions Group: Productivity/Office/Suite Requires: OpenOffice_org-impress = %version %description -n OpenOffice_org-impress-extensions This package provides extensions for OpenOffice.org Impress: - Presentation Minimizer - Presenter Console %package -n OpenOffice_org-writer-extensions License: LGPL v3 only ; Apache Software License .. Summary: OpenOffice.org Writer Extensions Group: Productivity/Office/Suite Requires: OpenOffice_org-writer = %version # the wiki extension is written in java # the gcj is required by the main package on 10.2 and lower %if %suse_version > 1020 %ifarch %ix86 ppc # the 32-bit build requires 32-bit JRE, bnc#222708 Requires: jre-32 > 1.5 Recommends: jre-32 >= 1.6 %endif # --- %ifarch x86_64 Requires: jre-64 > 1.5 Recommends: jre-64 >= 1.6 %endif %endif %description -n OpenOffice_org-writer-extensions This package provides extensions for OpenOffice.org Writer: - MediaWiki Publisher %pre -n OpenOffice_org-base-extensions if test $1 -gt 1 ; then echo "Unregistering the older OpenOffice.org Base extensions..." unopkg remove --shared com.sun.reportdesigner || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi %post -n OpenOffice_org-base-extensions echo "Registering OpenOffice.org Base extensions..." unopkg add --shared --force %ooo_prefix/%ooo_home/share/extension/install/sun-report-builder.oxt || true; %preun -n OpenOffice_org-base-extensions if test $1 = 0 ; then echo "Unregistering OpenOffice.org Base extensions..." unopkg remove --shared com.sun.reportdesigner || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi # calc %pre -n OpenOffice_org-calc-extensions if test $1 -gt 1 ; then echo "Unregistering the older OpenOffice.org Calc extensions..." # Calc solver has been completely removed in 3.0.99.6 (bnc#523588) if unopkg list --shared | grep -q "org.go-oo.CalcSolver" ; then unopkg remove --shared org.go-oo.CalcSolver || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi fi # draw %pre -n OpenOffice_org-draw-extensions if test $1 -gt 1 ; then echo "Unregistering the older OpenOffice.org Draw extensions..." unopkg remove --shared com.sun.star.PDFImport || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi %post -n OpenOffice_org-draw-extensions echo "Registering OpenOffice.org Draw extensions..." unopkg add --shared --force %ooo_prefix/%ooo_home/share/extension/install/pdfimport.oxt || true; %preun -n OpenOffice_org-draw-extensions if test $1 = 0 ; then echo "Unregistering OpenOffice.org Draw extensions..." unopkg remove --shared com.sun.star.PDFImport || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi # impress %pre -n OpenOffice_org-impress-extensions if test $1 -gt 1 ; then echo "Unregistering the older OpenOffice.org Impress extensions..." unopkg remove --shared com.sun.star.PresentationMinimizer || true; unopkg remove --shared com.sun.PresenterScreen || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi %post -n OpenOffice_org-impress-extensions echo "Registering OpenOffice.org Impress extensions..." unopkg add --shared --force %ooo_prefix/%ooo_home/share/extension/install/sun-presentation-minimizer.oxt || true; unopkg add --shared --force %ooo_prefix/%ooo_home/share/extension/install/presenter-screen.oxt || true; %preun -n OpenOffice_org-impress-extensions if test $1 = 0 ; then echo "Unregistering OpenOffice.org Impress extensions..." unopkg remove --shared com.sun.star.PresentationMinimizer || true; unopkg remove --shared com.sun.PresenterScreen || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi # writer %pre -n OpenOffice_org-writer-extensions if test $1 -gt 1 ; then echo "Unregistering the older OpenOffice.org Writer extensions..." unopkg remove --shared com.sun.wiki-publisher || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi %post -n OpenOffice_org-writer-extensions echo "Registering OpenOffice.org Writer extensions..." unopkg add --shared --force %ooo_prefix/%ooo_home/share/extension/install/wiki-publisher.oxt || true; %preun -n OpenOffice_org-writer-extensions if test $1 = 0 ; then echo "Unregistering OpenOffice.org Writer extensions..." unopkg remove --shared com.sun.wiki-publisher || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi %prep %setup -q -a1 -n %ooo_build_tag-%piece cp %{S:2} . %build # setup env. export OO_INSTDIR=%{_libdir}/%ooo_home export OO_TOOLSDIR=$OO_INSTDIR/ooo-build/bin export VERBOSE=1 export EXTRA_BUILD_FLAGS=%{?jobs:-P%jobs} export EXTRA_DMAKE_FLAGS="%{?jobs:-- -P%jobs}" # FIXME: hack to avoid dependecy problem $OO_TOOLSDIR/piece/build-generic %piece %ooo_build_tag || $OO_TOOLSDIR/piece/build-generic %piece %ooo_build_tag || $OO_TOOLSDIR/piece/build-generic %piece %ooo_build_tag || $OO_TOOLSDIR/piece/build-generic %piece %ooo_build_tag %install # hack to install the extensions mkdir -p $RPM_BUILD_ROOT%ooo_prefix/%ooo_home/share/extension/install find . -name "*.oxt" -exec cp {} $RPM_BUILD_ROOT%ooo_prefix/%ooo_home/share/extension/install \; %clean rm -rf $RPM_BUILD_ROOT %files -n OpenOffice_org-base-extensions %defattr(-,root,root) %ooo_prefix/%ooo_home/share/extension/install/sun-report-builder.oxt %files -n OpenOffice_org-calc-extensions %defattr(-,root,root) %doc README-scsolver.txt %files -n OpenOffice_org-draw-extensions %defattr(-,root,root) %ooo_prefix/%ooo_home/share/extension/install/pdfimport.oxt %files -n OpenOffice_org-impress-extensions %defattr(-,root,root) %ooo_prefix/%ooo_home/share/extension/install/sun-presentation-minimizer.oxt %ooo_prefix/%ooo_home/share/extension/install/presenter-screen.oxt %files -n OpenOffice_org-writer-extensions %defattr(-,root,root) %ooo_prefix/%ooo_home/share/extension/install/wiki-publisher.oxt %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