2012-02-13 14:42:57 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Net-IDN-Nameprep
|
|
|
|
#
|
2019-12-03 13:54:14 +00:00
|
|
|
# Copyright (c) 2019 SUSE LLC.
|
2012-02-13 14:42:57 +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.
|
|
|
|
|
2019-12-03 13:54:14 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-13 14:42:57 +00:00
|
|
|
#
|
|
|
|
|
2010-11-01 14:30:56 +00:00
|
|
|
|
|
|
|
Name: perl-Net-IDN-Nameprep
|
2016-05-25 07:40:18 +00:00
|
|
|
Version: 1.102
|
2010-11-01 14:30:56 +00:00
|
|
|
Release: 0
|
2015-04-15 04:53:18 +00:00
|
|
|
%define cpan_name Net-IDN-Nameprep
|
2019-12-03 13:54:14 +00:00
|
|
|
Summary: Stringprep Profile for Internationalized Domain Names (RFC 3491)
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2010-11-01 14:30:56 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2019-12-03 13:54:14 +00:00
|
|
|
URL: http://search.cpan.org/dist/Net-IDN-Nameprep/
|
2016-05-25 07:40:18 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/C/CF/CFAERBER/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:00 +02:00
|
|
|
Source100: README.md
|
2015-04-15 04:53:18 +00:00
|
|
|
BuildArch: noarch
|
2012-02-13 14:42:57 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
2010-12-03 14:44:25 +00:00
|
|
|
BuildRequires: perl-macros
|
2016-05-25 07:40:18 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.420000
|
2010-11-01 14:30:56 +00:00
|
|
|
BuildRequires: perl(Test::NoWarnings)
|
2015-04-15 04:53:18 +00:00
|
|
|
BuildRequires: perl(Unicode::Stringprep) >= 1.1
|
|
|
|
Requires: perl(Unicode::Stringprep) >= 1.1
|
|
|
|
%{perl_requires}
|
2010-11-01 14:30:56 +00:00
|
|
|
|
|
|
|
%description
|
2015-04-15 04:53:18 +00:00
|
|
|
This module implements the _nameprep_ specification, which describes how to
|
2010-11-01 14:30:56 +00:00
|
|
|
prepare internationalized domain name (IDN) labels in order to increase the
|
2015-04-15 04:53:18 +00:00
|
|
|
likelihood that name input and name comparison work in ways that make sense
|
|
|
|
for typical users throughout the world. Nameprep is a profile of the
|
|
|
|
stringprep protocol and is used as part of a suite of on-the-wire protocols
|
|
|
|
for internationalizing the Domain Name System (DNS).
|
2010-11-01 14:30:56 +00:00
|
|
|
|
|
|
|
%prep
|
2015-04-15 04:53:18 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2016-05-25 07:40:18 +00:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
2010-11-01 14:30:56 +00:00
|
|
|
|
|
|
|
%build
|
2015-04-15 04:53:18 +00:00
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build build flags=%{?_smp_mflags}
|
2010-11-01 14:30:56 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
2015-04-15 04:53:18 +00:00
|
|
|
%install
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
%perl_gen_filelist
|
2010-11-01 14:30:56 +00:00
|
|
|
|
2015-04-15 04:53:18 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes LICENSE README
|
2010-11-01 14:30:56 +00:00
|
|
|
|
2012-02-13 14:42:57 +00:00
|
|
|
%changelog
|