--- libtidy/gurlchecker.spec 2010-07-29 14:38:11.913045354 +0100 +++ libtidyp/gurlchecker.spec 2010-07-29 14:31:55.776072801 +0100 @@ -10,11 +10,22 @@ Source0: http://labs.libre-entreprise.org/frs/download.php/547/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-docs.patch Patch1: gurlchecker-0.10.1-clamav093.patch + +# Patch to build with libtidyp instead of libtidy +# +# Contains an upstreamable part and then patches to generated files +# so that it's not necessary to run autotools during the build +# +# However, the patch probably isn't directly upstreamable anyway +# as the current upstream release is 0.13, released over two years +# later than this version 0.10.1 in Fedora +Patch2: gurlchecker-0.10.1-tidyp.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils, gnet2-devel, gettext, perl(XML::Parser) BuildRequires: docbook-utils, libgnomeui-devel >= 2.0, libglade2-devel >= 2.0 -BuildRequires: libcroco-devel, libtidy-devel, clamav-devel, clamav-lib, gnutls-devel +BuildRequires: libcroco-devel, libtidyp-devel, clamav-devel, clamav-lib, gnutls-devel %description gURLChecker is a Gnome tool that can check links on a single web page @@ -26,7 +37,7 @@ %if 0%{?fedora} >= 9 %patch1 -p1 -b .clamav093 %endif - +%patch2 -p1 %build %configure --disable-gtk-doc