source: projects/specs/trunk/p/perl-HTML-FillInForm/perl-HTML-FillInForm-vl.spec @ 9189

Revision 9189, 2.2 KB checked in by inagaki, 9 years ago (diff)

2014-12-24 Ryoichi INAGAKI <ryo1@…>


Line 
1Summary: Populates HTML Forms with CGI data with Perl
2Name: perl-HTML-FillInForm
3Version: 2.21
4Release: 1%{?_dist_release}
5License: Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/author/TJMATHER/HTML-FillInForm/
8
9Source0: http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/HTML-FillInForm-%{version}.tar.gz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12BuildArch: noarch
13BuildRequires: perl(HTML::Parser) >= 3.26
14Requires: perl(HTML::Parser) >= 3.26
15Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21This module automatically inserts data from a previous HTML form into
22the HTML input and select tags. It is a subclass of HTML::Parser and
23uses it to parse the HTML and insert the values into the form tags.
24
25One useful application is after a user submits an HTML form without
26filling out required field.
27HTML::FillInForm can be used to redisplay the HTML form with all the
28form elements containing the submitted info.
29
30%prep
31%setup -q -n HTML-FillInForm-%{version}
32
33%build
34CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
35make
36
37%install
38rm -rf $RPM_BUILD_ROOT
39mkdir -p $RPM_BUILD_ROOT%{_prefix}
40make DESTDIR=$RPM_BUILD_ROOT install
41
42find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
43find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
44find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
45chmod -R u+w $RPM_BUILD_ROOT/*
46
47%check
48make test
49
50%clean
51rm -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
Note: See TracBrowser for help on using the repository browser.