1
0
Files
perl-Number-Phone/perl-Number-Phone.spec

72 lines
2.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Number-Phone
#
# Copyright (c) 2020 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/
#
Name: perl-Number-Phone
Version: 3.6006
Release: 0
#Upstream: This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively. Some files are under the Apache licence, a copy of which can be found in the file Apache-2.0.txt.
%define cpan_name Number-Phone
Summary: Base class for Number::Phone::* modules
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(DBM::Deep) >= 2.0008
BuildRequires: perl(File::ShareDir) >= 1.104
BuildRequires: perl(File::ShareDir::Install) >= 0.11
BuildRequires: perl(Parallel::ForkManager) >= v0.7.6
BuildRequires: perl(Scalar::Util) >= 1.48
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::utf8)
Requires: perl(DBM::Deep) >= 2.0008
Requires: perl(File::ShareDir) >= 1.104
Requires: perl(Scalar::Util) >= 1.48
Requires: perl(Test::More) >= 0.96
Requires: perl(Test::utf8)
%{perl_requires}
%description
base class for Number::Phone::* modules
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Apache-2.0.txt CHANGELOG GPL2.txt NOTES README TODO
%license ARTISTIC.txt
%changelog