-Source0: http://ftp.gnome.org/pub/gnome/sources/gtk-doc/1.6/%{name}-%{version}.tar.bz2
-# Source0-md5: 09c7a89efff2e0bbaba02a12bff58dfd
-URL: http://www.gtk.org/rdp/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: docbook-dtd412-xml >= 1.0-10
-BuildRequires: docbook-style-xsl
-BuildRequires: docbook-utils
-BuildRequires: gnome-common >= 2.12.0
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: df26a38c209b3d7358f26268fcbdb9e3
+Patch0: %{name}-noarch.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-nons >= 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