]> git.pld-linux.org Git - packages/perl-HTML-Tidy.git/blame - perl-HTML-Tidy.spec
- release 8 (by relup.sh)
[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
7%include /usr/lib/rpm/macros.perl
8Summary: HTML::Tidy - (X)HTML validation in a Perl object
4448f89e 9Summary(pl.UTF-8): HTML::Tidy - sprawdzanie poprawności (X)HTML-a w obiekcie Perla
0818029a
ER
10Name: perl-HTML-Tidy
11Version: 1.54
97fc6885 12Release: 8
0818029a
ER
13License: Artistic v2
14Group: Development/Languages/Perl
4448f89e 15Source0: http://www.cpan.org/modules/by-module/HTML/HTML-Tidy-%{version}.tar.gz
0818029a
ER
16# Source0-md5: 3025e63d5a85d2abfa793dc1353f8752
17URL: http://search.cpan.org/dist/HTML-Tidy/
18BuildRequires: libtidyp-devel
4448f89e 19BuildRequires: perl-ExtUtils-MakeMaker
0818029a
ER
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
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
ER
68%attr(755,root,root) %{perl_vendorarch}/auto/HTML/Tidy/Tidy.so
69%{_mandir}/man3/HTML::Tidy*
This page took 0.106858 seconds and 4 git commands to generate.