| 1 | Summary: US-ASCII transliterations of Unicode text |
|---|
| 2 | Name: perl-Text-Unidecode |
|---|
| 3 | Version: 1.30 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | License: GPL+ or Artistic |
|---|
| 8 | URL: http://search.cpan.org/dist/Text-Unidecode/ |
|---|
| 9 | Source0: http://www.cpan.org/modules/by-module/Text/Text-Unidecode-%{version}.tar.gz |
|---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 11 | |
|---|
| 12 | Vendor: Project Vine |
|---|
| 13 | Distribution: Vine Linux |
|---|
| 14 | |
|---|
| 15 | BuildArch: noarch |
|---|
| 16 | BuildRequires: perl(ExtUtils::MakeMaker) |
|---|
| 17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | Text::Unidecode provides a function, `unidecode(...)' that |
|---|
| 21 | takes Unicode data and tries to represent it in US-ASCII |
|---|
| 22 | characters (i.e., the universally displayable characters between |
|---|
| 23 | 0x00 and 0x7F). The representation is almost always an attempt at |
|---|
| 24 | *transliteration* -- i.e., conveying, in Roman letters, the |
|---|
| 25 | pronunciation expressed by the text in some other writing |
|---|
| 26 | system. |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | %prep |
|---|
| 30 | %setup -q -n Text-Unidecode-%{version} |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | %build |
|---|
| 34 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 35 | make %{?_smp_mflags} |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | %install |
|---|
| 39 | rm -rf $RPM_BUILD_ROOT |
|---|
| 40 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
|---|
| 41 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
|---|
| 42 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
|---|
| 43 | chmod -R u+w $RPM_BUILD_ROOT/* |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | %check |
|---|
| 47 | make test |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | %clean |
|---|
| 51 | rm -rf $RPM_BUILD_ROOT |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | %files |
|---|
| 55 | %defattr(-,root,root,-) |
|---|
| 56 | %doc README TODO.txt ChangeLog |
|---|
| 57 | %{perl_vendorlib}/Text/ |
|---|
| 58 | %{_mandir}/man3/*.3* |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | %changelog |
|---|
| 62 | * Mon May 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.30-1 |
|---|
| 63 | - new upstream release. |
|---|
| 64 | - rebuilt with perl-5.26. |
|---|
| 65 | |
|---|
| 66 | * Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.23-1 |
|---|
| 67 | - updated to 1.23 |
|---|
| 68 | - built with perl 5.16.3 |
|---|
| 69 | |
|---|
| 70 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.4-2 |
|---|
| 71 | - rebuild with perl-5.12.3 |
|---|
| 72 | |
|---|
| 73 | * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-1vl5 |
|---|
| 74 | - applied new versioning policy |
|---|
| 75 | |
|---|
| 76 | * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.4-0vl1 |
|---|
| 77 | - initial build for Vine Linux |
|---|
| 78 | |
|---|
| 79 | * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-4.1 |
|---|
| 80 | - correct license tag |
|---|
| 81 | - add BR: perl(ExtUtils::MakeMaker) |
|---|
| 82 | |
|---|
| 83 | * Tue Aug 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-4 |
|---|
| 84 | - rebuild for FC6 |
|---|
| 85 | |
|---|
| 86 | * Mon Jun 26 2006 Patrice Dumas <pertusus at free.fr> - 0.04-3 |
|---|
| 87 | - rebuild for perl-5.8.8 |
|---|
| 88 | |
|---|
| 89 | * Fri Feb 17 2006 Patrice Dumas <pertusus at free.fr> - 0.04-2 |
|---|
| 90 | - rebuild for fc5 |
|---|
| 91 | |
|---|
| 92 | * Sun Jan 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-1 |
|---|
| 93 | - fedora extras submission |
|---|