forked from pool/perl-Text-SimpleTable
Accepting request 31873 from home:niner9:perl
Copy from home:niner9:perl/perl-Text-SimpleTable via accept of submit request 31873 revision 1. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/31873 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-SimpleTable?expand=0&rev=1
This commit is contained in:
48
perl-Text-SimpleTable.spec
Normal file
48
perl-Text-SimpleTable.spec
Normal file
@@ -0,0 +1,48 @@
|
||||
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
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%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.
|
Reference in New Issue
Block a user