8
0
Files
perl-Text-SimpleTable/perl-Text-SimpleTable.spec

49 lines
1.2 KiB
RPMSpec
Raw Normal View History

Name: perl-Text-SimpleTable
Version: 2.0
Release: 1%{?dist}
Summary: Simple Eyecandy ASCII Tables
License: Artistic 2.0
Group: Development/Libraries/Perl
URL: http://search.cpan.org/dist/Text-SimpleTable/
Source0: http://www.cpan.org/modules/by-module/Text/Text-SimpleTable-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 5.8.1
%{perl_requires}
%description
Simple eyecandy ASCII tables.
%prep
%setup -q -n Text-SimpleTable-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Jan 12 2010 Stefan Seifert <nine@detonation.org> 2.0-1
- Specfile autogenerated by cpanspec 1.78.