1 |
vip-ire |
1.1 |
Name: perl-WWW-Automate |
2 |
|
|
Version: 0.21 |
3 |
|
|
Release: 1%{?dist} |
4 |
|
|
Summary: Automate interaction with websites |
5 |
|
|
License: Artistic |
6 |
|
|
Group: Development/Libraries |
7 |
|
|
URL: http://search.cpan.org/dist/WWW-Automate/ |
8 |
|
|
Source0: http://www.cpan.org/authors/id/S/SK/SKUD/WWW-Automate-%{version}.tar.gz |
9 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
|
|
BuildArch: noarch |
11 |
|
|
BuildRequires: perl(Clone) >= 0.13 |
12 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker) |
13 |
|
|
BuildRequires: perl(HTML::Form) >= 0.03 |
14 |
|
|
BuildRequires: perl(HTML::TokeParser) >= 2.2 |
15 |
|
|
BuildRequires: perl(HTTP::Request) >= 1.2 |
16 |
|
|
BuildRequires: perl(LWP::UserAgent) >= 1.8 |
17 |
|
|
BuildRequires: perl(Test::More) >= 0.34 |
18 |
|
|
Requires: perl(Clone) >= 0.13 |
19 |
|
|
Requires: perl(HTML::Form) >= 0.03 |
20 |
|
|
Requires: perl(HTML::TokeParser) >= 2.2 |
21 |
|
|
Requires: perl(HTTP::Request) >= 1.2 |
22 |
|
|
Requires: perl(LWP::UserAgent) >= 1.8 |
23 |
|
|
Requires: perl(Test::More) >= 0.34 |
24 |
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
25 |
|
|
|
26 |
|
|
%description |
27 |
|
|
This module is intended to help you automate interaction with a website. It |
28 |
|
|
bears a not-very-remarkable outwards resemblance to WWW::Chat, on which it |
29 |
|
|
is based. The main difference between this module and WWW::Chat is that |
30 |
|
|
WWW::Chat requires a pre-processing stage before you can run your script, |
31 |
|
|
whereas WWW::Automate does not. |
32 |
|
|
|
33 |
|
|
%prep |
34 |
|
|
%setup -q -n WWW-Automate-%{version} |
35 |
|
|
|
36 |
|
|
%build |
37 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
38 |
|
|
make %{?_smp_mflags} |
39 |
|
|
|
40 |
|
|
%install |
41 |
|
|
rm -rf $RPM_BUILD_ROOT |
42 |
|
|
|
43 |
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
44 |
|
|
|
45 |
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
46 |
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
47 |
|
|
|
48 |
|
|
%{_fixperms} $RPM_BUILD_ROOT/* |
49 |
|
|
|
50 |
|
|
%clean |
51 |
|
|
rm -rf $RPM_BUILD_ROOT |
52 |
|
|
|
53 |
|
|
%files |
54 |
|
|
%defattr(-,root,root,-) |
55 |
|
|
%doc Changes |
56 |
|
|
%{perl_vendorlib}/* |
57 |
|
|
%{_mandir}/man3/* |
58 |
|
|
|
59 |
|
|
%changelog |
60 |
|
|
* Thu Mar 17 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.21-1 |
61 |
|
|
- First build using cpanspec [SME: 9312] |