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