# vim: set sw=4 ts=4 et nu: # norootforbuild Name: perl-Unicode-Stringprep Version: 1.103 Release: 0 Summary: Preparation of Internationalized Strings (RFC 3454) Source: http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/Unicode-Stringprep-%{version}.tar.gz URL: http://search.cpan.org/dist/Unicode-Stringprep Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} %{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) BuildRequires: perl(Test::NoWarnings) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Module::Build) >= 0.35 BuildRequires: perl(Module::Build) BuildRequires: perl(Unicode::Normalize) >= 1 Requires: perl(Unicode::Normalize) >= 1 %description This module implements the *stringprep* framework for preparing Unicode text strings in order to increase the likelihood that string input and string comparison work in ways that make sense for typical users throughout the world. The *stringprep* protocol is useful for protocol identifier values, company and personal names, internationalized domain names, and other text strings. The *stringprep* framework does not specify how protocols should prepare text strings. Protocols must create profiles of stringprep in order to fully specify the processing options. %prep %setup -q -n "Unicode-Stringprep-%{version}" %build %__perl ./Build.PL ./Build %install ./Build pure_install --destdir "%{buildroot}" --installdirs vendor %perl_process_packlist %check ./Build test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes README %dir %{perl_vendorlib}/Unicode %{perl_vendorlib}/Unicode/Stringprep.pm %{perl_vendorlib}/Unicode/Stringprep %dir %{perl_vendorarch}/auto/Unicode %{perl_vendorarch}/auto/Unicode/Stringprep %doc %{perl_man3dir}/Unicode::Stringprep.%{perl_man3ext}%{ext_man} %doc %{perl_man3dir}/Unicode::Stringprep::*.%{perl_man3ext}%{ext_man}