source: spec/trunk/SPECS/perl-IO-HTML.spec@ 1566

Last change on this file since 1566 was 1131, checked in by Silvan Scherrer, 8 years ago

spec: perl-IO-HTML: Release version 1.001-1.

File size: 1.5 KB
Line 
1Name: perl-IO-HTML
2Version: 1.001
3Release: 1%{?dist}
4Summary: Open an HTML file with automatic character set detection
5License: GPL+ or Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/dist/IO-HTML/
8Vendor: bww bitwise works GmbH
9Source0: http://www.cpan.org/authors/id/C/CJ/CJM/IO-HTML-%{version}.tar.gz
10BuildArch: noarch
11BuildRequires: perl
12BuildRequires: perl-generators
13BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
14# Run-time:
15BuildRequires: perl(Carp)
16BuildRequires: perl(Encode) >= 2.10
17BuildRequires: perl(Exporter) >= 5.57
18# Tests:
19BuildRequires: perl(File::Temp)
20BuildRequires: perl(Scalar::Util)
21#BuildRequires: perl(Test::More) >= 0.88
22Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
24%description
25IO::HTML provides an easy way to open a file containing HTML while
26automatically determining its encoding. It uses the HTML5 encoding sniffing
27algorithm specified in section 8.2.2.1 of the draft standard.
28
29%prep
30%setup -q -n IO-HTML-%{version}
31
32%build
33perl Makefile.PL INSTALLDIRS=vendor
34make %{?_smp_mflags}
35make manifypods
36
37%install
38make pure_install DESTDIR=$RPM_BUILD_ROOT
39find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
40%{_fixperms} $RPM_BUILD_ROOT/*
41
42%check
43#make test
44
45%files
46%doc Changes LICENSE README
47%{perl_vendorlib}/*
48%{_mandir}/man3/*
49
50%changelog
51* Mon May 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 1.001-1
52- initial version
Note: See TracBrowser for help on using the repository browser.