0c21cb
Name:           perl-IO-HTML
0c21cb
Version:        1.00
032e0b
Release:        2%{?dist}
0c21cb
Summary:        Open an HTML file with automatic character set detection
0c21cb
License:        GPL+ or Artistic
0c21cb
Group:          Development/Libraries
0c21cb
URL:            http://search.cpan.org/dist/IO-HTML/
0c21cb
Source0:        http://www.cpan.org/authors/id/C/CJ/CJM/IO-HTML-%{version}.tar.gz
0c21cb
BuildArch:      noarch
0c21cb
BuildRequires:  perl
0c21cb
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
0c21cb
# Run-time:
0c21cb
BuildRequires:  perl(Carp)
0c21cb
BuildRequires:  perl(Encode) >= 2.10
0c21cb
BuildRequires:  perl(Exporter) >= 5.57
0c21cb
# Tests:
0c21cb
BuildRequires:  perl(File::Temp)
0c21cb
BuildRequires:  perl(Scalar::Util)
0c21cb
BuildRequires:  perl(Test::More) >= 0.88
0c21cb
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0c21cb
0c21cb
%description
0c21cb
IO::HTML provides an easy way to open a file containing HTML while
0c21cb
automatically determining its encoding. It uses the HTML5 encoding sniffing
0c21cb
algorithm specified in section 8.2.2.1 of the draft standard.
0c21cb
0c21cb
%prep
0c21cb
%setup -q -n IO-HTML-%{version}
0c21cb
0c21cb
%build
0c21cb
perl Makefile.PL INSTALLDIRS=vendor
0c21cb
make %{?_smp_mflags}
0c21cb
0c21cb
%install
0c21cb
make pure_install DESTDIR=$RPM_BUILD_ROOT
0c21cb
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
0c21cb
%{_fixperms} $RPM_BUILD_ROOT/*
0c21cb
0c21cb
%check
0c21cb
make test
0c21cb
0c21cb
%files
0c21cb
%doc Changes LICENSE README
0c21cb
%{perl_vendorlib}/*
0c21cb
%{_mandir}/man3/*
0c21cb
0c21cb
%changelog
032e0b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.00-2
032e0b
- Mass rebuild 2013-12-27
032e0b
0c21cb
* Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 1.00-1
0c21cb
- 1.00 bump
0c21cb
0c21cb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-2
0c21cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0c21cb
0c21cb
* Tue Oct 02 2012 Petr Pisar <ppisar@redhat.com> 0.04-1
0c21cb
- Specfile autogenerated by cpanspec 1.78.