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::TokeParser) >= 2.2 |
14 |
|
|
BuildRequires: perl(HTTP::Request) >= 1.2 |
15 |
|
|
BuildRequires: perl(LWP::UserAgent) >= 1.8 |
16 |
|
|
BuildRequires: perl(Test::More) >= 0.34 |
17 |
|
|
Requires: perl(Clone) >= 0.13 |
18 |
|
|
Requires: perl(HTML::TokeParser) >= 2.2 |
19 |
|
|
Requires: perl(HTTP::Request) >= 1.2 |
20 |
|
|
Requires: perl(LWP::UserAgent) >= 1.8 |
21 |
|
|
Requires: perl(Test::More) >= 0.34 |
22 |
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
This module is intended to help you automate interaction with a website. It |
26 |
|
|
bears a not-very-remarkable outwards resemblance to WWW::Chat, on which it |
27 |
|
|
is based. The main difference between this module and WWW::Chat is that |
28 |
|
|
WWW::Chat requires a pre-processing stage before you can run your script, |
29 |
|
|
whereas WWW::Automate does not. |
30 |
|
|
|
31 |
|
|
%prep |
32 |
|
|
%setup -q -n WWW-Automate-%{version} |
33 |
|
|
|
34 |
|
|
%build |
35 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
36 |
|
|
make %{?_smp_mflags} |
37 |
|
|
|
38 |
|
|
%install |
39 |
|
|
rm -rf $RPM_BUILD_ROOT |
40 |
|
|
|
41 |
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
42 |
|
|
|
43 |
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
44 |
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
45 |
|
|
|
46 |
|
|
%{_fixperms} $RPM_BUILD_ROOT/* |
47 |
|
|
|
48 |
|
|
%clean |
49 |
|
|
rm -rf $RPM_BUILD_ROOT |
50 |
|
|
|
51 |
|
|
%files |
52 |
|
|
%defattr(-,root,root,-) |
53 |
|
|
%doc Changes |
54 |
|
|
%{perl_vendorlib}/* |
55 |
|
|
%{_mandir}/man3/* |
56 |
|
|
|
57 |
|
|
%changelog |
58 |
|
|
* Thu Mar 17 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.21-1 |
59 |
|
|
- First build using cpanspec [SME: 9312] |