From 0c21cb207177f24434f53b24c6b18230a2a930bc Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Feb 28 2013 09:17:41 +0000 Subject: import perl-IO-HTML-1.00-1.el7.src.rpm --- diff --git a/.perl-IO-HTML.metadata b/.perl-IO-HTML.metadata new file mode 100644 index 0000000..ee8d171 --- /dev/null +++ b/.perl-IO-HTML.metadata @@ -0,0 +1 @@ +408784f567d52f26ee4ed7c10026e2c8b8e86178 SOURCES/IO-HTML-1.00.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-IO-HTML.spec b/SPECS/perl-IO-HTML.spec new file mode 100644 index 0000000..0ddd0a1 --- /dev/null +++ b/SPECS/perl-IO-HTML.spec @@ -0,0 +1,55 @@ +Name: perl-IO-HTML +Version: 1.00 +Release: 1%{?dist} +Summary: Open an HTML file with automatic character set detection +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/IO-HTML/ +Source0: http://www.cpan.org/authors/id/C/CJ/CJM/IO-HTML-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Encode) >= 2.10 +BuildRequires: perl(Exporter) >= 5.57 +# Tests: +BuildRequires: perl(File::Temp) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::More) >= 0.88 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +IO::HTML provides an easy way to open a file containing HTML while +automatically determining its encoding. It uses the HTML5 encoding sniffing +algorithm specified in section 8.2.2.1 of the draft standard. + +%prep +%setup -q -n IO-HTML-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 28 2013 Petr Pisar - 1.00-1 +- 1.00 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 0.04-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Oct 02 2012 Petr Pisar 0.04-1 +- Specfile autogenerated by cpanspec 1.78.