3 %bcond_without tests # do not perform "make test"
6 %define pnam FillInForm
7 Summary: Populates HTML Forms with CGI data
8 Summary(pl.UTF-8): Wypełnia formę HTML z danymi CGI
9 Name: perl-HTML-FillInForm
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: f2ab6814077e3a2d41a456f34ecb028f
16 URL: http://search.cpan.org/dist/HTML-FillInForm/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-HTML-Parser >= 3.26
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This module automatically inserts data from a previous HTML form into
28 the HTML input and select tags. It is a subclass of HTML::Parser and
29 uses it to parse the HTML and insert the values into the form tags.
31 %description -l pl.UTF-8
32 Moduł automatycznie wstawia dane z poprzedniego formularza HTML w
33 wejście i tagi select HTML-a. Jest to podklasa HTML::Parser i korzysta
34 z niego do parsowania HTML i wstawiania danych w tagi formularza.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/HTML/FillInForm.pm