72 lines
2.3 KiB
RPMSpec
72 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package perl-Games-Bingo
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Games-Bingo
|
|
Name: perl-Games-Bingo
|
|
Version: 0.180.0
|
|
Release: 0
|
|
# 0.18 -> normalize -> 0.180.0
|
|
%define cpan_version 0.18
|
|
License: Artistic-2.0
|
|
Summary: Bingo game Perl implementation
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/J/JO/JONASBN/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Module::Build) >= 0.30
|
|
BuildRequires: perl(Pod::Coverage::TrustPod)
|
|
BuildRequires: perl(Test::Kwalitee) >= 1.21
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Test::Pod) >= 1.41
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
Provides: perl(Games::Bingo) = %{version}
|
|
Provides: perl(Games::Bingo::Card) = %{version}
|
|
Provides: perl(Games::Bingo::Column) = %{version}
|
|
Provides: perl(Games::Bingo::ColumnCollection) = %{version}
|
|
Provides: perl(Games::Bingo::Constants) = %{version}
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This is a simple game of bingo. The program can randomly call out the
|
|
numbers. The game will be get more features in the future, please refer to
|
|
the *TODO* section (below).
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
%build
|
|
perl Build.PL --installdirs=vendor
|
|
./Build build --flags=%{?_smp_mflags}
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%install
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc BUGS Changes Games-Bingo.sublime-project Games-Bingo.sublime-workspace README TODO
|
|
%license LICENSE
|
|
|
|
%changelog
|