diff --git a/.cvsignore b/.cvsignore index e69de29..ca17153 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Text-TabularDisplay-1.22.tar.gz diff --git a/perl-Text-TabularDisplay.spec b/perl-Text-TabularDisplay.spec new file mode 100644 index 0000000..649a883 --- /dev/null +++ b/perl-Text-TabularDisplay.spec @@ -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 1.22-2 +- BR perl(Test), not perl(Test::More) + +* Tue May 15 2007 Chris Weyl 1.22-1 +- Specfile autogenerated by cpanspec 1.71. diff --git a/sources b/sources index e69de29..8da87ba 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b97f4041a8b718661be1451b84e75f91 Text-TabularDisplay-1.22.tar.gz