perl-Spreadsheet-ParseExcel-0.2603-1.src.rpmepel9
parent
eed2258618
commit
8391220e63
@ -0,0 +1 @@
|
||||
Spreadsheet-ParseExcel-0.2603.tar.gz
|
@ -0,0 +1,66 @@
|
||||
# the debuginfo package is empty
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: perl-Spreadsheet-ParseExcel
|
||||
Version: 0.2603
|
||||
Release: 1%{?dist}
|
||||
Summary: Get information from an Excel file
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/Spreadsheet-ParseExcel/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWITKNR/Spreadsheet-ParseExcel-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(OLE::Storage_Lite)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module allows you to get information from an Excel file.
|
||||
The module can handle files of Excel95, 97 , 2000 and Excel4
|
||||
|
||||
%prep
|
||||
%setup -q -n Spreadsheet-ParseExcel-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
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 f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
install -d $RPM_BUILD_ROOT%{perl_vendorarch}/Unicode/Map/MS/WIN
|
||||
install -m644 CP932Excel.map $RPM_BUILD_ROOT%{perl_vendorarch}/Unicode/Map/MS/WIN/
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README README_Japan.htm sample/
|
||||
%{perl_vendorlib}/Spreadsheet/
|
||||
%{_mandir}/man3/*.3*
|
||||
%{perl_vendorarch}/Unicode/Map/MS/WIN/CP932Excel.map
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun May 14 2006 Michael A. Peters <mpeters@mac.com> - 0.2603-1
|
||||
- Install the CP932Excel.map file
|
||||
- makes package arch dependent
|
||||
|
||||
* Wed May 10 2006 Michael A. Peters <mpeters@mac.com> - 0.2603-0.2
|
||||
- Changed license to GPL or Artistic per the ParseExcel.pm file
|
||||
|
||||
* Wed May 10 2006 Michael A. Peters <mpeters@mac.com> - 0.2603-0.1
|
||||
- Initial packaging
|
Loading…
Reference in new issue