some tweaks for rhel-6

f41
Caolán McNamara 12 years ago
parent 0c4334c0d4
commit f3c3b6d431

@ -177,7 +177,11 @@ BuildRequires: poppler-devel
%if 0%{?fedora} || 0%{?rhel} >= 7 %if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: postgresql-devel BuildRequires: postgresql-devel
%endif %endif
%if 0%{?rhel} && 0%{?rhel} < 7
BuildRequires: python-devel
%else
BuildRequires: python3-devel >= 3.3.0 BuildRequires: python3-devel >= 3.3.0
%endif
BuildRequires: redland-devel BuildRequires: redland-devel
BuildRequires: sane-backends-devel BuildRequires: sane-backends-devel
BuildRequires: unixODBC-devel BuildRequires: unixODBC-devel
@ -262,6 +266,10 @@ Requires(post): gtk2 >= 2.9.4
Requires(preun): gtk2 >= 2.9.4 Requires(preun): gtk2 >= 2.9.4
Requires(postun): gtk2 >= 2.9.4 Requires(postun): gtk2 >= 2.9.4
Obsoletes: libreoffice-testtools < 1:3.4.99.1 Obsoletes: libreoffice-testtools < 1:3.4.99.1
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-core = 1:3.3.0
Provides: openoffice.org-brand = 1:3.3.0, broffice.org-brand = 1:3.3.0
%endif
%description core %description core
The shared core libraries and support files for LibreOffice. The shared core libraries and support files for LibreOffice.
@ -271,7 +279,12 @@ Summary: Python support for LibreOffice
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Requires: python
Provides: openoffice.org-pyuno = 1:3.3.0
%else
Requires: python3 Requires: python3
%endif
%description pyuno %description pyuno
Python bindings for the LibreOffice UNO component model. Allows scripts both Python bindings for the LibreOffice UNO component model. Allows scripts both
@ -288,6 +301,10 @@ Requires: hsqldb
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-calc = %{epoch}:%{version}-%{release} Requires: %{name}-calc = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-base-core = 1:3.3.0
Provides: openoffice.org-base = 1:3.3.0, broffice.org-base = 1:3.3.0
%endif
%description base %description base
GUI database front-end for LibreOffice. Allows creation and management of GUI database front-end for LibreOffice. Allows creation and management of
@ -300,6 +317,9 @@ Requires: pentaho-reporting-flow-engine
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-base = %{epoch}:%{version}-%{release} Requires: %{name}-base = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-report-builder = 1:3.3.0
%endif
%description report-builder %description report-builder
Creates database reports from LibreOffice databases. The report builder can Creates database reports from LibreOffice databases. The report builder can
@ -311,6 +331,9 @@ Summary: BeanShell support for LibreOffice
Group: Development/Libraries Group: Development/Libraries
Requires: bsh Requires: bsh
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-bsh = 1:3.3.0
%endif
%description bsh %description bsh
Support BeanShell scripts in LibreOffice. Support BeanShell scripts in LibreOffice.
@ -319,6 +342,9 @@ Support BeanShell scripts in LibreOffice.
Summary: JavaScript support for LibreOffice Summary: JavaScript support for LibreOffice
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-rhino = 1:3.3.0
%endif
%description rhino %description rhino
Support JavaScript scripts in LibreOffice. Support JavaScript scripts in LibreOffice.
@ -336,6 +362,9 @@ Requires: apache-commons-lang, apache-commons-logging
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-writer = %{epoch}:%{version}-%{release} Requires: %{name}-writer = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-wiki-publisher = 1:3.3.0
%endif
%description wiki-publisher %description wiki-publisher
The Wiki Publisher enables you to create Wiki articles on MediaWiki servers The Wiki Publisher enables you to create Wiki articles on MediaWiki servers
@ -359,6 +388,9 @@ Group: Applications/Productivity
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-impress = %{epoch}:%{version}-%{release} Requires: %{name}-impress = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-ogltrans = 1:3.3.0
%endif
%description ogltrans %description ogltrans
OpenGL Transitions enable 3D slide transitions to be used in LibreOffice. OpenGL Transitions enable 3D slide transitions to be used in LibreOffice.
@ -370,6 +402,9 @@ Group: Applications/Productivity
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-impress = %{epoch}:%{version}-%{release} Requires: %{name}-impress = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-presentation-minimizer = 1:3.3.0
%endif
%description presentation-minimizer %description presentation-minimizer
The Presentation Minimizer is used to reduce the file size of the current The Presentation Minimizer is used to reduce the file size of the current
@ -382,6 +417,9 @@ Group: Applications/Productivity
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-impress = %{epoch}:%{version}-%{release} Requires: %{name}-impress = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-presenter-screen = 1:3.3.0
%endif
%description presenter-screen %description presenter-screen
The Presenter Screen is used to provides information on a second screen, that The Presenter Screen is used to provides information on a second screen, that
@ -394,6 +432,9 @@ Group: Applications/Productivity
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-draw = %{epoch}:%{version}-%{release} Requires: %{name}-draw = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-pdfimport = 1:3.3.0
%endif
%description pdfimport %description pdfimport
The PDF Importer imports PDF into drawing documents to preserve layout The PDF Importer imports PDF into drawing documents to preserve layout
@ -404,6 +445,10 @@ Summary: LibreOffice dingbats font
Group: User Interface/X Group: User Interface/X
Requires: fontpackages-filesystem Requires: fontpackages-filesystem
BuildArch: noarch BuildArch: noarch
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-fonts = 1:3.3.0
Provides: openoffice.org-opensymbol-fonts = 1:3.3.0
%endif
%description %{fontname}-fonts %description %{fontname}-fonts
A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and
@ -414,6 +459,10 @@ Summary: LibreOffice Word Processor Application
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-writer-core = 1:3.3.0
Provides: openoffice.org-writer = 1:3.3.0, broffice.org-writer = 1:3.3.0
%endif
%description writer %description writer
The LibreOffice Word Processor application. The LibreOffice Word Processor application.
@ -423,6 +472,9 @@ Summary: Email mail-merge component for LibreOffice
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-writer = %{epoch}:%{version}-%{release} Requires: %{name}-writer = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release} Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-emailmerge = 1:3.3.0
%endif
%description emailmerge %description emailmerge
Enables the LibreOffice writer module to mail-merge to email. Enables the LibreOffice writer module to mail-merge to email.
@ -432,6 +484,10 @@ Summary: LibreOffice Spreadsheet Application
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-calc-core = 1:3.3.0
Provides: openoffice.org-calc = 1:3.3.0, broffice.org-calc = 1:3.3.0
%endif
%description calc %description calc
The LibreOffice Spreadsheet application. The LibreOffice Spreadsheet application.
@ -443,6 +499,10 @@ Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-pdfimport = %{epoch}:%{version}-%{release} Requires: %{name}-pdfimport = %{epoch}:%{version}-%{release}
Requires: %{name}-graphicfilter = %{epoch}:%{version}-%{release} Requires: %{name}-graphicfilter = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-draw-core = 1:3.3.0
Provides: openoffice.org-draw = 1:3.3.0, broffice.org-draw = 1:3.3.0
%endif
%description draw %description draw
The LibreOffice Drawing Application. The LibreOffice Drawing Application.
@ -453,6 +513,10 @@ Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-presenter-screen = %{epoch}:%{version}-%{release} Requires: %{name}-presenter-screen = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-impress-core = 1:3.3.0
Provides: openoffice.org-impress = 1:3.3.0, broffice.org-impress = 1:3.3.0
%endif
%description impress %description impress
The LibreOffice Presentation Application. The LibreOffice Presentation Application.
@ -462,6 +526,10 @@ Summary: LibreOffice Equation Editor Application
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-math-core = 1:3.3.0
Provides: openoffice.org-math = 1:3.3.0, broffice.org-math = 1:3.3.
%endif
%description math %description math
The LibreOffice Equation Editor Application. The LibreOffice Equation Editor Application.
@ -471,6 +539,9 @@ Summary: LibreOffice Extra Graphic filters
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-graphicfilter = 1:3.3.0
%endif
%description graphicfilter %description graphicfilter
The graphicfilter module for LibreOffice provides graphic filters, e.g. svg and The graphicfilter module for LibreOffice provides graphic filters, e.g. svg and
@ -480,6 +551,9 @@ flash filters.
Summary: Optional xsltfilter module for LibreOffice Summary: Optional xsltfilter module for LibreOffice
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-xsltfilter = 1:3.3.0
%endif
%description xsltfilter %description xsltfilter
The xsltfilter module for LibreOffice, provides additional docbook and The xsltfilter module for LibreOffice, provides additional docbook and
@ -489,6 +563,9 @@ xhtml export transforms. Install this to enable docbook export.
Summary: Optional javafilter module for LibreOffice Summary: Optional javafilter module for LibreOffice
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-javafilter = 1:3.3.0
%endif
%description javafilter %description javafilter
The javafilter module for LibreOffice, provides additional AportisDoc, The javafilter module for LibreOffice, provides additional AportisDoc,
@ -516,6 +593,9 @@ creation and management of PostgreSQL databases through a GUI.
Summary: UNO Runtime Environment Summary: UNO Runtime Environment
Group: Development/Libraries Group: Development/Libraries
Requires: unzip, jre >= 1.5.0 Requires: unzip, jre >= 1.5.0
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-ure = 1:3.3.0
%endif
%description ure %description ure
UNO is the component model of LibreOffice. UNO offers interoperability between UNO is the component model of LibreOffice. UNO offers interoperability between
@ -531,6 +611,9 @@ Group: Development/Libraries
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: unzip, java-devel Requires: unzip, java-devel
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-sdk = 1:3.3.0, openoffice.org-devel = 1:3.3.0
%endif
%description sdk %description sdk
The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides
@ -542,6 +625,9 @@ building against the sdk use %{sdkinstdir}/setsdkenv_unix.sh.
Summary: Software Development Kit documentation for LibreOffice Summary: Software Development Kit documentation for LibreOffice
Group: Documentation Group: Documentation
Requires: %{name}-sdk = %{epoch}:%{version}-%{release} Requires: %{name}-sdk = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-sdk-doc = 1:3.3.0
%endif
%description sdk-doc %description sdk-doc
This provides documentation for programming using the LibreOffice APIs This provides documentation for programming using the LibreOffice APIs
@ -552,6 +638,9 @@ Summary: LibreOffice Headless plug-in
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release} Requires: %{name}-core = %{epoch}:%{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} < 7
Provides: openoffice.org-headless = 1:3.3.0
%endif
%description headless %description headless
A plug-in for LibreOffice that enables it to function without an X server. A plug-in for LibreOffice that enables it to function without an X server.

Loading…
Cancel
Save