# the debuginfo package is empty %define debug_package %{nil} # Avoid Epoch inflation %define module_version 0.49 Name: perl-Spreadsheet-ParseExcel Version: 0.4900 Release: 9%{?dist}.art 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) BuildRequires: perl(IO::Scalar) BuildRequires: perl(Jcode) BuildRequires: perl(Module::Build) BuildRequires: perl(OLE::Storage_Lite) >= 0.08 BuildRequires: perl(Proc::ProcessTable) BuildRequires: perl(Spreadsheet::WriteExcel) BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Unicode::Map) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Spreadsheet::ParseExcel module can be used to read information from an Excel 95-2003 file. %prep %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 %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; install -d $RPM_BUILD_ROOT%{perl_vendorarch}/Unicode/Map/MS/WIN install -m644 CP932Excel.map $RPM_BUILD_ROOT%{perl_vendorarch}/Unicode/Map/MS/WIN/ %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README README_Japan.htm sample/ %{perl_vendorarch}/Unicode %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jul 21 2011 Petr Sabata - 0.4900-9 - Perl mass rebuild * Tue Jul 19 2011 Petr Sabata - 0.4900-8 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.4900-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 0.4900-6 - 661697 rebuild for fixing problems with vendorach/lib * Thu May 06 2010 Marcela Maslanova - 0.4900-5 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.4900-4 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.4900-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.4900-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 02 2009 Steven Pritchard 0.4900-1 - Update to 0.49. * Thu Jan 22 2009 Steven Pritchard 0.4700-1 - Update to 0.47. * Sat Jan 17 2009 Steven Pritchard 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 0.3300-1 - Update to 0.33. - Make Test::More dep versioned. - BR Test::Pod. * Mon Mar 3 2008 Tom "spot" Callaway - 0.3200-5 - rebuild for new perl (again) * Tue Feb 19 2008 Fedora Release Engineering - 0.3200-4 - Autorebuild for GCC 4.3 * Fri Feb 8 2008 Tom "spot" Callaway 0.3200-3 - rebuild for new perl * Thu Jan 10 2008 Ralf Corsépius 0.3200-2 - Update License-tag. - BR perl(Test::More) (BZ 419631). - Let package own %%{perl_vendorarch}/Unicode. * Sat May 19 2007 Steven Pritchard 0.3200-1 - Update to 0.32. * Fri Apr 06 2007 Steven Pritchard 0.3000-1 - Update to 0.30. - BR Proc::ProcessTable for better test coverage. * Wed Jan 17 2007 Steven Pritchard 0.2800-1 - Update to 0.28. - Drop typo fix. - BR: Spreadsheet::WriteExcel (for tests). * Wed Jan 17 2007 Steven Pritchard 0.2700-2 - Fix typo in Spreadsheet::ParseExcel::FmtUnicode. * Tue Jan 16 2007 Steven Pritchard 0.2700-1 - Update to 0.27. - Cleanup to more closely match cpanspec output. - Switch to Module::Build-based build. - BR: IO::Scalar, Unicode::Map, and Jcode. * Thu Oct 05 2006 Christian Iseli 0.2603-3 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Tue Sep 26 2006 Steven Pritchard 0.2603-2 - Fix find option order. * Sun May 14 2006 Michael A. Peters - 0.2603-1 - Install the CP932Excel.map file - makes package arch dependent * Wed May 10 2006 Michael A. Peters - 0.2603-0.2 - Changed license to GPL or Artistic per the ParseExcel.pm file * Wed May 10 2006 Michael A. Peters - 0.2603-0.1 - Initial packaging