You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
2.6 KiB
89 lines
2.6 KiB
Name: perl-Text-TabularDisplay
|
|
Version: 1.22
|
|
Release: 11%{?dist}
|
|
Summary: Display text in formatted table output
|
|
# see TabularDisplay.pm's header
|
|
License: GPLv2
|
|
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
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.22-11
|
|
- Perl mass rebuild
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-9
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-8
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.22-7
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.22-4
|
|
- rebuild for new perl
|
|
|
|
* Wed May 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.22-3
|
|
- bump
|
|
|
|
* 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.
|