parent
6881381059
commit
73b1d9b6a0
@ -0,0 +1 @@
|
|||||||
|
Text-TabularDisplay-1.22.tar.gz
|
@ -0,0 +1,61 @@
|
|||||||
|
Name: perl-Text-TabularDisplay
|
||||||
|
Version: 1.22
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Display text in formatted table output
|
||||||
|
# see TabularDisplay.pm's header
|
||||||
|
License: GPL
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Text-TabularDisplay/
|
||||||
|
Source0: http://www.cpan.org/authors/id/D/DA/DARREN/Text-TabularDisplay-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
# core
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Test)
|
||||||
|
#BuildRequires: perl(IO::File)
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
Text::TabularDisplay simplifies displaying textual data in a table. The
|
||||||
|
output is identical to the columnar display of query results in the mysql
|
||||||
|
text monitor. For example, this data:
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Text-TabularDisplay-%{version}
|
||||||
|
|
||||||
|
chmod -c -x t/* examples/*
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes README examples/ t/
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed May 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.22-2
|
||||||
|
- BR perl(Test), not perl(Test::More)
|
||||||
|
|
||||||
|
* Tue May 15 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.22-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.71.
|
Loading…
Reference in new issue