2007-01-15 23:32:06 +00:00
|
|
|
#
|
2010-01-27 17:33:50 +00:00
|
|
|
# spec file for package perl-Unicode-Map8 (Version 0.13)
|
2007-01-15 23:32:06 +00:00
|
|
|
#
|
2010-01-12 11:59:51 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:06 +00:00
|
|
|
#
|
2009-06-18 15:15:12 +00:00
|
|
|
# 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/
|
2007-01-15 23:32:06 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:15:12 +00:00
|
|
|
|
|
|
|
Name: perl-Unicode-Map8
|
|
|
|
BuildRequires: perl-Unicode-String
|
2010-01-27 17:33:50 +00:00
|
|
|
Version: 0.13
|
|
|
|
Release: 1
|
2009-06-18 15:15:12 +00:00
|
|
|
Requires: perl-Unicode-String
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
2010-01-12 11:59:51 +00:00
|
|
|
License: Artistic
|
2009-06-18 15:15:12 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/Unicode/
|
|
|
|
Summary: Mapping table between 8-bit chars and Unicode
|
|
|
|
Source: Unicode-Map8-%{version}.tar.bz2
|
|
|
|
Patch0: Unicode-Map8-%{version}-type.diff
|
|
|
|
Patch1: Unicode-Map8-%{version}-declaration.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:32:06 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Unicode::Map8 class implement 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 is assumed to use network byte order.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gisle Aas <gisle@aas.no>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Unicode-Map8-%{version}
|
|
|
|
%patch0
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
2010-01-12 11:59:51 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:32:06 +00:00
|
|
|
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 %{_mandir}/man?/*
|
|
|
|
%doc README Changes rfc1345.txt
|
|
|
|
%{perl_vendorarch}/Unicode/Map8.pm
|
|
|
|
%{perl_vendorarch}/Unicode/Map8
|
|
|
|
%{perl_vendorarch}/auto/Unicode/Map8
|
|
|
|
%{_bindir}/*
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2009-06-18 15:15:12 +00:00
|
|
|
%changelog
|