2015-04-17 12:02:31 +00:00
#
# spec file for package perl-Number-Phone
#
2021-02-06 13:51:44 +00:00
# Copyright (c) 2021 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
#
2021-02-06 13:51:44 +00:00
%define cpan_name Number-Phone
2015-04-17 12:02:31 +00:00
Name : perl-Number-Phone
2021-06-15 09:10:30 +00:00
Version : 3.7003
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.
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
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
BuildRequires : perl
BuildRequires : perl-macros
BuildRequires : perl(DBM::Deep) >= 2.0008
2021-06-15 09:10:30 +00:00
BuildRequires : perl(Data::Dumper::Concise)
Accepting request 854506 from devel:languages:perl:autoupdate
- updated to 3.7000
see /usr/share/doc/packages/perl-Number-Phone/CHANGELOG
2020-12-04 3.7000 Bugfixes in dial_to for stubs and unallocated UK numbers;
Windows doesn't properly support fork() so skip the tests for it;
Minor documentation clarification re constructor;
Stub classes shrunk by de-duping areanames;
Kosovo appears to have fully switched to using its own country code;
Option to build --without_uk and save disk space
(see https://github.com/DrHyde/perl-modules-Number-Phone/issues/95);
Correctly identify UK 04, 05[01234789], and 06 numbers as invalid,
instead of valid but unallocated (fix arising from
https://github.com/DrHyde/perl-modules-Number-Phone/issues/98);
Use data from a tagged release of libphonenumber instead of whatever
is in master, so builds are more reproducible, and expose that
tag in libphonenumber_tag method;
Expose OFCOM, CNAC, NPA and localcallingguide.com data update
date/time in N::P::{UK,NANP::CA,NANP::US,NANP}->data_source;
Data updates
OBS-URL: https://build.opensuse.org/request/show/854506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Number-Phone?expand=0&rev=30
2020-12-11 07:07:52 +00:00
BuildRequires : perl(Devel::CheckOS) >= 1.83
2021-06-15 09:10:30 +00:00
BuildRequires : perl(ExtUtils::MakeMaker) >= 6.52
Accepting request 854506 from devel:languages:perl:autoupdate
- updated to 3.7000
see /usr/share/doc/packages/perl-Number-Phone/CHANGELOG
2020-12-04 3.7000 Bugfixes in dial_to for stubs and unallocated UK numbers;
Windows doesn't properly support fork() so skip the tests for it;
Minor documentation clarification re constructor;
Stub classes shrunk by de-duping areanames;
Kosovo appears to have fully switched to using its own country code;
Option to build --without_uk and save disk space
(see https://github.com/DrHyde/perl-modules-Number-Phone/issues/95);
Correctly identify UK 04, 05[01234789], and 06 numbers as invalid,
instead of valid but unallocated (fix arising from
https://github.com/DrHyde/perl-modules-Number-Phone/issues/98);
Use data from a tagged release of libphonenumber instead of whatever
is in master, so builds are more reproducible, and expose that
tag in libphonenumber_tag method;
Expose OFCOM, CNAC, NPA and localcallingguide.com data update
date/time in N::P::{UK,NANP::CA,NANP::US,NANP}->data_source;
Data updates
OBS-URL: https://build.opensuse.org/request/show/854506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Number-Phone?expand=0&rev=30
2020-12-11 07:07:52 +00:00
BuildRequires : perl(File::Find::Rule)
2018-09-26 07:36:29 +00:00
BuildRequires : perl(File::ShareDir) >= 1.104
BuildRequires : perl(File::ShareDir::Install) >= 0.11
2021-06-15 09:10:30 +00:00
BuildRequires : perl(Parallel::ForkManager) >= 0.7.6
2018-09-26 07:36:29 +00:00
BuildRequires : perl(Scalar::Util) >= 1.48
Accepting request 854506 from devel:languages:perl:autoupdate
- updated to 3.7000
see /usr/share/doc/packages/perl-Number-Phone/CHANGELOG
2020-12-04 3.7000 Bugfixes in dial_to for stubs and unallocated UK numbers;
Windows doesn't properly support fork() so skip the tests for it;
Minor documentation clarification re constructor;
Stub classes shrunk by de-duping areanames;
Kosovo appears to have fully switched to using its own country code;
Option to build --without_uk and save disk space
(see https://github.com/DrHyde/perl-modules-Number-Phone/issues/95);
Correctly identify UK 04, 05[01234789], and 06 numbers as invalid,
instead of valid but unallocated (fix arising from
https://github.com/DrHyde/perl-modules-Number-Phone/issues/98);
Use data from a tagged release of libphonenumber instead of whatever
is in master, so builds are more reproducible, and expose that
tag in libphonenumber_tag method;
Expose OFCOM, CNAC, NPA and localcallingguide.com data update
date/time in N::P::{UK,NANP::CA,NANP::US,NANP}->data_source;
Data updates
OBS-URL: https://build.opensuse.org/request/show/854506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Number-Phone?expand=0&rev=30
2020-12-11 07:07:52 +00:00
BuildRequires : perl(Test::Differences) >= 0.62
2015-11-14 10:55:50 +00:00
BuildRequires : perl(Test::More) >= 0.96
2021-06-15 09:10:30 +00:00
BuildRequires : perl(Test::Warnings)
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
2021-06-15 09:10:30 +00:00
Requires : perl(Data::Dumper::Concise)
Accepting request 854506 from devel:languages:perl:autoupdate
- updated to 3.7000
see /usr/share/doc/packages/perl-Number-Phone/CHANGELOG
2020-12-04 3.7000 Bugfixes in dial_to for stubs and unallocated UK numbers;
Windows doesn't properly support fork() so skip the tests for it;
Minor documentation clarification re constructor;
Stub classes shrunk by de-duping areanames;
Kosovo appears to have fully switched to using its own country code;
Option to build --without_uk and save disk space
(see https://github.com/DrHyde/perl-modules-Number-Phone/issues/95);
Correctly identify UK 04, 05[01234789], and 06 numbers as invalid,
instead of valid but unallocated (fix arising from
https://github.com/DrHyde/perl-modules-Number-Phone/issues/98);
Use data from a tagged release of libphonenumber instead of whatever
is in master, so builds are more reproducible, and expose that
tag in libphonenumber_tag method;
Expose OFCOM, CNAC, NPA and localcallingguide.com data update
date/time in N::P::{UK,NANP::CA,NANP::US,NANP}->data_source;
Data updates
OBS-URL: https://build.opensuse.org/request/show/854506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Number-Phone?expand=0&rev=30
2020-12-11 07:07:52 +00:00
Requires : perl(Devel::CheckOS) >= 1.83
Requires : perl(File::Find::Rule)
2018-09-26 07:36:29 +00:00
Requires : perl(File::ShareDir) >= 1.104
Requires : perl(Scalar::Util) >= 1.48
Accepting request 854506 from devel:languages:perl:autoupdate
- updated to 3.7000
see /usr/share/doc/packages/perl-Number-Phone/CHANGELOG
2020-12-04 3.7000 Bugfixes in dial_to for stubs and unallocated UK numbers;
Windows doesn't properly support fork() so skip the tests for it;
Minor documentation clarification re constructor;
Stub classes shrunk by de-duping areanames;
Kosovo appears to have fully switched to using its own country code;
Option to build --without_uk and save disk space
(see https://github.com/DrHyde/perl-modules-Number-Phone/issues/95);
Correctly identify UK 04, 05[01234789], and 06 numbers as invalid,
instead of valid but unallocated (fix arising from
https://github.com/DrHyde/perl-modules-Number-Phone/issues/98);
Use data from a tagged release of libphonenumber instead of whatever
is in master, so builds are more reproducible, and expose that
tag in libphonenumber_tag method;
Expose OFCOM, CNAC, NPA and localcallingguide.com data update
date/time in N::P::{UK,NANP::CA,NANP::US,NANP}->data_source;
Data updates
OBS-URL: https://build.opensuse.org/request/show/854506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Number-Phone?expand=0&rev=30
2020-12-11 07:07:52 +00:00
Requires : perl(Test::Differences) >= 0.62
2015-11-14 10:55:50 +00:00
Requires : perl(Test::More) >= 0.96
2021-06-15 09:10:30 +00:00
Requires : perl(Test::Warnings)
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
2021-02-06 13:51:44 +00:00
%autosetup -n %{cpan_name} -%{version}
2015-04-17 12:02:31 +00:00
%build
2018-12-06 16:14:57 +00:00
perl Makefile.PL INSTALLDIRS=vendor
2021-02-06 13:51:44 +00:00
%make_build
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
Accepting request 854506 from devel:languages:perl:autoupdate
- updated to 3.7000
see /usr/share/doc/packages/perl-Number-Phone/CHANGELOG
2020-12-04 3.7000 Bugfixes in dial_to for stubs and unallocated UK numbers;
Windows doesn't properly support fork() so skip the tests for it;
Minor documentation clarification re constructor;
Stub classes shrunk by de-duping areanames;
Kosovo appears to have fully switched to using its own country code;
Option to build --without_uk and save disk space
(see https://github.com/DrHyde/perl-modules-Number-Phone/issues/95);
Correctly identify UK 04, 05[01234789], and 06 numbers as invalid,
instead of valid but unallocated (fix arising from
https://github.com/DrHyde/perl-modules-Number-Phone/issues/98);
Use data from a tagged release of libphonenumber instead of whatever
is in master, so builds are more reproducible, and expose that
tag in libphonenumber_tag method;
Expose OFCOM, CNAC, NPA and localcallingguide.com data update
date/time in N::P::{UK,NANP::CA,NANP::US,NANP}->data_source;
Data updates
OBS-URL: https://build.opensuse.org/request/show/854506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Number-Phone?expand=0&rev=30
2020-12-11 07:07:52 +00:00
%doc Apache-2.0.txt CHANGELOG NOTES README.md TODO
%license ARTISTIC.txt GPL2.txt
2015-04-17 12:02:31 +00:00
%changelog