commit 0e21b1f7ef329458d0e8ca8aa30ba6e17e481455 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Mar 7 09:10:50 2013 +0100 Import .gitignore | 1 + perl-utf8-all.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0189d4d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/utf8-all-0.010.tar.gz diff --git a/perl-utf8-all.spec b/perl-utf8-all.spec new file mode 100644 index 0000000..952f2ac --- /dev/null +++ b/perl-utf8-all.spec @@ -0,0 +1,69 @@ +Name: perl-utf8-all +Version: 0.010 +Release: 1%{?dist} +Summary: Turn on Unicode everywhere +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/utf8-all/ +Source0: http://www.cpan.org/authors/id/D/DO/DOHERTY/utf8-all-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: perl(Module::Build) >= 0.3601 +# Run-time: +BuildRequires: perl(charnames) +BuildRequires: perl(Dist::CheckConflicts) >= 0.02 +BuildRequires: perl(Encode) +BuildRequires: perl(feature) +BuildRequires: perl(Import::Into) +BuildRequires: perl(open) +BuildRequires: perl(parent) +BuildRequires: perl(utf8) +# Tests: +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) +BuildRequires: perl(locale) +BuildRequires: perl(PerlIO) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Warn) +BuildRequires: perl(version) >= 0.77 +# Optional tests: +BuildRequires: perl(autodie) >= 2.12 +BuildRequires: perl(Test::Script) >= 1.05 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Dist::CheckConflicts) >= 0.02 +Conflicts: perl(autodie) <= 2.11 + +%description +Pragma utf8 allows you to write your Perl encoded in UTF-8. That means UTF-8 +strings, variable names, and regular expressions. utf8::all goes further, and +makes @ARGV encoded in UTF-8, and file handles are opened with UTF-8 encoding +turned on by default (including STDIN, STDOUT, STDERR), and character names +are imported so \N{...} sequences can be used to compile Unicode characters +based on names. If you don't want UTF-8 for a particular file handle, you'll +have to set binmode $filehandle. + +%prep +%setup -q -n utf8-all-%{version} + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 14 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.010-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..29769d1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +159ac1b5f6b4a8daae35fcf4fed2f794 utf8-all-0.010.tar.gz -- 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