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