2007-09-02 02:40:41 +00:00
|
|
|
|
#
|
|
|
|
|
# spec file for package perl-HTML-TableExtract (Version 2.10)
|
|
|
|
|
#
|
2010-01-12 11:16:59 +00:00
|
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-09-02 02:40:41 +00:00
|
|
|
|
#
|
2009-06-18 15:05:54 +00: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-09-02 02:40:41 +00:00
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2009-06-18 15:05:54 +00:00
|
|
|
|
|
2007-09-02 02:40:41 +00:00
|
|
|
|
Name: perl-HTML-TableExtract
|
2009-06-18 15:05:54 +00:00
|
|
|
|
Url: http://cpan.org/modules/by-module/HTML/
|
2007-09-02 02:40:41 +00:00
|
|
|
|
License: Public Domain, Freeware
|
|
|
|
|
Group: Development/Libraries/Perl
|
2009-06-18 15:05:54 +00:00
|
|
|
|
AutoReqProv: on
|
2007-09-02 02:40:41 +00:00
|
|
|
|
Requires: perl-HTML-Parser
|
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
|
BuildRequires: perl-HTML-Parser
|
|
|
|
|
# Needed only for tests:
|
|
|
|
|
BuildRequires: perl-HTML-Tree perl-Test-Pod-Coverage
|
|
|
|
|
Summary: Simplifies extraction of information within tables in HTML documents
|
|
|
|
|
Version: 2.10
|
2010-01-12 11:16:59 +00:00
|
|
|
|
Release: 73
|
2007-09-02 02:40:41 +00:00
|
|
|
|
Source: HTML-TableExtract-%{version}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
HTML::TableExtract is a module that simplifies the extraction of
|
|
|
|
|
information contained in tables within HTML documents.
|
|
|
|
|
|
|
|
|
|
Tables of note may be specified using Headers, Depth, Count,
|
|
|
|
|
Attributes, or some combination of the three. See the module
|
|
|
|
|
documentation for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n HTML-TableExtract-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL
|
2010-01-12 11:16:59 +00:00
|
|
|
|
make %{?_smp_mflags}
|
2007-09-02 02:40:41 +00:00
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
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)
|
|
|
|
|
%doc Changes MANIFEST README
|
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
|
%{perl_vendorlib}/HTML
|
|
|
|
|
%{perl_vendorarch}/auto/HTML-TableExtract
|
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|