[521] | 1 | Summary: US-ASCII transliterations of Unicode text |
---|
| 2 | Name: perl-Text-Unidecode |
---|
| 3 | Version: 0.04 |
---|
[3739] | 4 | Release: 2%{?_dist_release} |
---|
[521] | 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-%(%{__id_u} -n) |
---|
| 11 | |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | |
---|
| 15 | %description |
---|
| 16 | |
---|
| 17 | Text::Unidecode provides a function, `unidecode(...)' that |
---|
| 18 | takes Unicode data and tries to represent it in US-ASCII |
---|
| 19 | characters (i.e., the universally displayable characters between |
---|
| 20 | 0x00 and 0x7F). The representation is almost always an attempt at |
---|
| 21 | *transliteration* -- i.e., conveying, in Roman letters, the |
---|
| 22 | pronunciation expressed by the text in some other writing |
---|
| 23 | system. |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q -n Text-Unidecode-%{version} |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 32 | make %{?_smp_mflags} |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | rm -rf $RPM_BUILD_ROOT |
---|
| 37 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 38 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 39 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 40 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %check |
---|
| 44 | make test |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %clean |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %files |
---|
| 52 | %defattr(-,root,root,-) |
---|
| 53 | %doc README TODO.txt ChangeLog |
---|
| 54 | %{perl_vendorlib}/Text/ |
---|
| 55 | %{_mandir}/man3/*.3* |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %changelog |
---|
[3739] | 59 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.4-2 |
---|
| 60 | - rebuild with perl-5.12.3 |
---|
| 61 | |
---|
[521] | 62 | * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-1vl5 |
---|
| 63 | - applied new versioning policy |
---|
| 64 | |
---|
| 65 | * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.4-0vl1 |
---|
| 66 | - initial build for Vine Linux |
---|
| 67 | |
---|
| 68 | * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-4.1 |
---|
| 69 | - correct license tag |
---|
| 70 | - add BR: perl(ExtUtils::MakeMaker) |
---|
| 71 | |
---|
| 72 | * Tue Aug 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-4 |
---|
| 73 | - rebuild for FC6 |
---|
| 74 | |
---|
| 75 | * Mon Jun 26 2006 Patrice Dumas <pertusus at free.fr> - 0.04-3 |
---|
| 76 | - rebuild for perl-5.8.8 |
---|
| 77 | |
---|
| 78 | * Fri Feb 17 2006 Patrice Dumas <pertusus at free.fr> - 0.04-2 |
---|
| 79 | - rebuild for fc5 |
---|
| 80 | |
---|
| 81 | * Sun Jan 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-1 |
---|
| 82 | - fedora extras submission |
---|