commit 1011e5446d0fac5a94bd97918052a37692b1f336 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Dec 8 18:22:39 2014 +0100 0.65 bump perl-Spreadsheet-ParseExcel.spec | 63 +++++++++++++++++++++++-------------- sources | 2 +- 2 files changed, 40 insertions(+), 25 deletions(-) --- diff --git a/perl-Spreadsheet-ParseExcel.spec b/perl-Spreadsheet-ParseExcel.spec index eae0981..d596ed3 100644 --- a/perl-Spreadsheet-ParseExcel.spec +++ b/perl-Spreadsheet-ParseExcel.spec @@ -2,31 +2,51 @@ %define debug_package %{nil} # Avoid Epoch inflation -%define module_version 0.59 +%define module_version 0.65 Name: perl-Spreadsheet-ParseExcel -Version: 0.5900 +Version: 0.6500 Release: 10%{?dist} Summary: Extract information from an Excel file License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Spreadsheet-ParseExcel/ -Source0: http://www.cpan.org/authors/id/J/JM/JMCNAMARA/Spreadsheet-ParseExcel-%{module_version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.cpan.org/authors/id/D/DO/DOUGW/Spreadsheet-ParseExcel-%{module_version}.tar.gz +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(constant) BuildRequires: perl(Crypt::RC4) BuildRequires: perl(Digest::Perl::MD5) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(IO::Scalar) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(IO::File) +# Unusued BuildRequires: perl(IO::Scalar) BuildRequires: perl(Jcode) BuildRequires: perl(OLE::Storage_Lite) >= 0.19 -BuildRequires: perl(Proc::ProcessTable) +BuildRequires: perl(Scalar::Util) BuildRequires: perl(Spreadsheet::WriteExcel) -BuildRequires: perl(Test::CPAN::Meta) -BuildRequires: perl(Test::MinimumVersion) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) +# Unused BuildRequires: perl(Text::CSV_XS) BuildRequires: perl(Unicode::Map) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +# Tests only +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Test::More) +# Optional tests +BuildRequires: perl(Perl::MinimumVersion) >= 1.20 +BuildRequires: perl(Pod::Simple) >= 3.07 +BuildRequires: perl(Test::CPAN::Meta) >= 0.12 +BuildRequires: perl(Test::MinimumVersion) >= 0.008 +BuildRequires: perl(Test::Pod) >= 1.26 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Text::CSV_XS) %description The Spreadsheet::ParseExcel module can be used to read information from an @@ -34,23 +54,19 @@ Excel 95-2003 file. %prep %setup -q -n Spreadsheet-ParseExcel-%{module_version} - +chmod -c a-x Changes examples/*.pl sample/*.pl # Fix line-endings of sample files -for file in README sample/* ; do +for file in sample/* ; do [ -f "$file" ] && %{__perl} -pi -e 's/\r\n/\n/' "$file" done %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot} - # For Spreadsheet::ParseExcel::FmtJapan2; see README for details install -D -m 644 -p CP932Excel.map \ %{buildroot}%{perl_vendorarch}/Unicode/Map/MS/WIN/CP932Excel.map @@ -58,11 +74,7 @@ install -D -m 644 -p CP932Excel.map \ %check make test AUTOMATED_TESTING=1 -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc Changes README README_Japan.htm examples/ sample/ %{perl_vendorarch}/Unicode/ %{perl_vendorlib}/Spreadsheet/ @@ -83,6 +95,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Spreadsheet::ParseExcel::Worksheet.3pm* %changelog +* Mon Dec 08 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.6500-10 +- 0.65 bump + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.5900-10 - Perl 5.20 rebuild diff --git a/sources b/sources index 4ef6208..0cbf4ef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7ed6487d09135a9ee6ae9c290dad3a5e Spreadsheet-ParseExcel-0.59.tar.gz +4b8857e3a391d86501c1b742b459ac9e Spreadsheet-ParseExcel-0.65.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