File perl-Unicode-Map8.spec of Package perl-Unicode-Map8

# spec file for package perl-Unicode-Map8
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-Unicode-Map8
BuildRequires:  perl-Unicode-String
BuildRequires:  perl-macros
Version:        0.13
Release:        6
Requires:       perl-Unicode-String
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic-1.0
Summary:        Mapping table between 8-bit chars and Unicode
Source:         Unicode-Map8-%{version}.tar.gz
Patch0:         Unicode-Map8-%{version}-type.diff
Patch1:         Unicode-Map8-%{version}-declaration.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The Unicode::Map8 class implements efficient mapping tables between
8-bit character sets and 16-bit character sets like Unicode. The tables
are efficient both in terms of space allocated and translation speed.
The 16-bit strings are assumed to use network byte order.

    Gisle Aas <>

%setup -n Unicode-Map8-%{version}

perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make %{?_smp_mflags}
make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor


%doc %{_mandir}/man?/*
%doc README Changes rfc1345.txt