# # spec file for package perl-HTML-TableExtract (Version 2.10) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-HTML-TableExtract URL: http://cpan.org/modules/by-module/HTML/ License: Public Domain, Freeware Group: Development/Libraries/Perl Autoreqprov: on 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 Release: 1 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 make %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 * Thu Aug 23 2007 - sbrabec@suse.cz - New SuSE package, version 1.13 (#242504).