Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
OpenOffice_org-filters
OpenOffice_org-filters.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File OpenOffice_org-filters.spec of Package OpenOffice_org-filters
# # spec file for package OpenOffice_org-filters (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-filters Version: 3.1.1.4 Release: 1.<RELEASE1> %define ooo_build_version 3.1.1.4 %define piece filters #!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 recode unixODBC-devel unzip xml-commons-apis xorg-x11 zip BuildRequires: OpenOffice_org-artwork-devel = %version BuildRequires: OpenOffice_org-libs-core-devel = %version %if %suse_version > 1100 # libexpat-devel is explicitely needed since openSUSE-11.1 BuildRequires: libexpat-devel %endif # 10.3 features %if %suse_version > 1020 BuildRequires: libicu-devel %endif # 11.0 features %if %suse_version > 1030 BuildRequires: hunspell-devel libwpd-devel libwpg-devel libwps-devel %endif %define ooo_prefix %_libdir %define ooo_home ooo3 %define ooo_build_tag ooo310-m19 License: LGPL v3 only Group: Productivity/Office/Suite AutoReqProv: on Requires: OpenOffice_org-libs-core = %version Summary: Import and Export Filters for OpenOffice.org Url: http://www.openoffice.org/ Source0: %ooo_build_tag-%piece.tar.bz2 Source1: ooo-sdf-%piece.tar.bz2 # FIXME: hack the provides and requires (bnc#411538) # make sure external scripts are used %define _use_internal_dependency_generator 0 %define __find_provides /bin/sh %_sourcedir/ooo-filters-prov %name %define __find_requires /bin/sh %_sourcedir/ooo-filters-req %name Source100: ooo-filters-prov Source101: ooo-filters-req # FIXME: hotfixes Patch990: docx-import-fixes-pieces.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 ppc %description This package includes some separated OpenOffice.org import and export filters, for example: - OOXML - PDF - T602 - MS Works %package optional License: LGPL v3 only Summary: Additional Import and Export Filters for OpenOffice.org Group: Productivity/Office/Suite Provides: OpenOffice_org:%ooo_prefix/%ooo_home/share/xslt/docbook/DocBookTemplate.stw Requires: OpenOffice_org-calc = %version Requires: OpenOffice_org-draw = %version Requires: OpenOffice_org-math = %version Requires: OpenOffice_org-writer = %version Requires: OpenOffice_org-impress = %version Supplements: OpenOffice_org %description optional This package includes some additional import and export filters for OpenOffice.org: - AportisDoc (Palm) - Pocket Excel - Pocket Word - DocBook - XHTML %package l10n-prebuilt License: LGPL v3 only Summary: Prebuilt OpenOffice.org Filters Localizations Group: Productivity/Office/Suite AutoReqProv: off %description l10n-prebuilt This package includes the prebuilt localization of OpenOffice.org import and export filters. 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 OpenOffice.org localizations separately. %package devel Requires: %name = %version Requires: %name-optional = %version Requires: OpenOffice_org-ure-devel = %version Requires: OpenOffice_org-libs-extern-devel = %version License: LGPL v3 only Summary: OpenOffice.org Filters Development Group: Productivity/Office/Suite AutoReqProv: off %description devel This package allows development based on the OpenOffice.org import and export filters API. %prep %setup -q -a1 -n %ooo_build_tag-%piece # hotfixes mkdir -p ooo-build/hotfixes cp %{P:990} ooo-build/hotfixes %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}" $OO_TOOLSDIR/piece/build-generic %piece %ooo_build_tag %install # setup env. export OO_INSTDIR=%{_libdir}/%ooo_home export OO_TOOLSDIR=$OO_INSTDIR/ooo-build/bin export DESTDIR=$RPM_BUILD_ROOT $OO_TOOLSDIR/piece/install-generic %piece %ooo_build_tag # hack to install 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 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel /sbin/ldconfig %postun devel /sbin/ldconfig # optional %pre optional if test $1 -gt 1 ; then echo "Unregistering the older OpenOffice.org optional filter extensions..." # Writer2latex extensions has been completely removed in 3.0.99.6 (bnc#529914) if unopkg list --shared | grep -q "org.openoffice.da.writer2latex.oxt" ; then unopkg remove --shared org.openoffice.da.writer2latex.oxt || true; # clear disk cache unopkg list --shared > /dev/null 2>&1 || true fi fi %files -f files-%piece.txt %defattr(-,root,root) %files -f files-%piece-optional.txt optional %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