1 | Summary: Populates HTML Forms with CGI data with Perl |
---|
2 | Name: perl-HTML-FillInForm |
---|
3 | Version: 2.21 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/author/TJMATHER/HTML-FillInForm/ |
---|
8 | |
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/HTML-FillInForm-%{version}.tar.gz |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(HTML::Parser) >= 3.26 |
---|
14 | Requires: perl(HTML::Parser) >= 3.26 |
---|
15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
16 | |
---|
17 | Vendor: Project Vine |
---|
18 | Distribution: Vine Linux |
---|
19 | |
---|
20 | %description |
---|
21 | This module automatically inserts data from a previous HTML form into |
---|
22 | the HTML input and select tags. It is a subclass of HTML::Parser and |
---|
23 | uses it to parse the HTML and insert the values into the form tags. |
---|
24 | |
---|
25 | One useful application is after a user submits an HTML form without |
---|
26 | filling out required field. |
---|
27 | HTML::FillInForm can be used to redisplay the HTML form with all the |
---|
28 | form elements containing the submitted info. |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n HTML-FillInForm-%{version} |
---|
32 | |
---|
33 | %build |
---|
34 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" |
---|
35 | make |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf $RPM_BUILD_ROOT |
---|
39 | mkdir -p $RPM_BUILD_ROOT%{_prefix} |
---|
40 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
41 | |
---|
42 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
43 | find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';' |
---|
44 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
45 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
46 | |
---|
47 | %check |
---|
48 | make test |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root) |
---|
55 | %doc README Changes |
---|
56 | %{perl_vendorlib}/* |
---|
57 | %{_mandir}/*/* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.21-1 |
---|
61 | - updated to 2.21 |
---|
62 | - built with perl 5.16.3 |
---|
63 | |
---|
64 | * Sun May 22 2011 IWAI, Masaharu <iwai@alib.jp> 2.00-2 |
---|
65 | - build with perl 5.12.3 |
---|
66 | |
---|
67 | * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.00-1 |
---|
68 | - applied new versioning policy |
---|
69 | |
---|
70 | * Mon Oct 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.00-0vl1 |
---|
71 | - new upstream release |
---|
72 | - changed Group to Development/Libraries |
---|
73 | |
---|
74 | * Fri Sep 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.05-0vl1 |
---|
75 | - updated to 1.05 |
---|
76 | - use vendor_perl dir |
---|
77 | |
---|
78 | * Tue Apr 29 2003 IWAI Masaharu <iwai@alib.jp> 1.01-0vl1 |
---|
79 | - first build for Vine Linux |
---|