3 %bcond_without tests # do not perform "make test"
7 Summary: HTML::Lint - check for HTML errors in a string or file
8 Summary(pl.UTF-8): HTML::Lint - sprawdzanie łańcucha lub pliku HTML pod kątem błędów
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 17d364920349ee989242c5d660638a78
17 URL: http://search.cpan.org/dist/HTML-Lint/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-HTML-Parser >= 3.20
22 BuildRequires: perl-HTML-Tagset >= 3.03
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 HTML::Lint checks a string or file for HTML errors. It comes with
29 Test::More-style wrapper, Test::HTML::Lint.
31 %description -l pl.UTF-8
32 HTML::Lint sprawdza łańcuch znaków lub plik HTML pod kątem błędów.
33 Pakiet zawiera też moduł Test::HTML::Lint - wrapper w stylu
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/weblint
59 %{perl_vendorlib}/HTML/*.pm
60 %{perl_vendorlib}/HTML/Lint
61 %dir %{perl_vendorlib}/Test/HTML
62 %{perl_vendorlib}/Test/HTML/Lint.pm