]> git.pld-linux.org Git - packages/perl-HTML-Form.git/blame - perl-HTML-Form.spec
up to 6.11
[packages/perl-HTML-Form.git] / perl-HTML-Form.spec
CommitLineData
d5c8be98
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir HTML
6%define pnam Form
d5c8be98
JB
7Summary: HTML::Form - Class that represents an HTML form element
8Summary(pl.UTF-8): HTML::Form - klasa reprezentująca formularz HTML
9Name: perl-HTML-Form
91f371b9 10Version: 6.11
d5c8be98
JB
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
91f371b9 16# Source0-md5: 5348fbdee5ec572e21c1579d4eb183d3
f6030044 17URL: https://metacpan.org/release/HTML-Form
d5c8be98
JB
18BuildRequires: perl-devel >= 1:5.8.8
19BuildRequires: rpm-perlprov >= 4.1-13
f6030044 20BuildRequires: rpmbuild(macros) >= 1.745
d5c8be98
JB
21%if %{with tests}
22BuildRequires: perl-Encode >= 2
23BuildRequires: perl-HTML-Parser
24BuildRequires: perl-HTTP-Message >= 6
25BuildRequires: perl-URI >= 1.10
26%endif
28d14466
JB
27Requires: perl-Encode >= 2
28Requires: perl-HTML-Parser
29Requires: perl-URI >= 1.10
d5c8be98
JB
30Conflicts: perl-libwww < 6
31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Objects of the HTML::Form class represents a single HTML
36<form>...</form> instance. A form consists of a sequence of inputs
37that usually have names, and which can take on various values. The
38state of a form can be tweaked and it can then be asked to provide
39HTTP::Request objects that can be passed to the request() method of
40LWP::UserAgent.
41
42%description -l pl.UTF-8
43Obiekt klasy HTML::Form reprezentuje pojedynczą instancję formularza
44HTML (<form>...</form>). Formularz składa się z ciągu pól
45wprowadzania, zwykle mających swoje nazwy i mogących przyjmować
46różne wartości. Stan formularza może być zmieniany i po przekazaniu
47obiektów HTTP::Request może być przekazany do metody request()
48klasy LWP::UserAgent.
49
50%prep
51%setup -q -n %{pdir}-%{pnam}-%{version}
52
53%build
54%{__perl} Makefile.PL \
55 INSTALLDIRS=vendor
56%{__make}
57
58%{?with_tests:%{__make} test}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} pure_install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files
70%defattr(644,root,root,755)
fae8262f 71%doc Changes
d5c8be98 72%{perl_vendorlib}/HTML/Form.pm
91f371b9
JP
73%{perl_vendorlib}/HTML/Form
74%{_mandir}/man3/HTML::Form*.3pm*
This page took 0.237479 seconds and 4 git commands to generate.