2011-04-22 07:30:05 +00:00
|
|
|
#
|
2015-04-15 07:40:48 +00:00
|
|
|
# spec file for package perl-HTML-Selector-XPath
|
2011-04-22 07:30:05 +00:00
|
|
|
#
|
Accepting request 640453 from devel:languages:perl:autoupdate
- Fix build
- updated to 0.23
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
- updated to 0.20
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
- updated to 0.18
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
0.18 NEXT
- Fix bug in `:not(...)[attr] (Aaron Crane)
- Support `:nth-child(odd)` and `:nth-child(even)` (Aaron Crane)
- Translation of `[attr$=tail]` works with XPath 1.0 (Aaron Crane)
0.17
- Support unicode characters for id and class selectors (aereal)
- Normalize space characters of the class attribute (hitode909)
0.16
- Added link to repository (D. Steinbrunner)
0.15
- Fix bugs in :contains("string") (Aaron Crane)
0.14
- Also allow single quotes in attribute expressions,
as seems to be allowed
per http://www.w3.org/TR/CSS2/syndata.html
0.13
- Added C<prefix> option to add a prefix like C<xhtml>,
contributed by Toby Inkster
This closes RT #73719
0.12
- Add tests and fix negated selectors as reported
by Nilson Santos Figueiredo Junior
0.11
- Add test to MANIFEST so it also ships
0.10
- Identifiers are now parsed closer to the CSS3 spec
- Certain invalid attribute selectors now raise an exception
0.09
- Fix bug in attribute-value-substring selectors where
the CSS attributes were wrongly assumed to be
specified with @href (Aaron Crane)
- Make test suite less verbose (Aaron Crane)
0.08
- Fix bug when combining selectors (p , q). Whitespace created invalid
XPath expressions there. (Corion)
- Fix bug when combining :root selectors as the second selector.
The first selector was modified. (Corion)
- :root now acts relative to the given "root" option,
not the document root (Corion)
- More css3 selectors support (Corion)
- updated to 0.11
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
0.11
- Add test to MANIFEST so it also ships
0.10
- Identifiers are now parsed closer to the CSS3 spec
- Certain invalid attribute selectors now raise an exception
0.09
- Fix bug in attribute-value-substring selectors where
the CSS attributes were wrongly assumed to be
specified with @href (Aaron Crane)
- Make test suite less verbose (Aaron Crane)
0.08
- Fix bug when combining selectors (p , q). Whitespace created invalid
XPath expressions there. (Corion)
- Fix bug when combining :root selectors as the second selector.
The first selector was modified. (Corion)
- :root now acts relative to the given "root" option,
not the document root (Corion)
- More css3 selectors support (Corion)
- updated to 0.07
- Added a COPYRIGHT section
- Add CSS3 "=$" operator (Corion)
- Add CSS3 "=^" operator (Corion)
- Add complex subexpressions for :not() (Corion)
- Add :empty selector (Corion)
- Support 'root' parameters to to_xpath (JZOBEL, David Wheeler, Corion)
- Add CSS3 "=*" operator for real substring matching (Corion)
- Add CSS3 ":first-of-type" and ":nth-of-type()" pseudo-attributes (Corion)
(but if you're using them, you're likely better off using XPath already)
- Add CSS3 "~" operator (Corion)
- Adopt tests for "~" operator from RT #61990, by Aaron Crane (Corion)
- Add :contains() selector (only immediate child nodes) (Corion)
- Support implicit selectors like "> em" (translated to "* > em") (Corion)
Fixes RT #50131 (Reported by David Wheeler)
- Fix more implicit universal selectors (fixes RT #49982)
:lang(c) as a bare selector works now (Corion, Aaron Crane)
- initial package (0.04)
OBS-URL: https://build.opensuse.org/request/show/640453
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Selector-XPath?expand=0&rev=8
2018-10-07 19:04:06 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-04-22 07:30:05 +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.
|
|
|
|
|
2018-11-08 15:24:58 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-04-22 07:30:05 +00:00
|
|
|
#
|
2010-12-25 01:01:04 +00:00
|
|
|
|
2015-04-15 07:40:48 +00:00
|
|
|
|
2010-12-25 01:01:04 +00:00
|
|
|
Name: perl-HTML-Selector-XPath
|
2018-11-08 15:24:58 +00:00
|
|
|
Version: 0.25
|
2015-04-15 07:40:48 +00:00
|
|
|
Release: 0
|
2011-04-22 07:30:05 +00:00
|
|
|
%define cpan_name HTML-Selector-XPath
|
2010-12-25 01:01:04 +00:00
|
|
|
Summary: CSS Selector to XPath compiler
|
Accepting request 640453 from devel:languages:perl:autoupdate
- Fix build
- updated to 0.23
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
- updated to 0.20
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
- updated to 0.18
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
0.18 NEXT
- Fix bug in `:not(...)[attr] (Aaron Crane)
- Support `:nth-child(odd)` and `:nth-child(even)` (Aaron Crane)
- Translation of `[attr$=tail]` works with XPath 1.0 (Aaron Crane)
0.17
- Support unicode characters for id and class selectors (aereal)
- Normalize space characters of the class attribute (hitode909)
0.16
- Added link to repository (D. Steinbrunner)
0.15
- Fix bugs in :contains("string") (Aaron Crane)
0.14
- Also allow single quotes in attribute expressions,
as seems to be allowed
per http://www.w3.org/TR/CSS2/syndata.html
0.13
- Added C<prefix> option to add a prefix like C<xhtml>,
contributed by Toby Inkster
This closes RT #73719
0.12
- Add tests and fix negated selectors as reported
by Nilson Santos Figueiredo Junior
0.11
- Add test to MANIFEST so it also ships
0.10
- Identifiers are now parsed closer to the CSS3 spec
- Certain invalid attribute selectors now raise an exception
0.09
- Fix bug in attribute-value-substring selectors where
the CSS attributes were wrongly assumed to be
specified with @href (Aaron Crane)
- Make test suite less verbose (Aaron Crane)
0.08
- Fix bug when combining selectors (p , q). Whitespace created invalid
XPath expressions there. (Corion)
- Fix bug when combining :root selectors as the second selector.
The first selector was modified. (Corion)
- :root now acts relative to the given "root" option,
not the document root (Corion)
- More css3 selectors support (Corion)
- updated to 0.11
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
0.11
- Add test to MANIFEST so it also ships
0.10
- Identifiers are now parsed closer to the CSS3 spec
- Certain invalid attribute selectors now raise an exception
0.09
- Fix bug in attribute-value-substring selectors where
the CSS attributes were wrongly assumed to be
specified with @href (Aaron Crane)
- Make test suite less verbose (Aaron Crane)
0.08
- Fix bug when combining selectors (p , q). Whitespace created invalid
XPath expressions there. (Corion)
- Fix bug when combining :root selectors as the second selector.
The first selector was modified. (Corion)
- :root now acts relative to the given "root" option,
not the document root (Corion)
- More css3 selectors support (Corion)
- updated to 0.07
- Added a COPYRIGHT section
- Add CSS3 "=$" operator (Corion)
- Add CSS3 "=^" operator (Corion)
- Add complex subexpressions for :not() (Corion)
- Add :empty selector (Corion)
- Support 'root' parameters to to_xpath (JZOBEL, David Wheeler, Corion)
- Add CSS3 "=*" operator for real substring matching (Corion)
- Add CSS3 ":first-of-type" and ":nth-of-type()" pseudo-attributes (Corion)
(but if you're using them, you're likely better off using XPath already)
- Add CSS3 "~" operator (Corion)
- Adopt tests for "~" operator from RT #61990, by Aaron Crane (Corion)
- Add :contains() selector (only immediate child nodes) (Corion)
- Support implicit selectors like "> em" (translated to "* > em") (Corion)
Fixes RT #50131 (Reported by David Wheeler)
- Fix more implicit universal selectors (fixes RT #49982)
:lang(c) as a bare selector works now (Corion, Aaron Crane)
- initial package (0.04)
OBS-URL: https://build.opensuse.org/request/show/640453
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Selector-XPath?expand=0&rev=8
2018-10-07 19:04:06 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2010-12-25 01:01:04 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2018-11-08 15:24:58 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
Accepting request 640453 from devel:languages:perl:autoupdate
- Fix build
- updated to 0.23
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
- updated to 0.20
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
- updated to 0.18
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
0.18 NEXT
- Fix bug in `:not(...)[attr] (Aaron Crane)
- Support `:nth-child(odd)` and `:nth-child(even)` (Aaron Crane)
- Translation of `[attr$=tail]` works with XPath 1.0 (Aaron Crane)
0.17
- Support unicode characters for id and class selectors (aereal)
- Normalize space characters of the class attribute (hitode909)
0.16
- Added link to repository (D. Steinbrunner)
0.15
- Fix bugs in :contains("string") (Aaron Crane)
0.14
- Also allow single quotes in attribute expressions,
as seems to be allowed
per http://www.w3.org/TR/CSS2/syndata.html
0.13
- Added C<prefix> option to add a prefix like C<xhtml>,
contributed by Toby Inkster
This closes RT #73719
0.12
- Add tests and fix negated selectors as reported
by Nilson Santos Figueiredo Junior
0.11
- Add test to MANIFEST so it also ships
0.10
- Identifiers are now parsed closer to the CSS3 spec
- Certain invalid attribute selectors now raise an exception
0.09
- Fix bug in attribute-value-substring selectors where
the CSS attributes were wrongly assumed to be
specified with @href (Aaron Crane)
- Make test suite less verbose (Aaron Crane)
0.08
- Fix bug when combining selectors (p , q). Whitespace created invalid
XPath expressions there. (Corion)
- Fix bug when combining :root selectors as the second selector.
The first selector was modified. (Corion)
- :root now acts relative to the given "root" option,
not the document root (Corion)
- More css3 selectors support (Corion)
- updated to 0.11
see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
0.11
- Add test to MANIFEST so it also ships
0.10
- Identifiers are now parsed closer to the CSS3 spec
- Certain invalid attribute selectors now raise an exception
0.09
- Fix bug in attribute-value-substring selectors where
the CSS attributes were wrongly assumed to be
specified with @href (Aaron Crane)
- Make test suite less verbose (Aaron Crane)
0.08
- Fix bug when combining selectors (p , q). Whitespace created invalid
XPath expressions there. (Corion)
- Fix bug when combining :root selectors as the second selector.
The first selector was modified. (Corion)
- :root now acts relative to the given "root" option,
not the document root (Corion)
- More css3 selectors support (Corion)
- updated to 0.07
- Added a COPYRIGHT section
- Add CSS3 "=$" operator (Corion)
- Add CSS3 "=^" operator (Corion)
- Add complex subexpressions for :not() (Corion)
- Add :empty selector (Corion)
- Support 'root' parameters to to_xpath (JZOBEL, David Wheeler, Corion)
- Add CSS3 "=*" operator for real substring matching (Corion)
- Add CSS3 ":first-of-type" and ":nth-of-type()" pseudo-attributes (Corion)
(but if you're using them, you're likely better off using XPath already)
- Add CSS3 "~" operator (Corion)
- Adopt tests for "~" operator from RT #61990, by Aaron Crane (Corion)
- Add :contains() selector (only immediate child nodes) (Corion)
- Support implicit selectors like "> em" (translated to "* > em") (Corion)
Fixes RT #50131 (Reported by David Wheeler)
- Fix more implicit universal selectors (fixes RT #49982)
:lang(c) as a bare selector works now (Corion, Aaron Crane)
- initial package (0.04)
OBS-URL: https://build.opensuse.org/request/show/640453
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Selector-XPath?expand=0&rev=8
2018-10-07 19:04:06 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz
|
2016-05-25 07:51:09 +00:00
|
|
|
Source1: cpanspec.yml
|
2011-04-22 07:30:05 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-25 01:01:04 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-04-22 07:30:05 +00:00
|
|
|
BuildRequires: perl(Test::Base)
|
|
|
|
%{perl_requires}
|
2010-12-25 01:01:04 +00:00
|
|
|
|
|
|
|
%description
|
2011-04-22 07:30:05 +00:00
|
|
|
HTML::Selector::XPath is a utility function to compile full set of CSS2 and
|
|
|
|
partial CSS3 selectors to the equivalent XPath expression.
|
2010-12-25 01:01:04 +00:00
|
|
|
|
|
|
|
%prep
|
2011-04-22 07:30:05 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2010-12-25 01:01:04 +00:00
|
|
|
|
|
|
|
%build
|
2018-11-08 15:24:58 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2011-04-22 07:30:05 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2010-12-25 01:01:04 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2011-04-22 07:30:05 +00:00
|
|
|
%perl_gen_filelist
|
2010-12-25 01:01:04 +00:00
|
|
|
|
2011-04-22 07:30:05 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2010-12-25 01:01:04 +00:00
|
|
|
%doc Changes README
|
|
|
|
|
2011-04-22 07:30:05 +00:00
|
|
|
%changelog
|