forked from pool/perl-HTML-TableExtract
75 lines
2.2 KiB
RPMSpec
75 lines
2.2 KiB
RPMSpec
#
|
||
# spec file for package perl-HTML-TableExtract (Version 2.10)
|
||
#
|
||
# 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-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: 72
|
||
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).
|