2007-01-15 23:30:22 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Data-ShowTable (Version 3.3)
|
|
|
|
#
|
2010-10-19 10:53:19 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:22 +00:00
|
|
|
#
|
2008-10-23 02:42:51 +00:00
|
|
|
# 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/
|
2007-01-15 23:30:22 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-23 02:42:51 +00:00
|
|
|
Url: http://search.cpan.org/perldoc?Data::ShowTable
|
|
|
|
|
|
|
|
Name: perl-Data-ShowTable
|
|
|
|
Version: 3.3
|
2010-12-05 20:46:43 +00:00
|
|
|
Release: 714
|
2008-10-23 02:42:51 +00:00
|
|
|
Provides: Data-ShowTable
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
2010-10-19 10:53:19 +00:00
|
|
|
License: GPLv2+
|
2008-10-23 02:42:51 +00:00
|
|
|
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
|
2010-12-03 14:01:00 +00:00
|
|
|
%{perl_requires}
|
2010-10-19 10:53:15 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:01:00 +00:00
|
|
|
BuildRequires: perl-macros
|
2007-01-15 23:30:22 +00:00
|
|
|
|
|
|
|
%description
|
2008-10-23 02:42:51 +00:00
|
|
|
ShowTable.pm is a Perl 5 module which defines subroutines to print
|
|
|
|
arrays of data in nicely formatted listings. It uses one of four
|
2007-01-15 23:30:22 +00:00
|
|
|
possible formats: simple table, boxed table, list style, and
|
|
|
|
HTML-formatting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Alan K. Stebbens <aks@sgi.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Data-ShowTable-%{version}
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2009-01-16 00:50:31 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2007-01-15 23:30:22 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2008-10-23 02:42:51 +00:00
|
|
|
%changelog
|