Name: perl-AppleII-LibA2 Version: 0.201 Release: 3%{?dist} Summary: Apple II emulator & file utilities License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/AppleII-LibA2/ Source0: http://www.cpan.org/authors/id/C/CJ/CJM/AppleII-LibA2-%{version}.tar.gz Patch0: AppleII-LibA2-%{version}-perlinc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(Carp) BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(Getopt::Long) >= 2.10 BuildRequires: perl(IO::File) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(Carp) Requires: perl(Exporter) >= 5.57 Requires: perl(Getopt::Long) >= 2.10 Requires: perl(IO::File) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %if %{?rhel}0 > 60 Requires: perl(Term::ReadLine::Gnu) BuildRequires: perl(Term::ReadLine::Gnu) %else Requires: perl(Term::ReadLine::Perl) BuildRequires: perl(Term::ReadLine::Perl) %endif %description AppleII-LibA2 (formerly called LibA2, and still called that informally) is a collection of both end-user utilities and library modules for accessing files on Apple II ProDOS disk images for use with most Apple II emulators. %prep %setup -q -n AppleII-LibA2-%{version} %patch0 -p1 %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README TODO %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man?/* %changelog * Fri Jul 21 2017 Greg Wildman 0.201-3 - Added patch for perl @INC no longer including '.' * Sun Oct 09 2016 Greg Wildman 0.201-1 - Specfile autogenerated by cpanspec 1.78. - Added scipts and extra man pages.