2007-01-16 00:30:50 +01:00
|
|
|
#
|
2010-09-21 13:06:16 +02:00
|
|
|
# spec file for package perl-HTML-Tree (Version 4.0 )
|
2007-01-16 00:30:50 +01:00
|
|
|
#
|
2010-01-12 11:53:03 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:30:50 +01:00
|
|
|
#
|
2009-06-18 00:14:55 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:30:50 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 00:14:55 +02:00
|
|
|
|
2007-01-16 00:30:50 +01:00
|
|
|
Name: perl-HTML-Tree
|
|
|
|
BuildRequires: perl-HTML-Parser
|
2010-12-03 15:37:55 +01:00
|
|
|
BuildRequires: perl-macros
|
2010-01-12 11:53:03 +01:00
|
|
|
License: Artistic ; GPLv2+ ; Other uncritical OpenSource License
|
2007-01-16 00:30:50 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2010-12-01 12:56:07 +01:00
|
|
|
Requires: perl-HTML-Parser perl-HTML-Tagset
|
2009-06-18 00:14:55 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:30:50 +01:00
|
|
|
Summary: Modules for representing, creating, and extracting information from HTML syntax trees
|
2010-09-21 13:06:16 +02:00
|
|
|
Version: 4.0
|
|
|
|
Release: 1
|
2007-01-16 00:30:50 +01:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETEK/HTML-Tree-%{version}.tar.bz2
|
2009-06-18 00:14:55 +02:00
|
|
|
Url: http://search.cpan.org/CPAN/authors/id/P/PE/PETEK/
|
2007-01-16 00:30:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 15:37:55 +01:00
|
|
|
%{perl_requires}
|
2007-01-16 00:30:50 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sean M. Burke <sburke@cpan.org>
|
|
|
|
|
|
|
|
%prep
|
2010-09-21 13:06:16 +02:00
|
|
|
%setup -n HTML-Tree-%{version} -q
|
2007-01-16 00:30:50 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 11:53:03 +01:00
|
|
|
make %{?_smp_mflags}
|
2010-09-21 13:06:16 +02:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:30:50 +01:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{perl_vendorlib}/HTML/*
|
|
|
|
%{perl_vendorarch}/auto/*
|
2010-09-21 13:06:16 +02:00
|
|
|
%{_bindir}/htmltree
|
2007-01-16 00:30:50 +01:00
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%doc README Changes
|
|
|
|
|
2009-06-18 00:14:55 +02:00
|
|
|
%changelog
|