Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37532558
en ru br
ALT Linux repos
S:0.07-alt2.1
5.0: 0.07-alt2
4.1: 0.07-alt1
4.0: 0.07-alt1
3.0: 0.07-alt1

Group :: Development/Perl
RPM: perl-Encode-compat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#
#   - Encode-compat -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       Encode::compat
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Encode-compat
%define m_distro Encode-compat
%define m_name Encode-compat
%define m_author_id unknown
%define _disable_test 1

Name: perl-Encode-compat
Version: 0.07
Release: alt2.1

Summary: Encode-compat - Encode.pm compatibility layer

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org//CPAN/authors/id/A/AU/AUTRIJUS/%m_distro-%version.tar.gz

# Automatically added by buildreq on Tue Jun 07 2005

BuildRequires: perl-devel

%description
WARNING: THIS IS A PROOF-OF-CONCEPT.  Most functions are incomplete.
All implementation details are subject to change!

This module provide a compatibility layer for Encode.pm users on perl
versions earlier than v5.7.1.  It translates whatever call it receives
into Text::Iconv, or (in the future) Unicode::MapUTF8 to perform
the actual work.

The "is_utf8()", "_utf8_on()" and "_utf8_off()" calls are performed
by the method native to the perl version -- 5.6.1 would use
"pack"/"unpack", 5.6.0 uses "tr//CU", etc.

Theoretically, it could be backported to 5.005 and earlier, with none of
the unicode-related semantics available, and serves only as a
abstraction layer above "Text::Iconv", "Unicode::MapUTF8" and possibly
other transcoding modules.

%prep
%setup -q -n %m_distro-%version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc Changes README
%perl_vendor_privlib/Encode/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin