File perl-Text-ASCIITable.spec of Package perl-Text-ASCIITable

%define _name Text-ASCIITable
Name: perl-%{_name}
Version: 0.20
Release: 1
Summary: Create a nice formatted table using ASCII characters
Group: Applications/CPAN
License: Artistic-1.0 or GPL-1.0+
Source0: %{_name}-%{version}.tar.gz
URL: http://search.cpan.org/~lunatic/Text-ASCIITable/
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
%{perl_requires}


%description
%{summary}.

%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README


%prep
%setup -q -n %{_name}-%{version}


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

%install
./Build install --installdirs vendor  --destdir %{buildroot}
%perl_process_packlist
%perl_gen_filelist