[perl-Net-IDN-Nameprep: 2/10] Inital package for Fedora

Mathieu Bridon bochecha at fedoraproject.org
Thu Feb 7 02:57:20 UTC 2013


commit 21554f910ed27c6ad524ecc5c2b1a6b9c2159302
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Fri Jan 4 18:27:55 2013 +0800

    Inital package for Fedora
    
    This was submitted on Fri Jan 04 2013:
        https://bugzilla.redhat.com/show_bug.cgi?id=891873#c0

 perl-Net-IDN-Nameprep.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/perl-Net-IDN-Nameprep.spec b/perl-Net-IDN-Nameprep.spec
new file mode 100644
index 0000000..5256a5d
--- /dev/null
+++ b/perl-Net-IDN-Nameprep.spec
@@ -0,0 +1,56 @@
+Name:           perl-Net-IDN-Nameprep
+Summary:        Stringprep Profile for Internationalized Domain Names (RFC 3491)
+Version:        1.101
+Release:        1%{?dist}
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Net-IDN-Nameprep/
+Source0:        http://www.cpan.org/authors/id/C/CF/CFAERBER/Net-IDN-Nameprep-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::NoWarnings)
+BuildRequires:  perl(Unicode::Stringprep) >= 1.1
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module implements the nameprep specification, which describes how to
+prepare internationalized domain name (IDN) labels in order to increase the
+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).
+
+
+%prep
+%setup -q -n Net-IDN-Nameprep-%{version}
+
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+
+%{_fixperms} %{buildroot}/*
+
+
+%check
+./Build test
+
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/Net
+%{_mandir}/man3/Net::IDN::Nameprep.3pm*
+
+
+%changelog
+* Fri Jan 04 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 1.101-1
+- Initial package for Fedora, with help from cpanspec.


More information about the scm-commits mailing list