- initial version 1.11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Unicode-MapUTF8?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
Unicode-MapUTF8-1.11.tar.bz2
Normal file
3
Unicode-MapUTF8-1.11.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:381fa21748ca3017e2a66902aafb48382238ca976efee1711b20cce43ca46b03
|
||||
size 14397
|
5
perl-Unicode-MapUTF8.changes
Normal file
5
perl-Unicode-MapUTF8.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 28 15:02:20 UTC 2010 - lars@linux-schulserver.de
|
||||
|
||||
- initial version 1.11
|
||||
|
79
perl-Unicode-MapUTF8.spec
Normal file
79
perl-Unicode-MapUTF8.spec
Normal file
@@ -0,0 +1,79 @@
|
||||
#
|
||||
# spec file for package perl-Unicode-MapUTF8
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Unicode-MapUTF8
|
||||
%define cpan_name %( %{__sed} -e 's,perl-,,' <<< %{name} )
|
||||
Summary: Conversions to and from arbitrary character sets and UTF8
|
||||
Url: http://search.cpan.org/perldoc?Unicode::MapUTF8
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License
|
||||
Version: 1.11
|
||||
Release: 1
|
||||
Vendor: openSUSE-Education
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRequires: perl-macros
|
||||
#BuildRequires: perl(Test::Distribution)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Unicode::String)
|
||||
BuildRequires: perl(Unicode::Map)
|
||||
BuildRequires: perl(Unicode::Map8)
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Provides an adapter layer between core routines for converting to and from
|
||||
UTF8 and other encodings. In essence, a way to give multiple existing
|
||||
Unicode modules a single common interface so you don't have to know the
|
||||
underlaying implementations to do simple UTF8 to-from other character set
|
||||
encoding conversions. As such, it wraps the Unicode::String, Unicode::Map8,
|
||||
Unicode::Map and Jcode modules in a standardized and simple API.
|
||||
|
||||
This also provides general character set conversion operation based on UTF8
|
||||
- it is possible to convert between any two compatible and supported
|
||||
character sets via a simple two step chaining of conversions.
|
||||
|
||||
As with most things Perlish - if you give it a few big chunks of text to
|
||||
chew on instead of lots of small ones it will handle many more characters
|
||||
per second.
|
||||
|
||||
By design, it can be easily extended to encompass any new charset encoding
|
||||
conversion modules that arrive on the scene.
|
||||
|
||||
This module is intended to provide good Unicode support to versions of Perl
|
||||
prior to 5.8. If you are using Perl 5.8.0 or later, you probably want to be
|
||||
using the Encode module instead. This module does work with Perl 5.8, but
|
||||
Encode is the preferred method in that environment.
|
||||
|
||||
|
||||
Author:
|
||||
-------
|
||||
Benjamin Franz <snowhare@nihongo.org>
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-, root, root)
|
||||
%doc Changes README MANIFEST
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user