|
|
@ -2,16 +2,16 @@
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
# Avoid Epoch inflation
|
|
|
|
# Avoid Epoch inflation
|
|
|
|
%define module_version 0.33
|
|
|
|
%define module_version 0.45
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Spreadsheet-ParseExcel
|
|
|
|
Name: perl-Spreadsheet-ParseExcel
|
|
|
|
Version: 0.3300
|
|
|
|
Version: 0.4500
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Get information from an Excel file
|
|
|
|
Summary: Extract information from an Excel file
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Spreadsheet-ParseExcel/
|
|
|
|
URL: http://search.cpan.org/dist/Spreadsheet-ParseExcel/
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SZ/SZABGAB/Spreadsheet-ParseExcel-%{module_version}.tar.gz
|
|
|
|
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)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: perl(IO::Scalar)
|
|
|
|
BuildRequires: perl(IO::Scalar)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
@ -25,12 +25,16 @@ BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This module allows you to get information from an Excel file.
|
|
|
|
The Spreadsheet::ParseExcel module can be used to read information from an
|
|
|
|
The module can handle files of Excel95, 97, 2000, and Excel4.
|
|
|
|
Excel 95-2003 file.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Spreadsheet-ParseExcel-%{module_version}
|
|
|
|
%setup -q -n Spreadsheet-ParseExcel-%{module_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for file in README sample/* ; do
|
|
|
|
|
|
|
|
[ -f "$file" ] && %{__perl} -pi -e 's/\r\n/\n/' "$file"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build
|
|
|
|
./Build
|
|
|
@ -60,8 +64,15 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jan 17 2009 Steven Pritchard <steve@kspei.com> 0.4500-1
|
|
|
|
|
|
|
|
- Update to 0.45.
|
|
|
|
|
|
|
|
- s/Get/Extract/ in Summary.
|
|
|
|
|
|
|
|
- Update Source0 URL.
|
|
|
|
|
|
|
|
- Update description.
|
|
|
|
|
|
|
|
- Fix line endings in README and samples.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 11 2008 Steven Pritchard <steve@kspei.com> 0.3300-1
|
|
|
|
* Thu Dec 11 2008 Steven Pritchard <steve@kspei.com> 0.3300-1
|
|
|
|
- Update to 0.3300.
|
|
|
|
- Update to 0.33.
|
|
|
|
- Make Test::More dep versioned.
|
|
|
|
- Make Test::More dep versioned.
|
|
|
|
- BR Test::Pod.
|
|
|
|
- BR Test::Pod.
|
|
|
|
|
|
|
|
|
|
|
|