packages: perl-HTML-Tidy/perl-HTML-Tidy.spec (NEW) - created using pldcpan ...
glen
glen at pld-linux.org
Sun Feb 13 13:25:58 CET 2011
Author: glen Date: Sun Feb 13 12:25:58 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- created using pldcpan and some deps
---- Files affected:
packages/perl-HTML-Tidy:
perl-HTML-Tidy.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-HTML-Tidy/perl-HTML-Tidy.spec
diff -u /dev/null packages/perl-HTML-Tidy/perl-HTML-Tidy.spec:1.1
--- /dev/null Sun Feb 13 13:25:58 2011
+++ packages/perl-HTML-Tidy/perl-HTML-Tidy.spec Sun Feb 13 13:25:53 2011
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+#
+# 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*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/02/13 12:25:53 glen
+- created using pldcpan and some deps
================================================================
More information about the pld-cvs-commit
mailing list