Name: perl-HTML-Table Version: 2.05 Release: 1%{?dist} Summary: Create HTML tables using simple interface License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTML-Table/ Source0: http://www.cpan.org/modules/by-module/HTML/HTML-Table-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description HTML::Table is used to generate HTML tables for CGI scripts. By using the methods provided fairly complex tables can be created, manipulated, then printed from Perl scripts. The module also greatly simplifies creating tables within tables from Perl. It is possible to create an entire table using the methods provided and never use an HTML tag. HTML::Table also allows for creating dynamically sized tables via its addRow and addCol methods. These methods automatically resize the table if passed more cell values than will fit in the current table grid. Methods are provided for nearly all valid table, row, and cell tags specified for HTML 3.0. %prep %setup -q -n HTML-Table-%{version} for f in Changes Table.pm do iconv -f ISO-8859-1 -t UTF-8 -o ${f}.UTF-8 $f mv ${f}.UTF-8 $f done %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 ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu May 17 2007 Orion Poplawski 2.05-1 - Update to 2.05 * Tue Nov 7 2006 Orion Poplawski 2.04a-1 - Update to 2.04a * Wed Oct 12 2005 Orion Poplawski 2.02-1 - Specfile autogenerated.