%global _empty_manifest_terminate_build 0 Name: perl-OLE-Storage_Lite Version: 0.22 Release: 1 Summary: Simple Class for OLE document interface License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/OLE-Storage_Lite/ Source0: http://www.cpan.org/authors/id/J/JM/JMCNAMARA/OLE-Storage_Lite-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-generators Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(constant) perl(Carp) perl(List::Util) %description OLE::Storage_Lite allows you to read and write an OLE structured file. %package help Summary : Simple Class for OLE document interface Provides: perl-OLE-Storage_Lite-doc %description help OLE::Storage_Lite allows you to read and write an OLE structured file. %prep %setup -q -n OLE-Storage_Lite-%{version} %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_MM_OPT="" 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 -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* pushd %{buildroot} touch filelist.lst if [ -d usr/bin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %check make test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Mon Sep 11 2023 Ge Wang 0.22-1 - Update to version 0.22 * Thu Jun 11 2020 Perl_Bot 0.20-1 - Specfile autogenerated by Perl_Bot