epel9
Tom Callaway 20 years ago
parent 1d923ca425
commit c39a5fedc8

@ -1,27 +1,26 @@
Summary: Simple Class for OLE document interface
Name: perl-OLE-Storage_Lite
Version: 0.14
Release: 4
License: Artistic or GPL
Release: 5
Summary: Simple Class for OLE document interface
Group: Development/Libraries
License: Artistic or GPL
Source0: OLE-Storage_Lite-%{version}.tar.gz
Url: http://search.cpan.org/dist/OLE-Storage_Lite/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
Requires: perl(IO::Scalar)
%description
Simple Class for OLE document interface.
%prep
%setup -q -n OLE-Storage_Lite-%{version}
%{__perl} -pi -e 's/\r\n/\n/g' Changes README \
doc/*.html charts/{README,*.{pl,pod,txt}}
%{__perl} -pi -e 's/\r\n/\n/g' Changes README sample/{README,*.pl}
%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
@ -38,12 +37,15 @@ make test
rm -rf $RPM_BUILD_ROOT
%files
%doc Changes README doc/ charts/
%defattr(-,root,root)
%{perl_vendorlib}/*
%doc Changes README sample/
%defattr(-,root,root,-)
%{perl_vendorlib}/OLE/
%{_mandir}/man3/*.3*
%changelog
* Mon May 9 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.14-5
- fix spec file
* Sun Apr 24 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.14-4
- spec file cleanup

Loading…
Cancel
Save