Blob Blame History Raw
%define upstream_name    Games-Solitaire-Verify

Name:       perl-%{upstream_name}
Version:    0.1900
Release:    2%{?dist}

Summary:    Process and verify solitaire games
License:    MIT

Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: findutils
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Class::XSAccessor)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Exception::Class)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(List::Util)
BuildRequires: perl(Module::Build)
BuildRequires: perl(POSIX)
BuildRequires: perl(Test::Differences)
BuildRequires: perl(Test::More)
BuildRequires: perl(autodie)
BuildRequires: perl(base)
BuildRequires: perl(parent)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildArch:  noarch

This is a CPAN Perl module that verifies the solutions of various variants
of card Solitaire. It does not aim to try to be a solver for them, because
this is too CPU intensive to be adequately done using perl5 (as of
perl-5.10.0). If you're interested in the latter, look at:



%setup -q -n %{upstream_name}-%{version}

%__perl Build.PL --installdirs=vendor

./Build CFLAGS="%{optflags}"

./Build test

./Build install --destdir=%{buildroot}
find $RPM_BUILD_ROOT -type f -name .packlist -delete
chmod 755 %{buildroot}/%{_bindir}/*

%license COPYING
%doc Changes LICENSE META.json META.yml MYMETA.yml README examples

* Fri Feb 01 2019 Fedora Release Engineering <> - 0.1900-2
- Rebuilt for

* Wed Dec 05 2018 Shlomi Fish <> 0.1900-1
- Forked from the Mageia package and adapted for Fedora