Name: perl-HTML-TreeBuilderX-ASP_NET
Version: 0.09
Release: 28%{?dist}
Summary: Scrape ASP.NET/VB.NET sites which utilize Javascript POST-backs
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTML-TreeBuilderX-ASP_NET
Source0: https://cpan.metacpan.org/authors/id/E/EC/ECARROLL/HTML-TreeBuilderX-ASP_NET-%{version}.tar.gz
# merged upstream https://github.com/EvanCarroll/perl-html-treebuilderx-asp_net/pull/1
Patch0: HTML-TreeBuilderX-ASP_NET-new_moose.diff
Patch1: HTML-TreeBuilderX-ASP_NET-0.09-Fix-building-on-Perl-without-dot-in-INC.patch
BuildArch: noarch
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter >= 0:5.10.0
BuildRequires: perl-generators
BuildRequires: perl(Class::MOP)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTML::TreeBuilder)
BuildRequires: perl(HTTP::Request::Form)
BuildRequires: perl(Moose) >= 0.89
BuildRequires: perl(MooseX::Traits)
BuildRequires: perl(MooseX::Types) >= 0.19
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
BuildRequires: perl(mro)
BuildRequires: perl(vars)
BuildRequires: perl(strict)
BuildRequires: perl(Moose::Role)
BuildRequires: perl(HTML::Element)
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
BuildRequires: perl(FindBin)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Find)
BuildRequires: perl(ExtUtils::MM_Unix)
BuildRequires: perl(CPAN)
Requires: perl(Class::MOP)
Requires: perl(HTML::TreeBuilder)
Requires: perl(Moose) >= 0.89
Requires: perl(MooseX::Traits)
Requires: perl(MooseX::Types) >= 0.19
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%global __requires_exclude perl\\(Moose|perl\\(MooseX::Types
%description
Scrape ASP.NET sites which utilize the language's __VIEWSTATE,
__EVENTTARGET, __EVENTARGUMENT, __LASTFOCUS, et al. This module returns a
HTTP::Response from the form with the use of the method ->httpResponse.
%prep
%setup -q -n HTML-TreeBuilderX-ASP_NET-%{version}
%patch0 -p0
%patch1 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Jul 22 2022 Fedora Release Engineering - 0.09-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova - 0.09-27
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering - 0.09-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering - 0.09-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun May 23 2021 Jitka Plesnikova - 0.09-24
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering - 0.09-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering - 0.09-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova - 0.09-21
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering - 0.09-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering - 0.09-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 0.09-18
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering - 0.09-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 0.09-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 29 2018 Jitka Plesnikova - 0.09-15
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering - 0.09-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 0.09-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Jun 06 2017 Jitka Plesnikova - 0.09-12
- Perl 5.26 rebuild
* Tue May 23 2017 Jitka Plesnikova - 0.09-11
- Fix building on Perl without '.' in @INC
* Sat Feb 11 2017 Fedora Release Engineering - 0.09-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova - 0.09-9
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 0.09-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering - 0.09-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Jun 08 2015 Jitka Plesnikova - 0.09-6
- Perl 5.22 rebuild
* Thu May 14 2015 Michael Scherer 0.09-5
- fix build on rawhide
* Wed Jan 29 2014 Michael Scherer 0.09-4
- fix item found during the review
* Sun Jan 26 2014 Michael Scherer 0.09-3
- clean spec for Fedora submission
* Tue Apr 23 2013 Michael Scherer 0.09-2
- add patch to fix moose issue
* Tue Apr 23 2013 Michael Scherer 0.09-1
- Specfile autogenerated by cpanspec 1.78.