Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
libreoffice-impress
libreoffice-impress.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-impress.spec of Package libreoffice-impress
# # spec file for package libreoffice-impress # # 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-impress Version: 3.3.1.2 Release: 2.<RELEASE2> %define piece impress %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 %define ooo_basis_dir basis3.3 #!BuildIgnore: libreoffice #!BuildIgnore: libreoffice-filters-optional BuildRequires: ImageMagick Mesa-devel 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: pkgconfig(xt) pkgconfig(xtst) BuildRequires: libjpeg-devel libxslt-devel openssl-devel pkgconfig(gl) pkgconfig(glu) pkgconfig(xau) pkgconfig(xaw7) %endif BuildRequires: libreoffice-libs-core-devel = %version # artwork and l10n is needed to build the sdext (license files) BuildRequires: libreoffice-artwork-devel = %version # OOo-3.1 started to use fatures from the oox module in the MS PPT filters :-( BuildRequires: libreoffice-filters-devel = %version ############################ # KDE3 stuff %if 0%{?suse_version} BuildRequires: kdelibs3-devel %endif ############################ # poppler is needed to build the PDF import extension # the needed version 0.8.0 has been avaiable only since openSUSE-11.0 %if 0%{?suse_version} >= 01100 BuildRequires: libpoppler-devel %endif %if 0%{?meego_version} BuildRequires: poppler-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-impress = %version Obsoletes: OpenOffice_org-impress <= %version Summary: LibreOffice Impress 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 create and edit presentations for slideshows, meeting and Web pages by using LibreOffice office suite. %package -n libreoffice-draw License: LGPLv3 Summary: LibreOffice Draw Group: Productivity/Office/Suite Provides: OpenOffice_org:/usr/bin/oodraw Requires: libreoffice = %version %if 0%{?suse_version} Supplements: libreoffice %endif # compat stuff Provides: OpenOffice_org-draw = %version Obsoletes: OpenOffice_org-draw <= %version %description -n libreoffice-draw This module allows you to create and edit drawings, flow charts, and logos by using LibreOffice office suite. %package devel Requires: %name = %version Requires: libreoffice-draw = %version Requires: libreoffice-libs-core-devel = %version License: LGPLv3 Summary: LibreOffice Impress Development Group: Productivity/Office/Suite AutoReqProv: off # compat stuff Provides: OpenOffice_org-impress-devel = %version Obsoletes: OpenOffice_org-impress-devel <= %version %description devel This package allows development based on the LibreOffice impress API. %package l10n-prebuilt License: LGPLv3 Summary: Prebuilt LibreOffice Impress Localizations Group: Productivity/Office/Suite AutoReqProv: off # compat stuff Provides: OpenOffice_org-impress-l10n-prebuilt = %version Obsoletes: OpenOffice_org-impress-l10n-prebuilt <= %version %description l10n-prebuilt This package includes the prebuilt localization of LibreOffice Impress. 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 draw %suse_update_desktop_file impress %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 -f files-draw.txt -n libreoffice-draw %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