[perl-HTML-Form] Initial import.

Emmanuel Seyman eseyman at fedoraproject.org
Tue Mar 29 12:27:35 UTC 2011


commit 86169f5f1d47d3a159b5c4c63796ef2291e25d00
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Tue Mar 29 14:27:28 2011 +0200

    Initial import.

 .gitignore          |    1 +
 perl-HTML-Form.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..abd1ea7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTML-Form-6.00.tar.gz
diff --git a/perl-HTML-Form.spec b/perl-HTML-Form.spec
new file mode 100644
index 0000000..4235e40
--- /dev/null
+++ b/perl-HTML-Form.spec
@@ -0,0 +1,59 @@
+Name:           perl-HTML-Form
+Version:        6.00
+Release:        2%{?dist}
+Summary:        Class that represents an HTML form element
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/HTML-Form/
+Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Form-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(HTML::TokeParser)
+BuildRequires:  perl(HTTP::Request) >= 6
+BuildRequires:  perl(HTTP::Request::Common) >= 6
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(URI)
+Requires:       perl(HTML::TokeParser)
+Requires:       perl(HTTP::Request) >= 6
+Requires:       perl(HTTP::Request::Common) >= 6
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Objects of the HTML::Form class represents a single HTML <form> ... </form>
+instance. A form consists of a sequence of inputs that usually have names,
+and which can take on various values. The state of a form can be tweaked
+and it can then be asked to provide HTTP::Request objects that can be
+passed to the request() method of LWP::UserAgent.
+
+%prep
+%setup -q -n HTML-Form-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Mar 29 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 6.00-2
+- Add missing Requires per review (#691226).
+
+* Sun Mar 27 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> 6.00-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b1e4025 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3ed73402b8f825c5c5060f05105610f4  HTML-Form-6.00.tar.gz


More information about the scm-commits mailing list