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

#
# spec file for package perl-Unicode-String (Version 2.09)
#
# Copyright (c) 2010 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Unicode-String
Version:        2.09
Release:        143
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic
Url:            http://cpan.org/modules/by-module/Unicode/
Summary:        String of Unicode characters (UCS2/UTF16)
Source:         Unicode-String-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros

%description
A Unicode::String object represents a sequence of Unicode characters.
The Unicode Standard is a fixed-width, uniform encoding scheme for
written characters and text. This encoding treats alphabetic
characters, ideographic characters, and symbols identically, which
means that they can be used in any mixture and with equal facility. 
Unicode is modeled on the ASCII character set, but uses a 16-bit
encoding to support full multilingual text.



Authors:
--------
    Gisle Aas <gisle@aas.no>

%prep
%setup -n Unicode-String-%{version}

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

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README Changes
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Unicode
%{perl_vendorarch}/auto/Unicode

%changelog