%define upstream_name Excel-Template %define upstream_version 0.33 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Templating module that generates Excel License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Excel/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) >= 6.420.0 BuildRequires: perl(File::Basename) BuildRequires: perl(File::Path) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Scalar) BuildRequires: perl(Spreadsheet::WriteExcel) >= 0.420.0 BuildRequires: perl(Spreadsheet::WriteExcel::Utility) BuildRequires: perl(Test::Deep) >= 0.95.0 BuildRequires: perl(Test::Exception) >= 0.210.0 BuildRequires: perl(Test::More) BuildRequires: perl(XML::Parser) BuildArch: noarch %description This is a module used for templating Excel files. Its genesis came from the need to use the same datastructure as the HTML::Template manpage, but provide Excel files instead. The existing modules don't do the trick, as they require replication of logic that's already been done within the HTML::Template manpage. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes LICENSE META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Tue Feb 22 2011 jquelin <jquelin> 0.330.0-1.mga1 + Revision: 56546 - update to 0.33 * Sat Jan 22 2011 jquelin <jquelin> 0.320.0-1.mga1 + Revision: 31978 - mageia rebuild - imported package perl-Excel-Template * Sat Jan 01 2011 Guillaume Rousse <guillomovitch@mandriva.org> 0.320.0-1mdv2011.0 + Revision: 627063 - import perl-Excel-Template