initial package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Table?expand=0&rev=1
This commit is contained in:
73
perl-HTML-Table.spec
Normal file
73
perl-HTML-Table.spec
Normal file
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package perl-HTML-Table
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-HTML-Table
|
||||
Version: 2.08a
|
||||
Release: 0
|
||||
%define cpan_name HTML-Table
|
||||
Summary: produces HTML tables
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/HTML-Table/
|
||||
Source: http://www.cpan.org/authors/id/A/AJ/AJPEACOCK/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
#BuildRequires: perl(HTML::Table)
|
||||
%{perl_requires}
|
||||
|
||||
%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.
|
||||
|
||||
A Japanese translation of the documentation is available at:
|
||||
|
||||
http://member.nifty.ne.jp/hippo2000/perltips/html/table.htm
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user