commit 79204dcf2832a0629fa50cb60ee36283bcc72a47 Author: David Dick <ddick@xxxxxxxx> Date: Sat Mar 1 10:26:16 2014 +1100 Initial import (#1066852). .gitignore | 1 + perl-Encode-DoubleEncodedUTF8.spec | 69 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..af907d2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Encode-DoubleEncodedUTF8-0.05.tar.gz diff --git a/perl-Encode-DoubleEncodedUTF8.spec b/perl-Encode-DoubleEncodedUTF8.spec new file mode 100644 index 0000000..e5062f9 --- /dev/null +++ b/perl-Encode-DoubleEncodedUTF8.spec @@ -0,0 +1,69 @@ +Name: perl-Encode-DoubleEncodedUTF8 +Version: 0.05 +Release: 1%{?dist} +Summary: Fix double encoded UTF-8 bytes to the correct one +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Encode-DoubleEncodedUTF8/ +Source0: http://www.cpan.org/modules/by-module/Encode/Encode-DoubleEncodedUTF8-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(Cwd) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Encode) >= 2.12 +BuildRequires: perl(Encode::Encoding) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MM_Unix) +BuildRequires: perl(Fcntl) +BuildRequires: perl(FindBin) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(Pod::Text) +BuildRequires: perl(overload) +BuildRequires: perl(strict) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(threads::shared) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Text::Diff) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +BuildRequires: perl(YAML) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Encode::DoubleEncodedUTF8 adds a new encoding utf-8-de and fixes +double encoded utf-8 bytes found in the original bytes to the correct +Unicode entity. + +%prep +%setup -q -n Encode-DoubleEncodedUTF8-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 14 2014 David Dick <ddick@xxxxxxxx> - 0.05-1 +- Initial release diff --git a/sources b/sources index e69de29..8c4bf0a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +79290517a914cbc231542f5c673f491c Encode-DoubleEncodedUTF8-0.05.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