2011-03-03 21:21:00 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
|
|
|
|
|
|
|
Name: perl-Text-ASCIITable
|
|
|
|
Version: 0.18
|
|
|
|
Release: 0
|
|
|
|
Summary: Create a nice formatted table using ASCII characters
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/L/LU/LUNATIC/Text-ASCIITable-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/Text-ASCIITable
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
|
|
%{perl_requires}
|
|
|
|
BuildRequires: perl-macros
|
2011-03-03 23:35:15 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
2011-03-03 21:21:00 +00:00
|
|
|
%if 0%{?suse_version} >= 1120
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
Pretty nifty if you want to output dynamic text to your console or other
|
|
|
|
fixed-size-font displays, and at the same time it will display it in a nice
|
|
|
|
human-readable, or "cool" way.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Text-ASCIITable-%{version}"
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl ./Build.PL
|
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
|
|
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%dir %{perl_vendorlib}/Text
|
|
|
|
%{perl_vendorlib}/Text/ASCIITable.pm
|
|
|
|
%{perl_vendorlib}/Text/ASCIITable
|
|
|
|
%doc %{perl_man3dir}/Text::ASCIITable.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Text::ASCIITable::*.%{perl_man3ext}%{ext_man}
|
|
|
|
|