%global pkg_name Spreadsheet-WriteExcel %global pkg_version 2.20 %global rpm_pkg_version 2.20 %global rpm_pkg_release 1.n0i.7 Summary: Write cross-platform Excel binary file Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/J/JM/JMCNAMARA/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %if %{!?_without_test:1}0 BuildRequires: perl(Test::More) BuildRequires: perl(File::Temp) BuildRequires: perl(OLE::Storage_Lite) >= 0.14 BuildRequires: perl(Parse::RecDescent) %endif %description The Spreadsheet::WriteExcel module can be used to create a cross-platform Excel binary file. Multiple worksheets can be added to a workbook and formatting can be applied to cells. Text, numbers, formulas, hyperlinks and images can be written to the cells. The Excel file produced by this module is compatible with 97, 2000, 2002 and 2003. The module will work on the majority of Windows, UNIX and Macintosh platforms. Generated files are also compatible with the Linux/UNIX spreadsheet applications Gnumeric and OpenOffice.org. This module cannot be used to write to an existing Excel file. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_encoding Changes charts/charts.*} %{fix_encoding -f CSSHIFTJIS examples/unicode_shift_jis.txt} %{fix_encoding -f iso-8859-1 doc/number_formats*.html doc/index.html} %{fix_eol} %{fix_perl_path charts/ examples/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b -m} %doc Changes charts/ doc/ examples/ README %changelog * Sun Oct 07 2007 Marius Feraru - 2.20-1.n0i.7 - version 2.20 * Tue May 22 2007 Marius Feraru - 2.18-1.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 2.18 * Fri Feb 03 2006 Marius Feraru - 2.16-1.n0i.5 - version 2.16 * Tue Sep 20 2005 Marius Feraru 2.15-1.n0i.4 - version 2.15 * Mon Aug 01 2005 Marius Feraru 2.14-1.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - version 2.14 * Thu Jan 29 2004 Marius FERARU 0.42-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Thu Oct 23 2003 Marius FERARU 0.42-0.n0i.1 - version 0.42 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001