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