2015-04-17 12:02:31 +00:00
#
# spec file for package perl-Number-Phone
#
2020-05-07 16:04:09 +00:00
# Copyright (c) 2020 SUSE LLC
2015-04-17 12:02:31 +00:00
#
# 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.
2018-09-26 07:36:29 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2015-04-17 12:02:31 +00:00
#
Name : perl-Number-Phone
2020-09-07 10:02:06 +00:00
Version : 3.6006
2015-04-17 12:02:31 +00:00
Release : 0
2020-05-07 16:04:09 +00:00
#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.
2015-04-17 12:02:31 +00:00
%define cpan_name Number-Phone
2019-03-14 10:42:48 +00:00
Summary : Base class for Number::Phone::* modules
2020-05-07 16:04:09 +00:00
License : Artistic-1.0 OR GPL-1.0-or-later
2015-04-17 12:02:31 +00:00
Group : Development/Libraries/Perl
2020-05-07 16:04:09 +00:00
URL : https://metacpan.org/release/%{cpan_name}
2017-03-15 09:03:21 +00:00
Source0 : https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name} -%{version} .tar.gz
2015-06-22 06:03:37 +00:00
Source1 : cpanspec.yml
2015-04-17 12:02:31 +00:00
BuildArch : noarch
BuildRoot : %{_tmppath} /%{name} -%{version} -build
BuildRequires : perl
BuildRequires : perl-macros
BuildRequires : perl(DBM::Deep) >= 2.0008
2018-09-26 07:36:29 +00:00
BuildRequires : perl(File::ShareDir) >= 1.104
BuildRequires : perl(File::ShareDir::Install) >= 0.11
2020-05-07 16:04:09 +00:00
BuildRequires : perl(Parallel::ForkManager) >= v0.7.6
2018-09-26 07:36:29 +00:00
BuildRequires : perl(Scalar::Util) >= 1.48
2015-11-14 10:55:50 +00:00
BuildRequires : perl(Test::More) >= 0.96
2015-06-22 06:03:37 +00:00
BuildRequires : perl(Test::utf8)
2015-04-17 12:02:31 +00:00
Requires : perl(DBM::Deep) >= 2.0008
2018-09-26 07:36:29 +00:00
Requires : perl(File::ShareDir) >= 1.104
Requires : perl(Scalar::Util) >= 1.48
2015-11-14 10:55:50 +00:00
Requires : perl(Test::More) >= 0.96
2015-06-22 06:03:37 +00:00
Requires : perl(Test::utf8)
2015-04-17 12:02:31 +00:00
%{perl_requires}
%description
base class for Number::Phone::* modules
%prep
%setup -q -n %{cpan_name} -%{version}
%build
2018-12-06 16:14:57 +00:00
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
2015-04-17 12:02:31 +00:00
%check
2018-12-06 16:14:57 +00:00
make test
2015-04-17 12:02:31 +00:00
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr (-,root,root,755)
2017-03-15 09:03:21 +00:00
%doc Apache-2.0.txt CHANGELOG GPL2.txt NOTES README TODO
%license ARTISTIC.txt
2015-04-17 12:02:31 +00:00
%changelog