change %{undefined rhel} too
Conflicts: libreoffice.spec
This commit is contained in:
parent
c2ed6a98b8
commit
a238903fc5
@ -104,7 +104,7 @@ BuildRequires: zip
|
||||
# libs / headers
|
||||
BuildRequires: GConf2-devel
|
||||
BuildRequires: boost-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: clucene-core-devel
|
||||
%endif
|
||||
BuildRequires: cppunit-devel
|
||||
@ -125,31 +125,31 @@ BuildRequires: gstreamer1-plugins-base-devel
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: hunspell-devel
|
||||
BuildRequires: hyphen-devel
|
||||
%if %{undefined rhel}
|
||||
%if 0%{?!rhel}
|
||||
BuildRequires: kdelibs4-devel
|
||||
%endif
|
||||
BuildRequires: libICE-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
BuildRequires: libXt-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: libcdr-devel
|
||||
BuildRequires: libcmis-devel
|
||||
%endif
|
||||
BuildRequires: libcurl-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: libdb-devel
|
||||
%else
|
||||
BuildRequires: db4-devel
|
||||
%endif
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: libexttextcat-devel
|
||||
%endif
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libidn-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: librsvg2-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: libvisio-devel
|
||||
BuildRequires: libwpd-devel
|
||||
BuildRequires: libwpg-devel
|
||||
@ -158,11 +158,11 @@ BuildRequires: libwps-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: lpsolve-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: mdds-devel
|
||||
%endif
|
||||
BuildRequires: mesa-libGLU-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: mysql-connector-c++-devel
|
||||
BuildRequires: mythes-devel
|
||||
%endif
|
||||
@ -170,11 +170,11 @@ BuildRequires: neon-devel
|
||||
BuildRequires: nss-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pam-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: poppler-cpp-devel
|
||||
%endif
|
||||
BuildRequires: poppler-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: postgresql-devel
|
||||
%endif
|
||||
BuildRequires: python-devel
|
||||
@ -200,7 +200,7 @@ BuildRequires: hsqldb
|
||||
%endif
|
||||
BuildRequires: jakarta-commons-httpclient
|
||||
BuildRequires: java-devel
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
BuildRequires: junit
|
||||
%endif
|
||||
BuildRequires: pentaho-reporting-flow-engine
|
||||
@ -518,7 +518,7 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
|
||||
%postun javafilter
|
||||
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
||||
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
%package postgresql
|
||||
Summary: PostgreSQL connector for LibreOffice
|
||||
Group: Applications/Productivity
|
||||
@ -576,7 +576,7 @@ A plug-in for LibreOffice that enables it to function without an X server.
|
||||
It implements the -headless command line option and allows LibreOffice to be
|
||||
used as a backend server for e.g. document conversion.
|
||||
|
||||
%if %{undefined rhel}
|
||||
%if 0%{?!rhel}
|
||||
%package kde
|
||||
Summary: LibreOffice KDE integration plug-in
|
||||
Group: Applications/Productivity
|
||||
@ -739,7 +739,7 @@ Rules for auto-correcting common %{langname} typing errors. \
|
||||
%langpack -l es -n Spanish -F -H -Y -M -A -S
|
||||
%langpack -l et -n Estonian -F -H -Y -S
|
||||
%langpack -l eu -n Basque -F -H -Y -A -S
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
%langpack -l fa -n Farsi -A -H -Y -S
|
||||
%endif
|
||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||
@ -762,7 +762,7 @@ Rules for auto-correcting common %{langname} typing errors. \
|
||||
%{baseinstdir}/share/registry/korea.xcd
|
||||
|
||||
%langpack -l lt -n Lithuanian -F -H -Y -A -S
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
%langpack -l lv -n Latvian -F -H -Y -M -S
|
||||
%endif
|
||||
%langpack -l mai -n Maithili -F -S
|
||||
@ -786,7 +786,7 @@ Rules for auto-correcting common %{langname} typing errors. \
|
||||
%langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -s pt
|
||||
%langpack -l ro -n Romanian -F -H -Y -M -S
|
||||
%langpack -l ru -n Russian -F -H -Y -M -A -S
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
%langpack -l si -n Sinhalese -F -H -S
|
||||
%endif
|
||||
%langpack -l sk -n Slovak -F -H -Y -M -A -S
|
||||
@ -923,7 +923,7 @@ if [ $SMP_MFLAGS -lt 2 ]; then SMP_MFLAGS=2; fi
|
||||
NDMAKES=$SMP_MFLAGS
|
||||
NBUILDS=`dc -e "$SMP_MFLAGS v p"`
|
||||
|
||||
%if %{undefined rhel}
|
||||
%if 0%{?!rhel}
|
||||
# KDE bits
|
||||
export QT4DIR=%{_qt4_prefix}
|
||||
export KDE4DIR=%{_kde4_prefix}
|
||||
@ -1825,7 +1825,7 @@ done
|
||||
%{baseinstdir}/help/en/sdatabase.*
|
||||
%dir %{baseinstdir}/program
|
||||
%dir %{baseinstdir}/program/classes
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
%{baseinstdir}/program/classes/hsqldb.jar
|
||||
%endif
|
||||
%{baseinstdir}/program/classes/sdbc_hsqldb.jar
|
||||
@ -1979,7 +1979,7 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
|
||||
%{baseinstdir}/program/libhwplo.so
|
||||
%{baseinstdir}/program/liblwpftlo.so
|
||||
%{baseinstdir}/program/libmswordlo.so
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
%{baseinstdir}/program/libmsworks%{SOPOST}.so
|
||||
%endif
|
||||
%{baseinstdir}/program/libswdlo.so
|
||||
@ -2080,7 +2080,7 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
|
||||
%{baseinstdir}/share/registry/pocketexcel.xcd
|
||||
%{baseinstdir}/share/registry/pocketword.xcd
|
||||
|
||||
%if %{undefined rhel} || 0%{?rhel} >= 7
|
||||
%if 0%{?!rhel} || 0%{?rhel} >= 7
|
||||
%files postgresql
|
||||
%defattr(-,root,root,-)
|
||||
%{baseinstdir}/program/postgresql-sdbc.uno.so
|
||||
@ -2132,7 +2132,7 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
|
||||
%{baseinstdir}/share/extensions/script-provider-for-python
|
||||
%{baseinstdir}/share/registry/pyuno.xcd
|
||||
|
||||
%if %{undefined rhel}
|
||||
%if 0%{?!rhel}
|
||||
%files kde
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{baseinstdir}
|
||||
|
Loading…
Reference in New Issue
Block a user