]> git.pld-linux.org Git - packages/perl-HTML-FillInForm.git/blob - perl-HTML-FillInForm.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-HTML-FillInForm.git] / perl-HTML-FillInForm.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    HTML
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
10 Version:        2.00
11 Release:        1
12 License:        Artistic
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
19 %if %{with tests}
20 BuildRequires:  perl-HTML-Parser >= 3.26
21 %endif
22 Requires:       perl-dirs
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
30
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.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes README
59 %{perl_vendorlib}/HTML/FillInForm.pm
60 %{_mandir}/man3/*
This page took 0.086224 seconds and 4 git commands to generate.