3 %bcond_without tests # do not perform "make test"
7 Summary: HTML::Quoted - extract structure of quoted HTML mail message
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 1624801f0f505e65e8b067816039a296
17 # generic URL, check or change before uncommenting
18 URL: http://search.cpan.org/dist/HTML-Quoted/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-HTML-Parser >= 3.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Parses and extracts quotation structure out of a HTML message.
29 Purpose and returned structures are very similar to
34 # %description -l pl.UTF-8
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} pure_install \
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/HTML/*.pm