2007-12-05 23:11:59 +00:00
|
|
|
# norootforbuild
|
2007-06-22 02:54:38 +00:00
|
|
|
|
|
|
|
Name: perl-HTML-Encoding
|
2008-08-13 15:09:12 +00:00
|
|
|
Version: 0.60
|
2007-06-22 02:50:56 +00:00
|
|
|
Release: 1
|
2007-06-22 02:54:38 +00:00
|
|
|
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
|
|
|
|
BuildRequires: perl
|
2010-12-03 14:37:13 +00:00
|
|
|
BuildRequires: perl-macros
|
2007-06-22 02:54:38 +00:00
|
|
|
BuildRequires: perl-HTML-Parser
|
|
|
|
BuildRequires: perl-libwww-perl
|
2007-06-22 02:50:56 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:37:13 +00:00
|
|
|
%{perl_requires}
|
2007-06-22 02:50:56 +00:00
|
|
|
|
|
|
|
%description
|
2007-06-22 02:54:38 +00:00
|
|
|
HTML::Encoding helps to determine the encoding of HTML and XML/XHTML
|
|
|
|
documents.
|
|
|
|
|
2007-06-22 02:50:56 +00:00
|
|
|
%prep
|
2007-06-22 02:54:38 +00:00
|
|
|
%setup -q -n HTML-Encoding-%{version}
|
|
|
|
find . -type f | xargs chmod -c -x
|
|
|
|
find . -type f | xargs %{__perl} -pi -e 's/\r//g'
|
|
|
|
|
2007-06-22 02:50:56 +00:00
|
|
|
|
|
|
|
%build
|
2007-06-22 02:54:38 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2007-06-22 02:50:56 +00:00
|
|
|
|
|
|
|
%install
|
2007-06-22 02:54:38 +00:00
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2007-06-22 02:50:56 +00:00
|
|
|
|
|
|
|
%clean
|
2007-06-22 02:54:38 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-06-22 02:50:56 +00:00
|
|
|
|
|
|
|
%files
|
2007-06-22 02:54:38 +00:00
|
|
|
%defattr(- ,root, root)
|
|
|
|
%doc Changes README
|
2007-09-17 13:28:00 +00:00
|
|
|
%{perl_vendorlib}/HTML/Encoding.pm
|
|
|
|
%{perl_vendorarch}/auto/HTML/Encoding
|
2007-06-22 02:54:38 +00:00
|
|
|
%{_mandir}/man3/HTML::Encoding*.gz
|
|
|
|
|
|
|
|
%changelog
|
2008-08-13 15:09:12 +00:00
|
|
|
* Wed Aug 13 2008 sierkb@gmx.de
|
|
|
|
- Release version 0.60:
|
|
|
|
- minor bugfixes
|
|
|
|
|
|
|
|
* Mon Jun 30 2008 sierkb@gmx.de
|
|
|
|
- Release version 0.59:
|
|
|
|
- De-listed URI as dependency, not my bug
|
|
|
|
- added eg/detector.pl
|
|
|
|
- added t/98podsyn.t
|
|
|
|
- added t/99podcov.t
|
|
|
|
- added 'dist' options in Makefile.PL
|
|
|
|
- marked private subs with an underscore
|
|
|
|
|
|
|
|
* Mon Jun 30 2008 sierkb@gmx.de
|
|
|
|
- Release version 0.58:
|
|
|
|
- List URI as dependency to prevent test failure
|
|
|
|
- Added LICENCE => 'perl' to Makefile.PL
|
|
|
|
|
2008-04-09 19:29:40 +00:00
|
|
|
* Wed Apr 9 2008 sierkb@gmx.de
|
|
|
|
- Release version 0.57:
|
|
|
|
- updated the pitfyful README file
|
|
|
|
- fixed a performance problem in my_decode reported by Ville Skytta
|
|
|
|
- Spec file: Changelog cleanup.
|
|
|
|
|
|
|
|
* Wed Dec 6 2007 sierkb@gmx.de
|
|
|
|
- Release version 0.56:
|
|
|
|
- updated changes file
|
|
|
|
- fixed line end issues in test
|
|
|
|
|
2007-12-05 22:43:31 +00:00
|
|
|
* Wed Dec 5 2007 sierkb@gmx.de
|
|
|
|
- Release version 0.55
|
|
|
|
- Spec file: Changelog cleanup.
|
|
|
|
|
2007-12-05 22:27:09 +00:00
|
|
|
* Wed Dec 2 2007 sierkb@gmx.de
|
2007-12-05 22:43:31 +00:00
|
|
|
- Release version 0.54:
|
2008-04-09 19:29:40 +00:00
|
|
|
- Fixed http://www.w3.org/mid/64584787-9995-43F3-A34E-D010ED9811D6@w3.org
|
2007-12-05 22:27:09 +00:00
|
|
|
|
2007-12-05 22:43:31 +00:00
|
|
|
* Mon Sep 17 2007 jfunk@funktronics.ca
|
|
|
|
- Cleanup files
|
|
|
|
|
2007-12-05 23:02:49 +00:00
|
|
|
* Thu Jun 21 2007 sierkb@gmx.de
|
|
|
|
- Spec file cleanups
|
|
|
|
|
|
|
|
* Wed May 23 2007 sierkb@gmx.de
|
|
|
|
- Release version 0.53:
|
2008-04-09 19:29:40 +00:00
|
|
|
- Fixed http://rt.cpan.org/Public/Bug/Display.html?id=16351
|
2007-12-05 23:02:49 +00:00
|
|
|
|
|
|
|
* Tue May 22 2007 sierkb@gmx.de
|
|
|
|
- First openSUSE Build.
|
2007-12-05 22:27:09 +00:00
|
|
|
|
2007-12-05 23:56:11 +00:00
|
|
|
* Tue Dec 14 2004 bjoern@hoehrmann.de
|
2007-12-05 22:27:09 +00:00
|
|
|
- Release version 0.52:
|
2008-04-09 19:29:40 +00:00
|
|
|
- encoding_from_http_message encoding defaulting did
|
|
|
|
not work as intended, fixed.
|
2007-12-05 22:27:09 +00:00
|
|
|
|
2007-12-05 23:56:11 +00:00
|
|
|
* Tue Dec 14 2004 bjoern@hoehrmann.de
|
2007-12-05 22:27:09 +00:00
|
|
|
- Release version 0.51:
|
2008-04-09 19:29:40 +00:00
|
|
|
- encoding_from_html_document returned a list in scalar
|
|
|
|
context if the document had a XML declaration, fixed.
|
2007-12-05 23:02:49 +00:00
|
|
|
|
2007-12-05 23:56:11 +00:00
|
|
|
* Tue Nov 2 2004 bjoern@hoehrmann.de
|
2007-12-05 22:27:09 +00:00
|
|
|
- Release version 0.50:
|
2008-04-09 19:29:40 +00:00
|
|
|
- rewrite from scratch
|