]> git.pld-linux.org Git - packages/perl-HTML-Tidy.git/blob - perl-HTML-Tidy.spec
perl 5.38.0 rebuild
[packages/perl-HTML-Tidy.git] / perl-HTML-Tidy.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define         pdir    HTML
6 %define         pnam    Tidy
7 Summary:        HTML::Tidy - (X)HTML validation in a Perl object
8 Summary(pl.UTF-8):      HTML::Tidy - sprawdzanie poprawności (X)HTML-a w obiekcie Perla
9 Name:           perl-HTML-Tidy
10 Version:        1.60
11 Release:        6
12 License:        Artistic v2
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/HTML/HTML-Tidy-%{version}.tar.gz
15 # Source0-md5:  03bafb9a0a2a23629cf9649abb2b72ab
16 URL:            https://metacpan.org/dist/HTML-Tidy
17 BuildRequires:  libtidyp-devel
18 BuildRequires:  perl-ExtUtils-MakeMaker
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRequires:  rpmbuild(macros) >= 1.745
22 %if %{with tests}
23 BuildRequires:  perl-Test-Pod
24 BuildRequires:  perl-Test-Pod-Coverage
25 BuildRequires:  perl-Test-Simple
26 %endif
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 HTML::Tidy is an HTML checker in a handy dandy object. It's meant as a
31 replacement for HTML::Lint. If you're currently an HTML::Lint user
32 looking to migrate, see the section /Converting from HTML::Lint.
33
34 %description -l pl.UTF-8
35 HTML::Tidy to narzędzie do sprawdzania poprawności HTML-a postaci
36 poręcznego obiektu. Jest pomyślany jako zamiennik HTML::Lint.
37 Użytkownikom modułu HTML::Lint, chcącym się przenieść, przyda się
38 lektura sekcji /Converting from HTML::Lint.
39
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
53 rm -rf $RPM_BUILD_ROOT
54 %{__make} pure_install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -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
68 %attr(755,root,root) %{perl_vendorarch}/auto/HTML/Tidy/Tidy.so
69 %{_mandir}/man3/HTML::Tidy*.3pm*
This page took 0.120551 seconds and 4 git commands to generate.