Mathieu Bridon 21554f9
Name:           perl-Net-IDN-Nameprep
Mathieu Bridon 21554f9
Summary:        Stringprep Profile for Internationalized Domain Names (RFC 3491)
90087ac
Version:        1.102
c279542
Release:        17%{?dist}
Mathieu Bridon 21554f9
License:        GPL+ or Artistic
aa79937
URL:            https://metacpan.org/release/Net-IDN-Nameprep
aa79937
Source0:        https://cpan.metacpan.org/authors/id/C/CF/CFAERBER/Net-IDN-Nameprep-%{version}.tar.gz
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
BuildArch:      noarch
Mathieu Bridon 21554f9
c4b85f7
BuildRequires:  perl-generators
Mathieu Bridon 2fb5d15
BuildRequires:  perl(Exporter)
Mathieu Bridon 21554f9
BuildRequires:  perl(Module::Build)
Mathieu Bridon 21554f9
BuildRequires:  perl(Test::More)
Mathieu Bridon 21554f9
BuildRequires:  perl(Test::NoWarnings)
Mathieu Bridon 21554f9
BuildRequires:  perl(Unicode::Stringprep) >= 1.1
Mathieu Bridon 2fb5d15
BuildRequires:  perl(Unicode::Stringprep::Mapping)
Mathieu Bridon 2fb5d15
BuildRequires:  perl(Unicode::Stringprep::Prohibited)
Mathieu Bridon 21554f9
Mathieu Bridon 3b2a12e
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%{?perl_default_filter}
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%description
Mathieu Bridon 21554f9
This module implements the nameprep specification, which describes how to
Mathieu Bridon 21554f9
prepare internationalized domain name (IDN) labels in order to increase the
Mathieu Bridon 21554f9
likelihood that name input and name comparison work in ways that make sense
Mathieu Bridon 21554f9
for typical users throughout the world. Nameprep is a profile of the
Mathieu Bridon 21554f9
stringprep protocol and is used as part of a suite of on-the-wire protocols
Mathieu Bridon 21554f9
for internationalizing the Domain Name System (DNS).
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%prep
Mathieu Bridon 21554f9
%setup -q -n Net-IDN-Nameprep-%{version}
Mathieu Bridon 21554f9
Mathieu Bridon bd9c8ea
# Remove incorrect executable bits
Mathieu Bridon bd9c8ea
chmod -x Changes \
Mathieu Bridon bd9c8ea
         lib/Net/IDN/Nameprep.pm
Mathieu Bridon bd9c8ea
Mathieu Bridon f2093ad
# Convert files to UTF-8
Mathieu Bridon f2093ad
for FILE in LICENSE README; do
Mathieu Bridon f2093ad
  iconv -f ISO_8859-1 -t UTF8 $FILE > $FILE.utf8
Mathieu Bridon f2093ad
  mv $FILE.utf8 $FILE
Mathieu Bridon f2093ad
done
Mathieu Bridon f2093ad
Mathieu Bridon 5764bf9
# Drop non-free file
Mathieu Bridon 5764bf9
# See comments 7 and 9 of the review request:
Mathieu Bridon 5764bf9
#     https://bugzilla.redhat.com/show_bug.cgi?id=891873
Mathieu Bridon 5764bf9
rm -f t/nameprep_vec.t
Mathieu Bridon 5764bf9
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%build
Mathieu Bridon 3b2a12e
perl Build.PL installdirs=vendor
Mathieu Bridon 21554f9
./Build
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%install
Mathieu Bridon 21554f9
./Build install destdir=%{buildroot} create_packlist=0
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%{_fixperms} %{buildroot}/*
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%check
Mathieu Bridon 21554f9
./Build test
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%files
Mathieu Bridon 21554f9
%doc Changes LICENSE README
Mathieu Bridon 21554f9
%{perl_vendorlib}/Net
Mathieu Bridon 21554f9
%{_mandir}/man3/Net::IDN::Nameprep.3pm*
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
Mathieu Bridon 21554f9
%changelog
c279542
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-17
c279542
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c279542
f0a8ab8
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.102-16
f0a8ab8
- Perl 5.32 rebuild
f0a8ab8
7ffe941
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-15
7ffe941
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7ffe941
7434216
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-14
7434216
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7434216
a509652
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.102-13
a509652
- Perl 5.30 rebuild
a509652
d39d718
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-12
d39d718
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d39d718
f0fd210
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-11
f0fd210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f0fd210
4e0825c
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.102-10
4e0825c
- Perl 5.28 rebuild
4e0825c
b180715
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-9
b180715
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b180715
296d717
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-8
296d717
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
296d717
cb555ae
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.102-7
cb555ae
- Perl 5.26 rebuild
cb555ae
da5074a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-6
da5074a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
da5074a
c5e5b9a
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.102-5
c5e5b9a
- Perl 5.24 rebuild
c5e5b9a
2d04931
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-4
2d04931
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2d04931
4ebae2c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.102-3
4ebae2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4ebae2c
1559fa9
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.102-2
1559fa9
- Perl 5.22 rebuild
1559fa9
90087ac
* Sun Jun 07 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 1.102-1
90087ac
- Update to 1.102
90087ac
88b645a
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.101-8
88b645a
- Perl 5.22 rebuild
88b645a
3f590f1
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.101-7
3f590f1
- Perl 5.20 rebuild
3f590f1
085084d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.101-6
085084d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
085084d
87a173b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.101-5
87a173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
87a173b
131e8b3
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 1.101-4
131e8b3
- Perl 5.18 rebuild
131e8b3
Mathieu Bridon 5764bf9
* Wed Feb 06 2013 Mathieu Bridon <mathieu.bridon@network-box.com> - 1.101-3
Mathieu Bridon 5764bf9
- Drop the non-free unit test.
Mathieu Bridon 5764bf9
Mathieu Bridon 9cb7854
* Wed Jan 23 2013 Mathieu Bridon <mathieu.bridon@network-box.com> - 1.101-2
Mathieu Bridon 3b2a12e
- Replace the usage of the %%{__perl} macro by the plain perl command.
Mathieu Bridon 2fb5d15
- Add missing build requirements.
Mathieu Bridon bd9c8ea
- Remove the incorrect executable bits.
Mathieu Bridon f2093ad
- Make sure all files are UTF-8 encoded.
Mathieu Bridon 3b2a12e
Mathieu Bridon 21554f9
* Fri Jan 04 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 1.101-1
Mathieu Bridon 21554f9
- Initial package for Fedora, with help from cpanspec.