File perl-HTML-Parser.spec of Package perl-HTML-Parser
#
# spec file for package perl-HTML-Parser (Version 3.56)
#
# Copyright (c) 2009 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-HTML-Parser
BuildRequires: perl-HTML-Tagset
Version: 3.56
Release: 1.<RELEASE85>
Provides: perl_htp
Obsoletes: perl_htp
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
Url: http://cpan.org/modules/by-module/HTML/
Summary: Perl HTML Interface
Source: HTML-Parser-%{version}.tar.bz2
Patch: %{name}-%{version}-entity.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl-HTML-Tagset
%description
This is a collection of modules that parse and extract information from
HTML documents.
Authors:
--------
libwww@perl.org
%prep
%setup -q -n HTML-Parser-%{version}
%patch -p1
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test
%install
rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist
chmod 755 eg/hform
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changes README TODO eg
%doc %{_mandir}/man?/*
%{perl_vendorarch}/HTML
%{perl_vendorarch}/auto/HTML
/var/adm/perl-modules/%{name}
%changelog