forked from pool/perl-Unicode-Map
- regenerate with cpanspec 1.75.05
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Unicode-Map?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
89e2eac29a
commit
7503198ee7
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:99096d40c5e01d25f82f4ccbe632fde8404827bfc6ef840f01cea9a3a69dbd3c
|
|
||||||
size 244489
|
|
3
Unicode-Map-0.112.tar.gz
Normal file
3
Unicode-Map-0.112.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:10f0c2f12ebba57dcd4f46d24cf242c1915d31ec0a4ec36b4df18c9ca0cb4a5a
|
||||||
|
size 476116
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 7 08:27:12 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
- regenerate with cpanspec 1.75.05
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 13:35:56 UTC 2010 - coolo@novell.com
|
Wed Dec 1 13:35:56 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,60 +1,66 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Unicode-Map
|
# spec file for package perl-Unicode-Map (Version 0.112)
|
||||||
|
#
|
||||||
|
# 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 http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
Name: perl-Unicode-Map
|
||||||
|
Version: 0.112
|
||||||
Name: perl-Unicode-Map
|
Release: 1
|
||||||
%define cpan_name %( %{__sed} -e 's,perl-,,' <<< %{name} )
|
License: GPLv2+ or Artistic
|
||||||
Summary: Maps charsets from and to utf16 unicode
|
%define cpan_name Unicode-Map
|
||||||
Url: http://search.cpan.org/perldoc?Unicode::Map
|
Summary: maps charsets from and to utf16 unicode
|
||||||
Group: Development/Libraries/Perl
|
Url: http://search.cpan.org/dist/Unicode-Map/
|
||||||
License: Artistic License
|
Group: Development/Libraries/Perl
|
||||||
Version: 0.112
|
Source: http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/%{cpan_name}-%{version}.tar.gz
|
||||||
Release: 1
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Vendor: openSUSE-Education
|
BuildRequires: perl
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl-macros
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module converts strings from and to 2-byte Unicode UCS2 format. All
|
This module converts strings from and to 2-byte Unicode UCS2 format. All
|
||||||
mappings happen via 2 byte UTF16 encodings, not via 1 byte UTF8 encoding. To
|
mappings happen via 2 byte UTF16 encodings, not via 1 byte UTF8 encoding.
|
||||||
transform these use Unicode::String.
|
To transform these use Unicode::String.
|
||||||
|
|
||||||
For historical reasons this module coexists with Unicode::Map8. Please use
|
For historical reasons this module coexists with Unicode::Map8. Please use
|
||||||
Unicode::Map8 unless you need to care for two byte character sets, e.g. chinese
|
Unicode::Map8 unless you need to care for two byte character sets, e.g.
|
||||||
GB2312. Anyway, if you stick to the basic functionality (see documentation) you
|
chinese GB2312. Anyway, if you stick to the basic functionality (see
|
||||||
can use both modules equivalently.
|
documentation) you can use both modules equivalently.
|
||||||
|
|
||||||
Practically this module will disappear from earth sooner or later as Unicode
|
Practically this module will disappear from earth sooner or later as
|
||||||
mapping support needs somehow to get into perl's core. If you like to work on
|
Unicode mapping support needs somehow to get into perl's core. If you like
|
||||||
this field please don't hesitate contacting Gisle Aas!
|
to work on this field please don't hesitate contacting Gisle Aas!
|
||||||
|
|
||||||
This module can't deal directly with utf8. Use Unicode::String to convert utf8
|
This module can't deal directly with utf8. Use Unicode::String to convert
|
||||||
to utf16 and vice versa.
|
utf8 to utf16 and vice versa.
|
||||||
|
|
||||||
Character mapping is according to the data of binary mapfiles in Unicode::Map
|
|
||||||
hierarchy. Binary mapfiles can also be created with this module, enabling you
|
|
||||||
to install own specific character sets. Refer to mkmapfile or file REGISTRY in
|
|
||||||
the Unicode::Map hierarchy.
|
|
||||||
|
|
||||||
|
|
||||||
Author:
|
|
||||||
-------
|
|
||||||
Martin Schwartz <martin@nacho.de>
|
|
||||||
|
|
||||||
|
Character mapping is according to the data of binary mapfiles in
|
||||||
|
Unicode::Map hierarchy. Binary mapfiles can also be created with this
|
||||||
|
module, enabling you to install own specific character sets. Refer to
|
||||||
|
mkmapfile or file REGISTRY in the Unicode::Map hierarchy.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?jobs:-j%jobs}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -62,10 +68,10 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README MANIFEST
|
%doc Changes COPYING README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user