File perl-Spreadsheet-WriteExcel.spec of Package perl-Spreadsheet-WriteExcel
Name: perl-Spreadsheet-WriteExcel
BuildRequires: perl-Parse-RecDescent perl-OLE-Storage_Lite
BuildRequires: perl-macros
Url: http://search.cpan.org/search?module=Spreadsheet::WriteExcel
License: Artistic License
Group: Development/Libraries/Perl
Requires: perl-Parse-RecDescent
AutoReqProv: on
Summary: This Module can be Used to Create Excel Binary Files
Version: 2.37
Release: 1
Source: Spreadsheet-WriteExcel-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%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 Excel 5, 95,
97, 2000, and 2002.
The module will work on the majority of Windows, UNIX, and Macintosh
platforms. Generated files are also compatible with Gnumeric and
OpenOffice.org, the Linux/UNIX spreadsheet applications. The generated
files are not compatible with MS Access.
Authors:
--------
John McNamara (jmcnamara@cpan.org)
%debug_package
%prep
%setup -n Spreadsheet-WriteExcel-%{version}
%build
perl Makefile.PL
make
%ifnarch %arm
make test
%endif
%install
%if 0%{?suse_version}
%perl_make_install
%perl_process_packlist
%else
make DESTDIR=$RPM_BUILD_ROOT install_vendor
find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {}
find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Spreadsheet
%{perl_vendorlib}/Spreadsheet
/usr/bin/chartex
%doc Changes INSTALL MANIFEST README examples
%if 0%{?suse_version}
%endif
%changelog -n %{name}