File perl-Data-ShowTable.spec of Package perl-Data-ShowTable

# spec file for package perl-Data-ShowTable
# Copyright (c) 2011 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

# norootforbuild

Name:           perl-Data-ShowTable
%define cpan_name Data-ShowTable
Version:        3.3
Release:        715
Provides:       Data-ShowTable
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        GPLv2+
Summary:        A Perl Module that allows Pretty-Printing of Data Arrays
Source:         %{cpan_name}-%{version}.tar.bz2
Patch:          %{cpan_name}-%{version}.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros

%description 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

    Alan K. Stebbens <>

%setup -n %{cpan_name}-%{version}

perl Makefile.PL

make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor

[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT

%defattr(-, root, root)
%doc Changes Copyright README
%doc %{_mandir}/man?/*

openSUSE Build Service is sponsored by