forked from pool/perl-HTML-FillInForm
- updated to 2.11
* Updated tests so that they pass with Perl 5.18 (Mark Stosberg) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-FillInForm?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
d531283a60
commit
bc0658d0db
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9f38053fcd39caa9796b2626ac7a6bfcbe8bbc026a8820572694b26279a093a2
|
|
||||||
size 17263
|
|
3
HTML-FillInForm-2.11.tar.gz
Normal file
3
HTML-FillInForm-2.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5e117cc9733023c1418a15c63bc48c1c74a148953dbe155346339a03cfdecad6
|
||||||
|
size 17740
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 10 12:12:33 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.11
|
||||||
|
* Updated tests so that they pass with Perl 5.18 (Mark Stosberg)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 30 01:34:15 UTC 2011 - vcizek@suse.com
|
Tue Aug 30 01:34:15 UTC 2011 - vcizek@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-FillInForm (Version 2.00)
|
# spec file for package perl-HTML-FillInForm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,53 +15,57 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-FillInForm
|
Name: perl-HTML-FillInForm
|
||||||
BuildRequires: perl-HTML-Parser
|
Version: 2.11
|
||||||
BuildRequires: perl-macros
|
Release: 0
|
||||||
Version: 2.1
|
%define cpan_name HTML-FillInForm
|
||||||
Release: 74
|
Summary: Populates HTML Forms with data.
|
||||||
Requires: perl-HTML-Parser >= 3.26
|
License: GPL-1.0+ or Artistic-1.0
|
||||||
AutoReqProv: on
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: GPL-1.0+ or Artistic
|
Url: http://search.cpan.org/dist/HTML-FillInForm/
|
||||||
Url: http://cpan.org/modules/by-module/HTML/
|
Source: http://www.cpan.org/authors/id/M/MA/MARKSTOS/%{cpan_name}-%{version}.tar.gz
|
||||||
Summary: Perl module HTML::FillInForm
|
BuildArch: noarch
|
||||||
Source: HTML-FillInForm-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(HTML::Parser) >= 3.26
|
||||||
|
BuildRequires: perl(HTML::TokeParser) >= 3.26
|
||||||
|
#BuildRequires: perl(HTML::FillInForm)
|
||||||
|
Requires: perl(HTML::Parser) >= 3.26
|
||||||
|
Requires: perl(HTML::TokeParser) >= 3.26
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module automatically inserts data from a previous HTML form into
|
This module fills in an HTML form with data from a Perl data structure,
|
||||||
the HTML input and select tags. It is a subclass of HTML::Parser and
|
allowing you to keep the HTML and Perl separate.
|
||||||
uses it to parse the HTML and insert the values into the form tags.
|
|
||||||
|
|
||||||
|
Here are two common use cases:
|
||||||
|
|
||||||
|
1. A user submits an HTML form without filling out a required field. You
|
||||||
|
want to redisplay the form with all the previous data in it, to make it
|
||||||
|
easy for the user to see and correct the error.
|
||||||
|
|
||||||
|
2. You have just retrieved a record from a database and need to display it
|
||||||
|
in an HTML form.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n HTML-FillInForm-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%defattr(-,root,root,755)
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorlib}/HTML
|
|
||||||
%{perl_vendorarch}/auto/HTML
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user