perl-HTML-FillInForm-vl.spec 2.2 KB

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