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

64 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Number-Phone
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: perl-Number-Phone
Version: 3.0011
Release: 0
%define cpan_name Number-Phone
Summary: Base Class for Number::Phone::* Modules
License: 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.
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Number-Phone/
Source0: http://www.cpan.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(Test::More) >= 0.88
BuildRequires: perl(Test::utf8)
Requires: perl(DBM::Deep) >= 2.0008
Requires: perl(Test::More) >= 0.88
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 ARTISTIC.txt CHANGELOG GPL2.txt NOTES README TODO
%changelog