%define tag %(echo %{mws} | tr A-Z a-z)-%{milestone}
%define milestone m11
%define _tag %(echo %{tag} | tr - _)
-%define _rel 2
+%define _rel 3
Summary: OpenOffice.org - powerful office suite
Summary(pl.UTF-8): OpenOffice.org - potężny pakiet biurowy
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 QT4INC="%{_includedir}/qt4"
-export QT4LIB="%{_libdir}"
export QT4DIR="%{_libdir}/qt4"
%if %{with java}
--- /dev/null
+--- configure.in~ 2010-02-01 22:04:43.000000000 +0100
++++ configure.in 2010-02-01 22:07:21.307930913 +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, no, [$QT4DIR/bin:$PATH])
+ 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".])