-Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.10/%{name}-%{version}.tar.bz2
-# Source0-md5: cbd4be396b0cf8b8ce1fc9b927cdf451
-URL: http://www.gtk.org/rdp/
-BuildRequires: autoconf >= 2.52
-BuildRequires: automake
-BuildRequires: docbook-dtd412-xml >= 1.0-10
-BuildRequires: docbook-style-xsl
-BuildRequires: docbook-utils
-BuildRequires: glib2-devel >= 1:2.6.0
-BuildRequires: gnome-common >= 2.12.0-3
-BuildRequires: libtool
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: b29949e0964762e474b706ce22171602
+Patch0: %{name}-noarch.patch
+Patch1: xsl-ns.patch
+URL: http://www.gtk.org/gtk-doc/
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11
+BuildRequires: docbook-dtd43-xml
+BuildRequires: docbook-style-xsl >= 1.74.0
+%{?with_tests:BuildRequires: glib2-devel >= 1:2.6.0}
+%{?with_tests:BuildRequires: libtool >= 2:2.2}
+BuildRequires: libxml2 >= 1:2.3.6