]> git.pld-linux.org Git - packages/perl-HTML-Tidy.git/commitdiff
- created using pldcpan and some deps auto/th/perl-HTML-Tidy-1_54-1 auto/ti/perl-HTML-Tidy-1_54-1
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 13 Feb 2011 12:25:53 +0000 (12:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-HTML-Tidy.spec -> 1.1

perl-HTML-Tidy.spec [new file with mode: 0644]

diff --git a/perl-HTML-Tidy.spec b/perl-HTML-Tidy.spec
new file mode 100644 (file)
index 0000000..08fc18c
--- /dev/null
@@ -0,0 +1,64 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+
+%define                pdir    HTML
+%define                pnam    Tidy
+%include       /usr/lib/rpm/macros.perl
+Summary:       HTML::Tidy - (X)HTML validation in a Perl object
+Name:          perl-HTML-Tidy
+Version:       1.54
+Release:       1
+License:       Artistic v2
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/HTML-Tidy-%{version}.tar.gz
+# Source0-md5: 3025e63d5a85d2abfa793dc1353f8752
+URL:           http://search.cpan.org/dist/HTML-Tidy/
+BuildRequires: libtidyp-devel
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::Builder)
+BuildRequires: perl(Test::More)
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+%endif
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+HTML::Tidy is an HTML checker in a handy dandy object. It's meant as a
+replacement for HTML::Lint. If you're currently an HTML::Lint user
+looking to migrate, see the section /Converting from HTML::Lint.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%attr(755,root,root) %{_bindir}/webtidy
+%{perl_vendorarch}/HTML/Tidy.pm
+%dir %{perl_vendorarch}/HTML/Tidy
+%{perl_vendorarch}/HTML/Tidy/Message.pm
+%dir %{perl_vendorarch}/auto/HTML/Tidy
+%{perl_vendorarch}/auto/HTML/Tidy/Tidy.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/HTML/Tidy/Tidy.so
+%{_mandir}/man3/HTML::Tidy*
This page took 0.08909 seconds and 4 git commands to generate.