Source54: %{name}-about.bmp
# patches applied in prep section
Patch0: %{name}-PLD.patch
-Patch10: %{name}-hotfix-kde4.patch
URL: http://www.openoffice.org/
BuildRequires: /usr/bin/getopt
BuildRequires: GConf2-devel
%{SOURCE52} \
src
-ln -s %{PATCH10} patches/hotfixes/%{basename:%{PATCH10}}.diff
-
%build
# Make sure we have /proc mounted - otherwise idlc will fail later.
if [ ! -f /proc/cpuinfo ]; then
export IGNORE_MANIFEST_CHANGES=1
export QTINC="%{_includedir}/qt"
export QTLIB="%{_libdir}"
+export QT4DIR="%{_libdir}/qt4"
%if %{with java}
export JAVA_HOME="%{java_home}"
+++ /dev/null
---- configure.in 2010-01-30 20:54:14.014499069 +0100
-+++ configure.in.new 2010-01-30 21:07:03.703592227 +0100
-@@ -6443,7 +6443,7 @@
- fi
-
- dnl Check for Meta Object Compiler
-- AC_PATH_PROG( MOC4, moc, no, [$PATH:$QT4DIR/bin] )
-+ AC_PATH_PROG( MOC4, moc-qt4, no, [$PATH:$QT4DIR/bin] )
- if test "$MOC4" = "no" ; then
- AC_MSG_ERROR([Qt Meta Object Compiler not found. Please specify
- the root of your Qt installation by exporting QT4DIR before running "configure".])