Projects
openEuler:24.03:SP1:Everything
perl-Text-Unidecode
_service:tar_scm:perl-Text-Unidecode.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:perl-Text-Unidecode.spec of Package perl-Text-Unidecode
%define mod_name Text-Unidecode Name: perl-%{mod_name} Version: 1.30 Release: 10 Summary: %{mod_name} -- plain ASCII transliterations of Unicode text License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/%{mod_name} Source0: https://cpan.metacpan.org/modules/by-module/Text/%{mod_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: make perl-interpreter perl-generators perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Exporter) perl(integer) perl(strict) perl(utf8) perl(vars) perl(warnings) perl(Test) perl(Text::Wrap) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description It often happens that you have non-Roman text data in Unicode, but you can't display it-- usually because you're trying to show it to a user via an application that doesn't support Unicode, or because the fonts you need aren't accessible. You could represent the Unicode characters as "???????" or "\15BA\15A0\1610...", but that's nearly useless to the user who actually wants to read what the text says. What Text::Unidecode provides is a function, unidecode(...) that takes Unicode data and tries to represent it in US-ASCII characters (i.e., the universally displayable characters between 0x00 and 0x7F). The representation is almost always an attempt at transliteration-- i.e., conveying, in Roman letters, the pronunciation expressed by the text in some other writing system. (See the example in the synopsis.) %package help Summary: This package contains help documents %description help Files for help with perl-%{mod_name}. %prep %autosetup -n %{mod_name}-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %make_build %install make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check make test %files %doc README LICENSE %{perl_vendorlib}/Text/ %files help %doc TODO.txt ChangeLog %{_mandir}/man3/*.3* %changelog * Fri Jul 19 2024 yaoxin <yao_xin001@hoperun.com> - 1.30-10 - License compliance rectification * Tue Oct 25 2022 zhoushuiqing <zhoushuiqing2@huawei.com> - 1.30-9 - define mod_name to opitomize the specfile * Wed Nov 27 2019 wangyiru <wangyiru1@huawei.com> - 1.30-8 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2