# vim: set sw=4 ts=4 et nu: # # spec file for package perl-Unicode-Stringprep # # Copyright (c) 2012 SUSE LINUX Products 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-Unicode-Stringprep Version: 1.103 Release: 0 Summary: Preparation of Internationalized Strings (RFC 3454) License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Source: http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/Unicode-Stringprep-%{version}.tar.gz Url: http://search.cpan.org/dist/Unicode-Stringprep BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build) >= 0.35 BuildRequires: perl(Test::More) BuildRequires: perl(Test::NoWarnings) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) 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} %changelog