File perl-HTML-Encoding.spec of Package perl-HTML-Encoding

#
# spec file for package perl-HTML-Encoding (Version 0.60)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-HTML-Encoding
Version:        0.60
Release:        1
Summary:        Determine the encoding of HTML/XML/XHTML documents
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
Url:            http://search.cpan.org/dist/HTML-Encoding/
Source0:        HTML-Encoding-%{version}.tar.bz2
Requires:       perl = %{perl_version}
BuildRequires:  perl
BuildRequires:  perl-HTML-Parser
BuildRequires:  perl-libwww-perl
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
HTML::Encoding helps to determine the encoding of HTML and XML/XHTML
documents.



Authors:
--------
    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/
%dir %{perl_vendorarch}/auto/HTML/Encoding
%{perl_vendorarch}/auto/HTML/Encoding/.packlist
%{_mandir}/man3/HTML::Encoding*.gz
%{_var}/adm/perl-modules/perl-HTML-Encoding

%changelog
* Tue Jul 01 2008 pgajdos@suse.cz
- updated to 0.60:
  * minor bugfixes
  * added eg/detector.pl
  * added t/98podsyn.t
  * added t/99podcov.t
  * List URI as dependency to prevent test failure
* Tue Jun 24 2008 pgajdos@suse.cz
- updated to 0.57:
  * updated the pitfyful README file
  * fixed a performance problem in my_decode
* Thu Jan 17 2008 pgajdos@suse.cz
- updated to 0.56:
  * fixed line end issues in test
  * added basic test suite
* Fri Jul 27 2007 pgajdos@suse.cz
- package moved from OBS, version 0.53
  Thu Jun 21 00:00:00 CEST 2007 sierkb@gmx.de
- Spec file cleanups
  Wed May 23 00:00:00 CEST 2007 sierkb@gmx.de
- 0.53
  Tue May 22 00:00:00 CEST 2007 sierkb@gmx.de
- First openSUSE Build.
openSUSE Build Service is sponsored by