1 | Summary: US-ASCII transliterations of Unicode text |
---|
2 | Name: perl-Text-Unidecode |
---|
3 | Version: 1.23 |
---|
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 | BuildArch: noarch |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
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 | * Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.23-1 |
---|
63 | - updated to 1.23 |
---|
64 | - built with perl 5.16.3 |
---|
65 | |
---|
66 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.4-2 |
---|
67 | - rebuild with perl-5.12.3 |
---|
68 | |
---|
69 | * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-1vl5 |
---|
70 | - applied new versioning policy |
---|
71 | |
---|
72 | * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.4-0vl1 |
---|
73 | - initial build for Vine Linux |
---|
74 | |
---|
75 | * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-4.1 |
---|
76 | - correct license tag |
---|
77 | - add BR: perl(ExtUtils::MakeMaker) |
---|
78 | |
---|
79 | * Tue Aug 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-4 |
---|
80 | - rebuild for FC6 |
---|
81 | |
---|
82 | * Mon Jun 26 2006 Patrice Dumas <pertusus at free.fr> - 0.04-3 |
---|
83 | - rebuild for perl-5.8.8 |
---|
84 | |
---|
85 | * Fri Feb 17 2006 Patrice Dumas <pertusus at free.fr> - 0.04-2 |
---|
86 | - rebuild for fc5 |
---|
87 | |
---|
88 | * Sun Jan 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-1 |
---|
89 | - fedora extras submission |
---|