%define upstream_name Test-HTML-Tidy %define upstream_version 1.00 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 7 Summary: Test::More-style wrapper around HTML::Tidy License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl(HTML::Tidy) BuildArch: noarch %description Handy way to check that HTML is valid, according to HTML::Tidy. It is built with Test::Builder and plays happily with Test::More and friends. If you are not already familiar with Test::More now would be the time to go take a look. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf %{buildroot} %makeinstall_std %check %make test %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes %{perl_vendorlib}/Test %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.0.0-7.mga3 + Revision: 373552 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Jan 24 2011 jquelin <jquelin> 1.0.0-6.mga1 + Revision: 36610 - mageia rebuild - imported package perl-Test-HTML-Tidy