2010-06-22 09:39:11 +00:00
|
|
|
Name: perl-Spreadsheet-WriteExcel
|
2010-06-22 09:39:53 +00:00
|
|
|
BuildRequires: perl-Parse-RecDescent perl-OLE-Storage_Lite
|
2010-12-03 14:50:18 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-06-22 09:39:11 +00:00
|
|
|
Url: http://search.cpan.org/search?module=Spreadsheet::WriteExcel
|
|
|
|
License: Artistic License
|
|
|
|
Group: Development/Libraries/Perl
|
2010-12-01 11:52:58 +00:00
|
|
|
Requires: perl-Parse-RecDescent
|
2010-06-22 09:39:11 +00:00
|
|
|
AutoReqProv: on
|
|
|
|
Summary: This Module can be Used to Create Excel Binary Files
|
2010-06-22 09:39:53 +00:00
|
|
|
Version: 2.37
|
2010-06-22 09:39:11 +00:00
|
|
|
Release: 1
|
2010-06-22 09:39:53 +00:00
|
|
|
Source: Spreadsheet-WriteExcel-%{version}.tar.gz
|
2010-06-22 09:39:11 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:50:18 +00:00
|
|
|
%{perl_requires}
|
2010-06-22 09:39:11 +00:00
|
|
|
|
|
|
|
%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
|
2010-06-22 10:13:40 +00:00
|
|
|
%doc Changes INSTALL MANIFEST README examples
|
2010-06-22 09:39:11 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2010-06-22 09:40:57 +00:00
|
|
|
%changelog -n %{name}
|