2024-01-06 09:52:49 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-WWW-Mechanize
|
2024-01-31 09:49:30 +01:00
|
|
|
Version: 2.18
|
2024-01-06 09:52:50 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 09:52:49 +01:00
|
|
|
Summary: WWW::Mechanize - Handy web browsing in a Perl object
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 09:52:49 +01:00
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/WWW/WWW-Mechanize-%{version}.tar.gz
|
2024-01-06 09:52:49 +01:00
|
|
|
License: Artistic, GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 09:52:49 +01:00
|
|
|
BuildRequires: perl-HTML-Form
|
2024-01-06 09:52:49 +01:00
|
|
|
BuildRequires: perl-HTML-Parser
|
2024-01-06 09:52:49 +01:00
|
|
|
BuildRequires: perl-HTTP-Cookies
|
|
|
|
BuildRequires: perl-HTTP-Message
|
2024-01-06 09:52:50 +01:00
|
|
|
BuildRequires: perl-Scalar-List-Utils
|
2024-01-06 09:52:49 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:52:49 +01:00
|
|
|
BuildRequires: perl-libwww
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:52:50 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 09:52:49 +01:00
|
|
|
BuildRequires: perl-HTTP-Server-Simple
|
|
|
|
BuildRequires: perl-Test-Taint
|
|
|
|
BuildRequires: perl-Test-Memory-Cycle
|
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
2024-01-06 09:52:49 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
2024-01-06 09:52:49 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
WWW::Mechanize - Handy web browsing in a Perl object.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n WWW-Mechanize-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
|
|
|
%ifnarch x86_64
|
|
|
|
%make test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm $packlist
|
|
|
|
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-31 09:49:30 +01:00
|
|
|
* Wed Jan 31 2024 Automatic Build System <autodist@openmamba.org> 2.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:50 +01:00
|
|
|
* Fri Apr 28 2023 Automatic Build System <autodist@mambasoft.it> 2.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:50 +01:00
|
|
|
* Tue Apr 18 2023 Sdk Build System <sdk@mambasoft.it> 2.16-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 09:52:50 +01:00
|
|
|
* Sat Feb 11 2023 Automatic Build System <autodist@mambasoft.it> 2.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Mon Aug 22 2022 Automatic Build System <autodist@mambasoft.it> 2.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Tue Aug 16 2022 Automatic Build System <autodist@mambasoft.it> 2.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 29 2022 Automatic Build System <autodist@mambasoft.it> 2.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Thu Jul 21 2022 Automatic Build System <autodist@mambasoft.it> 2.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Mon Jul 18 2022 Automatic Build System <autodist@mambasoft.it> 2.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Tue Jul 05 2022 Automatic Build System <autodist@mambasoft.it> 2.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Wed Jun 15 2022 Automatic Build System <autodist@mambasoft.it> 2.09-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Tue May 31 2022 Automatic Build System <autodist@mambasoft.it> 2.08-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Sat Apr 30 2022 Automatic Build System <autodist@mambasoft.it> 2.07-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 2.06-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Tue Sep 21 2021 Automatic Build System <autodist@mambasoft.it> 2.05-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Fri Aug 06 2021 Automatic Build System <autodist@mambasoft.it> 2.04-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 2.03-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 1.72-1mamba
|
|
|
|
- update to 1.72
|
|
|
|
|
2024-01-06 09:52:49 +01:00
|
|
|
* Fri Nov 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.66-1mamba
|
|
|
|
- package created by autospec
|