diff --git a/IO-Interactive-1.023.tar.gz b/IO-Interactive-1.023.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..698ac4356fb1b20503af9802d1a7cee6bbd74f2d Binary files /dev/null and b/IO-Interactive-1.023.tar.gz differ diff --git a/perl-IO-Interactive.spec b/perl-IO-Interactive.spec new file mode 100644 index 0000000000000000000000000000000000000000..057d66f36458fa8b09ec17173986821f212aa158 --- /dev/null +++ b/perl-IO-Interactive.spec @@ -0,0 +1,73 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-IO-Interactive +Version: 1.023 +Release: 1 +Summary: Utilities for interactive I/O +License: Artistic 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/IO-Interactive/ +Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/IO-Interactive-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.008 +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) >= 1 +%description +This module provides three utility subroutines that make it easier to +develop interactive applications. +%package help +Summary : Utilities for interactive I/O +Provides: perl-IO-Interactive-doc +%description help +This module provides three utility subroutines that make it easier to +develop interactive applications. +%prep +%setup -q -n IO-Interactive-%{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 +if [ -d usr/lib64 ];then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib ];then + find usr/lib -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 INSTALL.SKIP LICENSE META.json +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Sun May 23 2021 Perl_Bot 1.023-1 +- Specfile autogenerated by Perl_Bot