+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
%include /usr/lib/rpm/macros.perl
%define pdir HTML
%define pnam Tree
-Summary: HTML::Tree perl module
-Summary(pl): Modu³ perla HTML::Tree
+Summary: HTML::Tree Perl module
+Summary(cs): Modul HTML::Tree pro Perl
+Summary(da): Perlmodul HTML::Tree
+Summary(de): HTML::Tree Perl Modul
+Summary(es): Módulo de Perl HTML::Tree
+Summary(fr): Module Perl HTML::Tree
+Summary(it): Modulo di Perl HTML::Tree
+Summary(ja): HTML::Tree Perl ¥â¥¸¥å¡¼¥ë
+Summary(ko): HTML::Tree ÆÞ ¸ðÁÙ
+Summary(no): Perlmodul HTML::Tree
+Summary(pl): Modu³ Perla HTML::Tree
+Summary(pt): Módulo de Perl HTML::Tree
+Summary(pt_BR): Módulo Perl HTML::Tree
+Summary(ru): íÏÄÕÌØ ÄÌÑ Perl HTML::Tree
+Summary(sv): HTML::Tree Perlmodul
+Summary(uk): íÏÄÕÌØ ÄÌÑ Perl HTML::Tree
+Summary(zh_CN): HTML::Tree Perl Ä£¿é
Name: perl-HTML-Tree
-Version: 3.11
-Release: 5
+Version: 3.13
+Release: 1
License: GPL
Group: Development/Languages/Perl
Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
%build
perl Makefile.PL
+%{__make}
+%{!?_without_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf README Changes
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc README Changes
%{perl_sitelib}/HTML/*.pm
+%dir %{perl_sitelib}/HTML/Element
+%{perl_sitelib}/HTML/Element/*.pm
%{_mandir}/man3/*