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

# spec file for package perl-HTML-Tree
# Copyright (c) 2011 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

# norootforbuild

Name:           perl-HTML-Tree
BuildRequires:  perl-HTML-Parser
BuildRequires:  perl-macros
License:        Artistic ; GPLv2+ ; Other uncritical OpenSource License
Group:          Development/Libraries/Perl
Requires:       perl-HTML-Parser perl-HTML-Tagset
AutoReqProv:    on
Summary:        Modules for representing, creating, and extracting information from HTML syntax trees
Version:        4.1 
Release:        1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This distribution contains a suite of modules for representing,
creating, and extracting information from HTML syntax trees; there is
also relevent documentation.  These modules used to be part of the
libwww-perl distribution, but are now unbundled in order to facilitate
a separate development track.

    Sean M. Burke <>

%setup -n HTML-Tree-%{version} -q

perl Makefile.PL
make %{?_smp_mflags}

make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor

[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT

%defattr(-, root, root)
%doc %{_mandir}/man?/*
%doc README Changes

openSUSE Build Service is sponsored by