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

# spec file for package perl-HTML-Encoding
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           perl-HTML-Encoding
Version:        0.61
Release:        0
Summary:        Determine the encoding of HTML/XML/XHTML documents
License:        GPL-1.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
BuildRequires:  perl
BuildRequires:  perl-HTML-Parser
BuildRequires:  perl-libwww-perl
BuildRequires:  perl-macros
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

HTML::Encoding helps to determine the encoding of HTML and XML/XHTML

%setup -q -n HTML-Encoding-%{version}
find . -type f | xargs chmod -c -x
find . -type f | xargs %{__perl} -pi -e 's/\r//g'

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

make test



%defattr(- ,root, root)
%doc Changes README
%dir %{perl_vendorlib}/HTML
%dir %{perl_vendorarch}/auto/HTML

openSUSE Build Service is sponsored by