# # spec file for package perl-Data-ShowTable (Version 3.3) # # Copyright (c) 2010 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/ # # norootforbuild Url: http://search.cpan.org/perldoc?Data::ShowTable Name: perl-Data-ShowTable Version: 3.3 Release: 714 Provides: Data-ShowTable AutoReqProv: on Group: Development/Libraries/Perl License: GPLv2+ Summary: A Perl Module that allows Pretty-Printing of Data Arrays Source: http://www.cpan.org/modules/by-module/Data/Data-ShowTable-%{version}.tar.gz Patch: Data-ShowTable-%{version}.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros %description ShowTable.pm is a Perl 5 module which defines subroutines to print arrays of data in nicely formatted listings. It uses one of four possible formats: simple table, boxed table, list style, and HTML-formatting. Authors: -------- Alan K. Stebbens %prep %setup -n Data-ShowTable-%{version} %patch %build perl Makefile.PL make %check make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc Changes Copyright README %doc %{_mandir}/man?/* %{perl_vendorlib}/Data %{perl_vendorarch}/auto/Data %{_bindir}/showtable %changelog