diff --git a/OLE-Storage_Lite-0.20.tar.gz b/OLE-Storage_Lite-0.20.tar.gz new file mode 100644 index 0000000..df8a6a6 Binary files /dev/null and b/OLE-Storage_Lite-0.20.tar.gz differ diff --git a/perl-OLE-Storage_Lite.spec b/perl-OLE-Storage_Lite.spec new file mode 100644 index 0000000..9542a6d --- /dev/null +++ b/perl-OLE-Storage_Lite.spec @@ -0,0 +1,65 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-OLE-Storage_Lite +Version: 0.20 +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)) +%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 +* Thu Jun 11 2020 Perl_Bot 0.20-1 +- Specfile autogenerated by Perl_Bot diff --git a/perl-OLE-Storage_Lite.yaml b/perl-OLE-Storage_Lite.yaml new file mode 100644 index 0000000..4c56846 --- /dev/null +++ b/perl-OLE-Storage_Lite.yaml @@ -0,0 +1,4 @@ +version-ctrl: metacpan +src_repo: OLE-Storage_Lite +mag_prefix: "cooker-" +seperator: "."