|
|
|
Name: perl-Spreadsheet-WriteExcel
|
|
|
|
Version: 2.16
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Write formatted text and numbers to a cross-platform Excel binary file
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: Artistic or GPL
|
|
|
|
URL: http://search.cpan.org/dist/Spreadsheet-WriteExcel
|
|
|
|
Source0: http://cpan.org/authors/id/J/JM/JMCNAMARA/Spreadsheet-WriteExcel-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl >= 1:5.6.1, perl-Parse-RecDescent
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(Date::Calc), perl(Date::Manip), perl(Parse::RecDescent)
|
|
|
|
|
|
|
|
%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
|
|
|
|
spreadsheet applications Gnumeric and OpenOffice.org.
|
|
|
|
|
|
|
|
This module cannot be used to read an Excel file. See
|
|
|
|
Spreadsheet::ParseExcel or look at the main documentation for some
|
|
|
|
suggestions. This module cannot be used to write to an existing
|
|
|
|
Excel file.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Spreadsheet-WriteExcel-%{version}
|
|
|
|
%{__perl} -pi -e 's/\r\n/\n/g' Changes README bin/chartex \
|
|
|
|
doc/*.html charts/{README,*.{pl,pod,txt}} examples/{README,*.{pl,txt}}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check || :
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README doc/ charts/ examples/
|
|
|
|
%{_bindir}/chartex
|
|
|
|
%{perl_vendorlib}/Spreadsheet/
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.16-1
|
|
|
|
- bump to 2.16
|
|
|
|
|
|
|
|
* Tue Jan 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.15-1
|
|
|
|
- bump to 2.15
|
|
|
|
|
|
|
|
* Wed May 11 2005 Oliver Falk <oliver@linux-kernel.at> - 2.14-1
|
|
|
|
- Update
|
|
|
|
- Add a complete URL for Source0
|
|
|
|
- Beautifying (fix identations and make it look more like the
|
|
|
|
spectemplate-perl.spec)
|
|
|
|
|
|
|
|
* Tue May 10 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.13-3
|
|
|
|
- more spec cleanups
|
|
|
|
|
|
|
|
* Sun Apr 24 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.13-2
|
|
|
|
- spec cleanups
|
|
|
|
|
|
|
|
* Thu Apr 21 2005 Oliver Falk <oliver@linux-kernel.at> 2.13-1
|
|
|
|
- Update
|
|
|
|
|
|
|
|
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.12-3
|
|
|
|
- rework spec to match template
|
|
|
|
- set to noarch
|
|
|
|
|
|
|
|
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.12-2
|
|
|
|
- Add MODULE_COMPAT requires line
|
|
|
|
|
|
|
|
* Fri Apr 1 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.12-1
|
|
|
|
- initial package
|