8
0
Files
perl-HTML-Encoding/perl-HTML-Encoding.spec

76 lines
3.6 KiB
RPMSpec
Raw Normal View History

#norootforbuild
Name: perl-HTML-Encoding
Version: 0.55
Release: 1
Summary: Determine the encoding of HTML/XML/XHTML documents
Group: Development/Libraries/Perl
License: See %{_defaultdocdir}/perl-HTML-Encoding/README file
URL: http://search.cpan.org/dist/HTML-Encoding/
Source0: http://www.cpan.org/authors/id/B/BJ/BJOERN/HTML-Encoding-%{version}.tar.gz
Requires: perl = %{perl_version}
BuildRequires: perl
BuildRequires: perl-HTML-Parser
BuildRequires: perl-libwww-perl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
HTML::Encoding helps to determine the encoding of HTML and XML/XHTML
documents.
Author:
-------
Bjoern Hoehrmann, <bjoern at hoehrmann.de>
%prep
%setup -q -n HTML-Encoding-%{version}
find . -type f | xargs chmod -c -x
find . -type f | xargs %{__perl} -pi -e 's/\r//g'
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(- ,root, root)
%doc Changes README
%{perl_vendorlib}/HTML/Encoding.pm
%{perl_vendorarch}/auto/HTML/Encoding
%{_mandir}/man3/HTML::Encoding*.gz
%{_var}/adm/perl-modules/%{name}
%changelog
* Wed Dec 2 2007 sierkb@gmx.de
- Release version 0.55:
Fixed http://www.w3.org/mid/64584787-9995-43F3-A34E-D010ED9811D6@w3.org
* Thu Jun 21 2007 sierkb@gmx.de - Spec file cleanups
* Wed May 23 2007 sierkb@gmx.de - Release version 0.53:
Fixed http://rt.cpan.org/Public/Bug/Display.html?id=16351
* Tue May 22 2007 sierkb@gmx.de - First openSUSE Build.
* Tue Dec 14 2004
- Release version 0.52:
encoding_from_http_message encoding defaulting did
not work as intended, fixed.
* Tue Dec 14 2004
- Release version 0.51:
encoding_from_html_document returned a list in scalar
context if the document had a XML declaration, fixed.
* Tue Nov 2 2004
- Release version 0.50:
rewrite from scratch