--- spec-files/SUNWgnome-display-mgr.spec	2007-06-06 23:43:55.967092000 +0900
+++ spec-files/SUNWgnome-display-mgr-head.spec	2007-06-06 23:43:31.614885000 +0900
@@ -11,7 +11,7 @@
 #
 %include Solaris.inc
 
-%use gdm = gdm.spec
+%use gdm = gdm-head.spec
 
 Name:                    SUNWgnome-display-mgr
 Summary:                 GNOME display manager
@@ -64,7 +64,7 @@ Requires:                %{name}
 rm -rf %name-%version
 mkdir %name-%version
 %gdm.prep -d %name-%version
-chmod -R u+w %{_builddir}/%name-%version/gdm-%{gdm.version}
+chmod -R u+w %{_builddir}/%name-%version/gdm2
 cd %{_builddir}/%name-%version
 gzcat %SOURCE0 | tar xf -
 
--- spec-files/base-specs/gdm.spec	2007-06-07 15:13:57.281080000 +0900
+++ spec-files/base-specs/gdm-head.spec	2007-06-07 15:13:51.585320000 +0900
@@ -16,7 +16,7 @@ Release:      11
 Distribution: Java Desktop System
 Vendor:       Sun Microsystems, Inc.
 Summary:      The GNOME 2.x Display Manager
-Source:       http://ftp.gnome.org/pub/GNOME/sources/gdm/2.19/gdm-%{version}.tar.bz2
+Source:       http://ftp.gnome.org/pub/GNOME/sources/gdm/2.19/gdm2.tar.bz2
 Source1:      %{name}-po-sun-%{po_sun_version}.tar.bz2
 #owner:yippi date:2004-11-24 type:branding
 Patch1:	      gdm-01-branding.diff
@@ -82,12 +82,12 @@ many options, usable for remote login, a
 looking graphical interface.
 
 %prep
-%setup -q
+%setup -q -n gdm2
 %if %build_l10n
 bzcat %SOURCE1 | tar xf -
 cd po-sun; make; cd ..
 %endif
-%patch1 -p1
+#%patch1 -p1
 
 %build
 %ifos linux
@@ -102,8 +102,8 @@ if test "x$CPUS" = "x" -o $CPUS = 0; the
 fi
 
 export CFLAGS="$RPM_OPT_FLAGS"
-autoheader
-autoconf
+#autoheader
+#autoconf
 
 ENABLE_CONSOLE_HELPER=
 %ifos linux
@@ -120,6 +120,7 @@ CTRUN_CONFIG="--with-ctrun"
 libtoolize --force
 glib-gettextize -c -f
 intltoolize --copy --force --automake
+gnome-doc-prepare --automake -c -f
 aclocal $ACLOCAL_FLAGS
 autoconf
 autoheader
