commit a718fcd5374d738c8ce4bd8f67afac8887ee09f2 Author: Michael Scherer <misc@xxxxxxxx> Date: Thu Jan 30 12:59:35 2014 +0000 Import the package .gitignore | 1 + perl-HTTP-Request-Form.spec | 55 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..bd6f5c9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/HTTP-Request-Form-0.952.tar.gz diff --git a/perl-HTTP-Request-Form.spec b/perl-HTTP-Request-Form.spec new file mode 100644 index 0000000..59e5c5b --- /dev/null +++ b/perl-HTTP-Request-Form.spec @@ -0,0 +1,55 @@ +Name: perl-HTTP-Request-Form +Version: 0.952 +Release: 1%{?dist} +Summary: Construct HTTP::Request objects for form processing +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/HTTP-Request-Form/ +Source0: http://www.cpan.org/authors/id/G/GB/GBAUER/HTTP-Request-Form-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(HTML::TreeBuilder) +BuildRequires: perl(HTTP::Request::Common) +BuildRequires: perl +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(URI::URL) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This is an extension of the HTTP::Request suite. It allows easy processing +of forms in a user agent by filling out fields, querying fields, selections +and buttons and pressing buttons. It uses HTML::TreeBuilder generated parse +trees of documents (especially the forms parts extracted with +extract_links) and generates it's own internal representation of forms from +which it then generates the request objects to process the form +application. + +%prep +%setup -q -n HTTP-Request-Form-%{version} + +%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 -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README ex +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jan 29 2014 Michael Scherer <misc@xxxxxxxx> 0.952-2 +- clean spec for upload after review + +* Sun Jan 26 2014 Michael Scherer <misc@xxxxxxxx> 0.952-1 +- Specfile autogenerated by cpanspec 1.78 and fixed by hand diff --git a/sources b/sources index e69de29..a60af0e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2d8e8af81725b1e5090f5e921f45c6cd HTTP-Request-Form-0.952.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel