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

#
# spec file for package perl-Data-ShowTable (Version 3.3)
#
# Copyright (c) 2008 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:        704
Provides:       Data-ShowTable
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        GPL v2 or later
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

%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 <aks@sgi.com>

%prep
%setup -n Data-ShowTable-%{version}
%patch

%build
perl Makefile.PL
make
if test $ABUILD_RUN_TEST_SUITES = true ; then
	make test
fi

%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
/var/adm/perl-modules/%{name}

%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 adrian@suse.de
- buld as suer
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 21 2003 rommel@suse.de
- using perl_vendorlib and perl_vendorarch instead of
  perl_archlib and perl_sitearch
* Tue Jul 01 2003 ro@suse.de
- use perl_process_packlist macro
* Mon Jun 23 2003 ro@suse.de
- added directories to filelist
* Thu Aug 08 2002 mls@suse.de
- use sitearch macro
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Wed Nov 08 2000 ro@suse.de
- added BUILD_ROOT_DIR
* Tue Nov 07 2000 grimmer@suse.de
- removed BuildRoot Path from .packlist using sed
* Mon Nov 06 2000 grimmer@suse.de
- Initial Package (splitted from package mysql, where it
  was part of subpackage mysqperl), Version 3.3
openSUSE Build Service is sponsored by