# Source412-md5: 9521a01c5817e87178f356762f8cdab5
Patch0: %{name}-pld.patch
+Patch1: %{name}-STL-lib64.diff
URL: http://www.openoffice.org/
BuildRequires: ImageMagick
BuildRequires: nss-devel >= 1:3.10
BuildRequires: nspr-devel >= 1:4.6-0.20041030.3
BuildRequires: mozilla-devel >= 5:1.7.6-2
-BuildRequires: nas-devel
+BuildRequires: nas-devel >= 1.7-1
BuildRequires: neon-devel
BuildRequires: openldap-devel
BuildRequires: pam-devel
Requires: mktemp
Requires: sed
#Suggested: chkfontpath
-ExclusiveArch: %{ix86} ppc sparc sparcv9
+ExclusiveArch: %{ix86} ppc sparc sparcv9 amd64
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q -n ooo-build-%{ooobver}
-#%patch0 -p1
+%patch0 -p1
install -d src
# sources, icons, KDE_icons
#ln -s %{SOURCE20} src/openabout_pld.bmp
#ln -s %{SOURCE21} src/openintro_pld.bmp
+# add to ooo-build patch-system
+install %{PATCH1} patches/src680
+
%build
# Make sure we have /proc mounted - otherwise idlc will fail later.
if [ ! -r /proc/cpuinfo ]; then
%endif
%ifarch sparc sparcv9
--with-arch=sparc \
+%endif
+%ifarch amd64
+ --with-arch=x86_64 \
%endif
--with-ccache-allowed \
--with-system-gcc \