Blob Blame History Raw
Name:           perl-Text-SimpleTable
Version:        0.03
Release:        2%{?dist}
Summary:        Simple Eyecandy ASCII Tables
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Text-SimpleTable/
Source0:        http://www.cpan.org/authors/id/S/SR/SRI/Text-SimpleTable-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# Note pod coverage tests fail at the moment, so we disable them for now.

# core
BuildRequires:  perl(Test::More)
# cpan
BuildRequires:  perl(Module::Build)
# testing
#BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)

%description
Simple eyecandy ASCII tables, as seen in Catalyst.

%prep
%setup -q -n Text-SimpleTable-%{version}

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
rm -rf %{buildroot}

./Build install destdir=%{buildroot} create_packlist=0
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
#export TEST_POD=1
./Build test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-2
- bump

* Tue Apr 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
- Specfile autogenerated by cpanspec 1.70.