|
|
|
@ -1,15 +1,16 @@
|
|
|
|
|
Summary: Write formatted text and numbers to a cross-platform Excel binary file
|
|
|
|
|
Name: perl-Spreadsheet-WriteExcel
|
|
|
|
|
Version: 2.13
|
|
|
|
|
Release: 2
|
|
|
|
|
License: Artistic or GPL
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: Spreadsheet-WriteExcel-%{version}.tar.gz
|
|
|
|
|
Url: http://search.cpan.org/dist/Spreadsheet-WriteExcel
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: perl >= 1:5.6.1, perl-Parse-RecDescent
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Name: perl-Spreadsheet-WriteExcel
|
|
|
|
|
Version: 2.13
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Write formatted text and numbers to a cross-platform Excel binary file
|
|
|
|
|
License: Artistic or GPL
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: Spreadsheet-WriteExcel-%{version}.tar.gz
|
|
|
|
|
Url: http://search.cpan.org/dist/Spreadsheet-WriteExcel
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
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)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Spreadsheet::WriteExcel module can be used to create a cross-
|
|
|
|
@ -31,12 +32,11 @@ Excel file.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Spreadsheet-WriteExcel-%{version}
|
|
|
|
|
%{__perl} -pi -e 's/\r\n/\n/g' Changes README exe/chartex \
|
|
|
|
|
doc/*.html charts/{README,*.{pl,pod,txt}}
|
|
|
|
|
%{__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
|
|
|
|
|
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -54,13 +54,16 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README doc/ charts/
|
|
|
|
|
%doc Changes README doc/ charts/ examples/
|
|
|
|
|
%{_bindir}/chartex
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{perl_vendorlib}/Spreadsheet/
|
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|