]> git.pld-linux.org Git - packages/perl-HTML-Tidy.git/blame - perl-HTML-Tidy.spec
- updated URL and macros
[packages/perl-HTML-Tidy.git] / perl-HTML-Tidy.spec
CommitLineData
0818029a
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4
5%define pdir HTML
6%define pnam Tidy
0818029a 7Summary: HTML::Tidy - (X)HTML validation in a Perl object
4448f89e 8Summary(pl.UTF-8): HTML::Tidy - sprawdzanie poprawności (X)HTML-a w obiekcie Perla
0818029a 9Name: perl-HTML-Tidy
20bc2ddd 10Version: 1.60
d1c806e3 11Release: 3
0818029a
ER
12License: Artistic v2
13Group: Development/Languages/Perl
4448f89e 14Source0: http://www.cpan.org/modules/by-module/HTML/HTML-Tidy-%{version}.tar.gz
20bc2ddd 15# Source0-md5: 03bafb9a0a2a23629cf9649abb2b72ab
1435d72e 16URL: https://metacpan.org/dist/HTML-Tidy
0818029a 17BuildRequires: libtidyp-devel
4448f89e 18BuildRequires: perl-ExtUtils-MakeMaker
0818029a
ER
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
1435d72e 21BuildRequires: rpmbuild(macros) >= 1.745
0818029a 22%if %{with tests}
4448f89e
JB
23BuildRequires: perl-Test-Pod
24BuildRequires: perl-Test-Pod-Coverage
25BuildRequires: perl-Test-Simple
0818029a
ER
26%endif
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30HTML::Tidy is an HTML checker in a handy dandy object. It's meant as a
31replacement for HTML::Lint. If you're currently an HTML::Lint user
32looking to migrate, see the section /Converting from HTML::Lint.
33
4448f89e
JB
34%description -l pl.UTF-8
35HTML::Tidy to narzędzie do sprawdzania poprawności HTML-a postaci
36poręcznego obiektu. Jest pomyślany jako zamiennik HTML::Lint.
37Użytkownikom modułu HTML::Lint, chcącym się przenieść, przyda się
38lektura sekcji /Converting from HTML::Lint.
39
0818029a
ER
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make} \
47 CC="%{__cc}" \
48 OPTIMIZE="%{rpmcflags}"
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54%{__make} pure_install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc Changes
63%attr(755,root,root) %{_bindir}/webtidy
64%{perl_vendorarch}/HTML/Tidy.pm
65%dir %{perl_vendorarch}/HTML/Tidy
66%{perl_vendorarch}/HTML/Tidy/Message.pm
67%dir %{perl_vendorarch}/auto/HTML/Tidy
0818029a 68%attr(755,root,root) %{perl_vendorarch}/auto/HTML/Tidy/Tidy.so
1435d72e 69%{_mandir}/man3/HTML::Tidy*.3pm*
This page took 0.139372 seconds and 4 git commands to generate.