commit 926bd1db6d141055feb0c33abd58f1e566b3417e Author: Sven Nierlein <sven.nierlein@xxxxxxxxx> Date: Sun Dec 28 12:51:56 2014 +0100 Initial import (#1080203). .gitignore | 1 + perl-Excel-Template-Plus.spec | 86 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 88 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..dcfd16e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Excel-Template-Plus-0.05.tar.gz diff --git a/perl-Excel-Template-Plus.spec b/perl-Excel-Template-Plus.spec new file mode 100644 index 0000000..a1e698a --- /dev/null +++ b/perl-Excel-Template-Plus.spec @@ -0,0 +1,86 @@ +Name: perl-Excel-Template-Plus +Version: 0.05 +Release: 4%{?dist} +Summary: Extension to the Excel::Template module +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Excel-Template-Plus/ +Source0: http://www.cpan.org/modules/by-module/Excel/Excel-Template-Plus-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Excel::Template) +BuildRequires: perl(FindBin) +BuildRequires: perl(IO::String) +BuildRequires: perl(Moose) >= 0.18 +BuildRequires: perl(MooseX::Param) >= 0.01 +BuildRequires: perl(Spreadsheet::ParseExcel) +BuildRequires: perl(Template) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Exception) >= 0.21 +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(warnings) +Requires: perl(Moose) >= 0.18 +Requires: perl(MooseX::Param) >= 0.01 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Moose\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(MooseX::Param\\)$ + +%description +This module is an extension of the Excel::Template module, which allows +the user to use various "engines" from which you can create Excel files +through Excel::Template. +The idea is to use the existing (and very solid) excel file generation +code in Excel::Template, but to extend its more templatey bits with more +powerful options. +The only engine currently provided is the Template Toolkit engine, which +replaces Excel::Template's built in template features (the LOOP, and IF +constructs) with the full power of TT. This is similar to the module +Excel::Template::TT, but expands on that even further to try and create +a more extensive system. + +%prep +%setup -q -n Excel-Template-Plus-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc ChangeLog README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Dec 19 2014 Sven Nierlein <sven.nierlein@xxxxxxxxx> 0.05-4 +- updated build requires / requires + +* Tue May 20 2014 Sven Nierlein <sven.nierlein@xxxxxxxxx> 0.05-3 +- added perl build requires / requires according to cpanspec +- added perl compat requires + +* Sun Apr 06 2014 Sven Nierlein <sven.nierlein@xxxxxxxxx> 0.05-2 +- added perl build requires +- added Changes and README +- use DESTDIR as install target folder +- removed unnecessary build steps + +* Sun Mar 23 2014 Sven Nierlein <sven.nierlein@xxxxxxxxx> 0.05-1 +- Specfile created diff --git a/sources b/sources index e69de29..0597c8d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1d6c1c9ed09249c8433250fa6a2c1368 Excel-Template-Plus-0.05.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel