From 7151dbec1147471b795faea6845c2750ff47ec4c Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sep 18 2009 06:33:40 +0000 Subject: Initial import. --- diff --git a/.cvsignore b/.cvsignore index e69de29..7a2bd2d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Text-FormatTable-1.03.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..3022e7c --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Text-FormatTable-1_03-1_fc11:F-10:perl-Text-FormatTable-1.03-1.fc11.src.rpm:1253255682 diff --git a/perl-Text-FormatTable.spec b/perl-Text-FormatTable.spec new file mode 100644 index 0000000..504182e --- /dev/null +++ b/perl-Text-FormatTable.spec @@ -0,0 +1,52 @@ +Name: perl-Text-FormatTable +Version: 1.03 +Release: 1%{?dist} +Summary: Format text tables +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Text-FormatTable/ +Source0: http://www.cpan.org/authors/id/T/TR/TREY/Text-FormatTable-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Text::FormatTable renders simple tables as text. You pass to the +constructor (new) a table format specification similar to LaTeX (e.g. +r|l|5l|R|20L) and you call methods to fill the table data and insert rules. +After the data is filled, you call the render method and the table gets +formatted as text. + +%prep +%setup -q -n Text-FormatTable-%{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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Sep 15 2009 Emmanuel Seyman 1.03-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..7a8e61b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f97ad335d77095c296f8c672fee08f5b Text-FormatTable-1.03.tar.gz