commit b2682dc7f5d5c08846f3950f1458fe33266031b0 Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> Date: Fri Jan 4 17:59:32 2013 +0800 Initial package for Fedora This was submitted for review on Fri Jan 04 2013: https://bugzilla.redhat.com/show_bug.cgi?id=891868#c0 perl-Unicode-Stringprep.spec | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) --- diff --git a/perl-Unicode-Stringprep.spec b/perl-Unicode-Stringprep.spec new file mode 100644 index 0000000..ff14589 --- /dev/null +++ b/perl-Unicode-Stringprep.spec @@ -0,0 +1,55 @@ +Name: perl-Unicode-Stringprep +Summary: Preparation of Internationalized Strings (RFC 3454) +Version: 1.104 +Release: 1%{?dist} +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Unicode-Stringprep/ +Source0: http://www.cpan.org/authors/id/C/CF/CFAERBER/Unicode-Stringprep-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::NoWarnings) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%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. + + +%prep +%setup -q -n Unicode-Stringprep-%{version} + + +%build +%{__perl} Build.PL installdirs=vendor +./Build + + +%install +./Build install destdir=%{buildroot} create_packlist=0 + +%{_fixperms} %{buildroot}/* + + +%check +./Build test + + +%files +%doc Changes eg LICENSE README +%{perl_vendorlib}/Unicode +%{_mandir}/man3/Unicode::Stringprep*3pm* + + +%changelog +* Fri Jan 04 2013 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 1.104-1 +- Initial package for Fedora, with help from cpanspec. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel