[perl-Unicode-UTF8] Initial import (perl-Unicode-UTF8-0.59-3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit b77924e311f51083ebd7485edffe95b3cbc1af54
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Sep 3 15:56:08 2013 +0100

    Initial import (perl-Unicode-UTF8-0.59-3)
    
    This module provides functions to encode and decode UTF-8 encoding form as
    specified by Unicode and ISO/IEC 10646:2011.

 .gitignore             |    1 +
 perl-Unicode-UTF8.spec |   92 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9d8e4cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Unicode-UTF8-[0-9.]*.tar.gz
diff --git a/perl-Unicode-UTF8.spec b/perl-Unicode-UTF8.spec
new file mode 100644
index 0000000..eae995d
--- /dev/null
+++ b/perl-Unicode-UTF8.spec
@@ -0,0 +1,92 @@
+Summary:	Encoding and decoding of UTF-8 encoding form
+Name:		perl-Unicode-UTF8
+Version:	0.59
+Release:	3%{?dist}
+License:	GPL+ or Artistic
+Group:		Development/Libraries
+Url:		http://search.cpan.org/dist/Unicode-UTF8/
+Source0:	http://search.cpan.org/CPAN/authors/id/C/CH/CHANSEN/Unicode-UTF8-%{version}.tar.gz
+# Module Build
+BuildRequires:	perl(ExtUtils::MakeMaker)
+%if "%{?rhel}" != "6"
+BuildRequires:	perl(inc::Module::Install)
+BuildRequires:	perl(Module::Install::ReadmeFromPod)
+%else
+BuildRequires:	perl(base)
+BuildRequires:	perl(Config)
+BuildRequires:	perl(Cwd)
+BuildRequires:	perl(Fcntl)
+BuildRequires:	perl(File::Basename)
+BuildRequires:	perl(File::Find)
+BuildRequires:	perl(File::Path)
+BuildRequires:	perl(Pod::Text)
+BuildRequires:	perl(vars)
+%endif
+# Module Runtime
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Exporter)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
+BuildRequires:	perl(XSLoader)
+# Test Suite
+BuildRequires:	perl(Encode) >= 1.9801
+BuildRequires:	perl(IO::File)
+BuildRequires:	perl(Scalar::Util)
+BuildRequires:	perl(Test::Builder)
+BuildRequires:	perl(Test::Fatal) >= 0.006
+BuildRequires:	perl(Test::More) >= 0.47
+# Optional Tests
+BuildRequires:	perl(Taint::Runtime) >= 0.03
+BuildRequires:	perl(Test::LeakTrace) >= 0.10
+BuildRequires:	perl(Test::Pod) >= 1.00
+BuildRequires:	perl(Variable::Magic)
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	perl(Exporter)
+Requires:	perl(XSLoader)
+
+# Don't "provide" private Perl libs
+%{?perl_default_filter}
+
+%description
+This module provides functions to encode and decode UTF-8 encoding form as
+specified by Unicode and ISO/IEC 10646:2011.
+
+%prep
+%setup -q -n Unicode-UTF8-%{version}
+
+# Unbundle inc::Module::Install, we'll use system version instead
+# unless we're on EL-6, where there's no Module::Install::ReadmeFromPod
+%if "%{?rhel}" != "6"
+rm -rf inc/
+%endif
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/Unicode/
+%{perl_vendorarch}/auto/Unicode/
+%{_mandir}/man3/Unicode::UTF8.3pm*
+
+%changelog
+* Mon Sep  2 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.59-3
+- BR: perl(Scalar::Util) for the test suite (#1003650)
+- Add buildreqs for deps of bundled inc::Module::Install for EL-6 build
+
+* Mon Sep  2 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.59-2
+- Sanitize for Fedora submission
+
+* Mon Sep  2 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.59-1
+- Initial RPM build
diff --git a/sources b/sources
index e69de29..6276874 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+da4e4d924d310d834780203dea0f5617  Unicode-UTF8-0.59.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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux