Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
OpenOffice_org-writer
OpenOffice_org-writer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File OpenOffice_org-writer.spec of Package OpenOffice_org-writer
# # spec file for package OpenOffice_org-writer (Version 3.0.0.9) # # Copyright (c) 2010 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-writer Version: 3.0.0.9 Release: 2.<RELEASE9> %define ooo_build_version 3.0.0.9 %define piece writer #!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 update-desktop-files xml-commons-apis xorg-x11 zip BuildRequires: OpenOffice_org-artwork-devel = %version BuildRequires: OpenOffice_org-libs-core-devel = %version # 10.3 features %if %suse_version > 1020 BuildRequires: libicu-devel %endif %define ooo_prefix %_libdir %define ooo_home ooo3 %define ooo_build_tag ooo300-m9 License: LGPL v3 only Group: Productivity/Office/Suite AutoReqProv: on Requires: OpenOffice_org = %version Supplements: OpenOffice_org Summary: OpenOffice.org Writer and Web Url: http://www.openoffice.org/ Source0: %ooo_build_tag-%piece.tar.bz2 Source1: ooo-sdf-%piece.tar.bz2 # hot and security fixes # MS Word Document sprmTDelete Integer Underflow, CVE-2009-0200, bnc#514085 # MS Word Document sprmTInsert Buffer Overflow, CVE-2009-0201, bnc#514089 Patch900: sw.safe_tdelete_tinsert.diff # two MS Word Import vulnerabilities, CVE-2009-3301, CVE-2009-3302, bnc#564503 Patch901: cws-hb32showstoppers3ooo300.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This module allows you to create and edit text and graphics in letters, reports, documents and Web pages by using OpenOffice.org office suite. %package -n OpenOffice_org-math License: LGPL v3 only Summary: OpenOffice.org Math Group: Productivity/Office/Suite Provides: OpenOffice_org:/usr/bin/oomath Requires: OpenOffice_org = %version Supplements: OpenOffice_org %if %suse_version > 1000 Supplements: OpenOffice_org %endif %description -n OpenOffice_org-math This module allows you to create and edit scientific formulas and equations by using OpenOffice.org office suite. %package devel Requires: %name = %version Requires: OpenOffice_org-math = %version Requires: OpenOffice_org-libs-core-devel = %version License: LGPL v3 only Summary: OpenOffice.org Writer Development Group: Productivity/Office/Suite AutoReqProv: off %description devel This package allows developement based on the OpenOffice.org Writer module API. %package l10n-prebuilt License: LGPL v3 only Summary: Prebuilt OpenOffice.org Writer and Web Localizations Group: Productivity/Office/Suite AutoReqProv: off %description l10n-prebuilt This package includes the prebuilt localization of OpenOffice.org Writer. 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. %prep %setup -q -a1 -n %ooo_build_tag-%piece mkdir -p ooo-build/hotfixes cp -a %{P:900} ooo-build/hotfixes cp -a %{P:901} 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 || $OO_TOOLSDIR/piece/build-generic %piece %ooo_build_tag || $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 # # FIXME: we would like to update translations but the macro disables many # good translations now, 2006-01-12 %suse_update_desktop_file web %suse_update_desktop_file writer %suse_update_desktop_file math %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) #%dir %ooo_prefix/%ooo_home/basis3.0 #%ooo_prefix/%ooo_home/basis3.0/* %files -f files-math.txt -n OpenOffice_org-math %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