%define pkg_name WebService-Validator-HTML-W3C %define pkg_version 0.22 %define rpm_pkg_version 0.22 %define rpm_pkg_release 1.n0i.7 Summary: Access the W3Cs online HTML validator Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/WebService/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Class::Accessor) BuildRequires: perl(LWP) %description WebService::Validator::HTML::W3C provides access to the W3C's online Markup validator. As well as reporting on whether a page is valid it also provides access to a detailed list of the errors and where in the validated document they occur. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_perl_path examples/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes examples/ README %changelog * Thu Sep 20 2007 Marius Feraru - 0.22-1.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - version 0.22 * Tue May 02 2006 Marius Feraru - 0.13-1.n0i.6 - version 0.13 * Mon Mar 06 2006 Marius Feraru - 0.12-1.n0i.5 - version 0.12 * Sat Mar 04 2006 Marius Feraru - 0.11-1.n0i.4 - version 0.11 * Fri Sep 16 2005 Marius Feraru 0.10-1.n0i.3.0.1 - version 0.1 * Fri Sep 09 2005 Marius Feraru 0.09-1.n0i.2 - version 0.09 * Fri Sep 02 2005 Marius Feraru 0.08-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.10 - rebuild on perl 5.8.7