[perl-File-Find-utf8] Import
Petr Pisar
ppisar at fedoraproject.org
Fri Jan 30 14:26:59 UTC 2015
commit 61d1a103ad53cd687be13c7c960ca4820a2d889a
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Jan 30 15:26:33 2015 +0100
Import
.gitignore | 1 +
perl-File-Find-utf8.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d7ce56b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/File-Find-utf8-0.008.tar.gz
diff --git a/perl-File-Find-utf8.spec b/perl-File-Find-utf8.spec
new file mode 100644
index 0000000..7950dca
--- /dev/null
+++ b/perl-File-Find-utf8.spec
@@ -0,0 +1,60 @@
+Name: perl-File-Find-utf8
+Version: 0.008
+Release: 1%{?dist}
+Summary: Fully UTF-8 aware File::Find
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/File-Find-utf8/
+Source0: http://www.cpan.org/authors/id/H/HA/HAYOBAAN/File-Find-utf8-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time:
+BuildRequires: perl(Carp)
+BuildRequires: perl(Encode)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(File::Find)
+# Tests:
+BuildRequires: perl(File::Path)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IPC::Open3)
+BuildRequires: perl(open)
+BuildRequires: perl(Test::Exception)
+BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(Test::Warn)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Exporter)
+
+%description
+While the original File::Find functions are capable of handling UTF-8 quite
+well, they expect and return all data as bytes, not as characters. This
+File::Find::utf8 Perl module replaces the File::Find functions with fully
+UTF-8 aware versions, both expecting and returning characters.
+
+%prep
+%setup -q -n File-Find-utf8-%{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
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jan 29 2015 Petr Pisar <ppisar at redhat.com> 0.008-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b32754f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c8acd8aa3b41bb6a209ad8428229ac62 File-Find-utf8-0.008.tar.gz
More information about the perl-devel
mailing list