perl-HTML-FillInForm/perl-HTML-FillInForm.spec

Name: perl-HTML-FillInForm
Summary: Populates HTML Forms with CGI data
Version: 2.00
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/HTML-FillInForm/
Description: This module automatically inserts data from a previous HTML form into the HTML input and select tags. It is a subclass of HTML::Parser and uses it to parse the HTML and insert the values into the form tags.

CentOS 7 x86_64

The build could not start because the following file is missing: HTML-FillInForm-2.00.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: HTML-FillInForm-2.00.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: T.J. Mather <tjmather$maxmind,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name HTML-FillInForm

Summary: Populates HTML Forms with CGI data
Name: perl-HTML-FillInForm
Version: 2.00
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/HTML-FillInForm/

Source: http://www.cpan.org/modules/by-module/HTML/HTML-FillInForm-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This module automatically inserts data from a previous HTML form into the HTML input and select
tags. It is a subclass of HTML::Parser and uses it to parse the HTML and insert the values into the form
tags.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/HTML::FillInForm.3pm*
%dir %{perl_vendorlib}/HTML/
#%{perl_vendorlib}/HTML/FillInForm/
%{perl_vendorlib}/HTML/FillInForm.pm

%changelog
* Tue Nov 13 2007 Dag Wieers <dag@wieers.com> - 2.00-1
- Updated to release 2.00.

* Sat Nov  5 2005 Dries Verachtert <dries@ulyssis.org> - 1.06-1
- Updated to release 1.06.

* Wed Dec 29 2004 Dries Verachtert <dries@ulyssis.org> - 1.05-1
- Updated to release 1.05.

* Wed Jun 16 2004 Dries Verachtert <dries@ulyssis.org> - 1.04-1
- Initial package.