-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OpenOffice.org-1.0-0.1mdk (running on 8.2 having rebuilt the rpm) has
fixed some things (with 6.0.41-6mdk I couldn't print at all, the
postscript is generated seemed at fault as I couldn't view it with gv).

However, spell checking does not work in writer, though it does work in
Calc and Impress.

Attached is a patch to the spec file showing how to have the Mandrake
release auto-detected, though it will need another entry for cooker (as
I don't have a cooker release file to test with.

Buchan
- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE8vpkSrJK6UGDSBKcRAh4KAJ0d7jmsL5N5maujo1s89idt/7BmmgCfQ4K3
TMOo8fMw/M5w5OIE08VCg6Y=
=wcAg
-----END PGP SIGNATURE-----
--- OpenOffice.org.spec.orig    Tue Apr 16 11:39:36 2002
+++ OpenOffice.org.spec Wed Apr 17 08:52:11 2002
@@ -40,6 +40,15 @@
 
 ####################################################################
 #
+# Mandrake release: Define macro used to control build options for
+#                   each LMDK distributions (from KDE3 spec):
+%{expand:%%define buildfor8_2 %(A=$(awk '{print $4}' /etc/mandrake-release); if [ 
+"$A" = 8.2 ]; then echo 1; else echo 0; fi)}
+%{expand:%%define buildfor8_3 %(A=$(awk '{print $4}' /etc/mandrake-release); if [ 
+"$A" = 8.3 ]; then echo 1; else echo 0; fi)}
+####################################################################
+
+
+####################################################################
+#
 # Compilers
 #
 # Default values are:
@@ -49,7 +58,7 @@
 #
 ####################################################################
 
-%ifarch %{ix86}
+%ifarch %{ix86} && if %buildfor8_3
 # Supports only gcc3+ builds
 %define build_gcc295   0
 %define build_gcc30    0
@@ -57,6 +66,15 @@
 %define build_env      LinuxIntelEnv.Set
 %define build_out_path unxlngi4
 %endif
+%ifarch %{ix86} && if %buildfor8_2
+# Supports only gcc3+ builds
+%define build_gcc295    0
+%define build_gcc30     1
+%define build_gcc31     0
+%define build_env       LinuxIntelEnv.Set
+%define build_out_path  unxlngi4
+%endif
+
 %ifarch ppc
 # Supports only gcc-2.95.X builds for now
 %define build_gcc295   1

Reply via email to