8
0

- updated to 0.34

- Skip xml_simple.t if LibXML is not there (omega)
   - Remove failing invalid XPath tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Web-Scraper?expand=0&rev=2
This commit is contained in:
Stephan Kulow
2011-04-22 15:16:36 +00:00
committed by Git OBS Bridge
parent 5febe22e4c
commit 38227de95b
4 changed files with 54 additions and 37 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ac641a7ff1572fa6a1ba5de736e12ad33e9e8dad53fddc4f6efebbc49466f2c
size 60918

3
Web-Scraper-0.34.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2d4ee0c787441167784bab9f49a44b27608e25ab97fd9541c2dfee24f94063f
size 32538

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Apr 22 15:10:21 UTC 2011 - coolo@opensuse.org
- updated to 0.34
- Skip xml_simple.t if LibXML is not there (omega)
- Remove failing invalid XPath tests
-------------------------------------------------------------------
Sat Dec 25 01:13:53 UTC 2010 - pascal.bleser@opensuse.org

View File

@@ -1,48 +1,60 @@
# vim: set sw=4 ts=4 et nu:
# norootforbuild
#
# spec file for package perl-Web-Scraper (Version 0.34)
#
# Copyright (c) 2010 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/
#
Name: perl-Web-Scraper
Version: 0.32
Release: 0
Version: 0.34
Release: 1
License: GPL+ or Artistic
%define cpan_name Web-Scraper
Summary: Web Scraping Toolkit using HTML and CSS Selectors or XPath expressions
Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Web-Scraper-%{version}.tar.gz
URL: http://search.cpan.org/dist/Web-Scraper
Url: http://search.cpan.org/dist/Web-Scraper/
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(Test::More)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(HTML::TreeBuilder::XPath) >= 0.08
BuildRequires: perl(HTML::TreeBuilder::LibXML)
BuildRequires: perl(YAML)
BuildRequires: perl(URI)
BuildRequires: perl(XML::XPathEngine) >= 0.08
BuildRequires: perl(HTML::TreeBuilder) >= 3.23
BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::Selector::XPath) >= 0.03
BuildRequires: perl(HTML::Tagset)
BuildRequires: perl(UNIVERSAL::require)
BuildRequires: perl(HTML::TreeBuilder) >= 3.23
BuildRequires: perl(HTML::TreeBuilder::XPath) >= 0.08
BuildRequires: perl(LWP) >= 5.827
Requires: perl(Scalar::Util)
Requires: perl(HTML::TreeBuilder::XPath) >= 0.08
Requires: perl(HTML::TreeBuilder::LibXML)
Requires: perl(YAML)
Requires: perl(URI)
Requires: perl(XML::XPathEngine) >= 0.08
Requires: perl(HTML::TreeBuilder) >= 3.23
Requires: perl(Filter::Util::Call)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::Base)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Requires)
BuildRequires: perl(UNIVERSAL::require)
BuildRequires: perl(URI)
BuildRequires: perl(XML::XPathEngine) >= 0.08
BuildRequires: perl(YAML)
Requires: perl(HTML::Entities)
Requires: perl(HTML::Selector::XPath) >= 0.03
Requires: perl(HTML::Tagset)
Requires: perl(UNIVERSAL::require)
Requires: perl(HTML::TreeBuilder) >= 3.23
Requires: perl(HTML::TreeBuilder::XPath) >= 0.08
Requires: perl(LWP) >= 5.827
Requires: perl(Scalar::Util)
Requires: perl(UNIVERSAL::require)
Requires: perl(URI)
Requires: perl(XML::XPathEngine) >= 0.08
Requires: perl(YAML)
%{perl_requires}
%description
Web::Scraper is a web scraper toolkit, inspired by Ruby's equivalent
@@ -70,8 +82,8 @@ returning a neatly arranged Perl data strcuture.
%__sed -i '/^auto_install/d' Makefile.PL
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%install
%perl_make_install
@@ -94,8 +106,6 @@ done
%dir %{perl_vendorlib}/Web
%{perl_vendorlib}/Web/Scraper.pm
%{perl_vendorlib}/Web/Scraper
%dir %{perl_vendorarch}/auto/Web
%{perl_vendorarch}/auto/Web/Scraper
%doc %{perl_man3dir}/Web::Scraper.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Web::Scraper::*.%{perl_man3ext}%{ext_man}