]> git.pld-linux.org Git - SPECS.git/blob - perl-HTTP-Request-Form.spec
SPECS updated Sun 1 Aug 15:50:02 CEST 2021
[SPECS.git] / perl-HTTP-Request-Form.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    HTTP
6 %define         pnam    Request-Form
7 Summary:        HTTP::Request::Form - construct HTTP::Request objects for form processing
8 Summary(pl.UTF-8):      HTTP::Request::Form - tworzenie obiektów HTTP::Request do przetwarzania formularzy
9 Name:           perl-HTTP-Request-Form
10 Version:        0.952
11 Release:        6
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  2d8e8af81725b1e5090f5e921f45c6cd
17 URL:            http://search.cpan.org/dist/HTTP-Request-Form/
18 BuildRequires:  perl-HTML-Tree
19 BuildRequires:  perl-URI
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  perl-libwww
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This is an extension of the HTTP::Request suite. It allows easy
28 processing of forms in a user agent by filling out fields, querying
29 fields, selections and buttons and pressing buttons. It uses
30 HTML::TreeBuilder generated parse trees of documents (especially the
31 forms parts extracted with extract_links) and generates it's own
32 internal representation of forms from which it then generates the
33 request objects to process the form application.
34
35 %description -l pl.UTF-8
36 Ten moduł jest rozszerzeniem zestawu HTTP::Request. Pozwala na łatwe
37 przetwarzanie formularzy po stronie klienta poprzez wypełnianie pól,
38 odczyt zawartości pól, zaznaczanie oraz naciskanie przycisków. Używa
39 wygenerowanych przez HTML::TreeBuilder drzew analizy dokumentów
40 (szczególnie do części formularzy wyciągniętych przez extract_links) i
41 generuje własną wewnętrzną reprezentację formularzy, z których
42 następnie generuje obiekty żądań do przetworzenia całości.
43
44 %prep
45 %setup -q -n %{pdir}-%{pnam}-%{version}
46
47 %build
48 %{__perl} Makefile.PL \
49         INSTALLDIRS=vendor
50 %{__make}
51
52 %{?with_tests:%{__make} test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc Changes README
66 %{perl_vendorlib}/HTTP/Request/Form.pm
67 %{_mandir}/man3/*
This page took 1.362766 seconds and 3 git commands to generate.