Name: perl-Excel-Template Version: 0.34 Release: 29%{?dist} Summary: Create Excel files from templates License: GPL+ or Artistic URL: https://metacpan.org/release/Excel-Template Source0: https://cpan.metacpan.org/modules/by-module/Excel/Excel-Template-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter >= 1:5.6.0 BuildRequires: perl-generators BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::AutoInstall) BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::WriteAll) BuildRequires: sed # Run-time BuildRequires: perl(constant) BuildRequires: perl(File::Basename) BuildRequires: perl(IO::Scalar) BuildRequires: perl(Spreadsheet::WriteExcel) >= 0.42 BuildRequires: perl(Spreadsheet::WriteExcel::Utility) BuildRequires: perl(strict) BuildRequires: perl(Unicode::String) BuildRequires: perl(vars) BuildRequires: perl(XML::Parser) # Tests BuildRequires: perl(Data::Dumper) BuildRequires: perl(lib) BuildRequires: perl(Test::Deep) >= 0.095 BuildRequires: perl(Test::Exception) >= 0.21 BuildRequires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is a module used for templating Excel files. Its genesis came from the need to use the same data structure as HTML::Template, 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 HTML::Template. %prep %setup -q -n Excel-Template-%{version} # Remove bundled libraries rm -r inc sed -i -e '/^inc\// d' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps chmod 644 lib/Excel/Template/Element/Backref.pm chmod 644 lib/Excel/Template/Element/Cell.pm chmod 644 lib/Excel/Template/Element/Range.pm chmod 644 lib/Excel/Template/TextObject.pm 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 Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.34-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.34-28 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.34-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.34-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.34-25 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.34-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.34-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.34-22 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.34-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.34-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.34-19 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.34-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.34-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.34-16 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.34-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.34-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.34-13 - Perl 5.26 rebuild * Wed May 17 2017 Jitka Plesnikova - 0.34-12 - Fix building on Perl without '.' in @INC * Sat Feb 11 2017 Fedora Release Engineering - 0.34-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.34-10 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.34-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.34-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.34-7 - Perl 5.22 rebuild * Mon Sep 08 2014 Jitka Plesnikova - 0.34-6 - Perl 5.20 mass * Mon Sep 08 2014 Sven Nierlein 0.34-5 - removed more automatically recognized runtime requires * Mon Jul 28 2014 Sven Nierlein 0.34-4 - removed automatically recognized runtime requires * Tue May 20 2014 Sven Nierlein 0.34-3 - added perl compat requires - changed build requires / requires according to cpanspec * Sun Apr 06 2014 Sven Nierlein 0.34-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 0.34-1 - Specfile created