1 | %{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} |
---|
2 | |
---|
3 | Name: perl-Unicode-MapUTF8 |
---|
4 | Version: 1.11 |
---|
5 | Release: 3%{?_dist_release} |
---|
6 | |
---|
7 | Summary: Conversions to and from arbitrary character sets and UTF8 |
---|
8 | Summary(ja): 任意の文字コードと UTF8 を相互変換する perl モジュール |
---|
9 | |
---|
10 | Group: Development/Libraries |
---|
11 | License: GPL or Artistic |
---|
12 | URL: http://search.cpan.org/dist/Unicode-MapUTF8/ |
---|
13 | Source0: http://www.cpan.org/authors/id/S/SN/SNOWHARE/Unicode-MapUTF8-%{version}.tar.gz |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildArch: noarch |
---|
17 | BuildRequires: perl-Jcode |
---|
18 | BuildRequires: perl-Unicode-String |
---|
19 | BuildRequires: perl-Unicode-Map |
---|
20 | BuildRequires: perl-Unicode-Map8 |
---|
21 | |
---|
22 | %description |
---|
23 | Unicode::MapUTF8 Provides an adapter layer between core routines for |
---|
24 | converting to and from UTF8 and other encodings. In essence, a way to |
---|
25 | give multiple existing Unicode modules a single common interface so |
---|
26 | you don't have to know the underlaying implementations to do simple |
---|
27 | UTF8 to-from other character set string conversions. As such, it wraps |
---|
28 | the Unicode::String, Unicode::Map8, Unicode::Map and Jcode modules in |
---|
29 | a standardized and simple API. |
---|
30 | |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q -n Unicode-MapUTF8-%{version} |
---|
34 | |
---|
35 | |
---|
36 | %build |
---|
37 | CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
38 | make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" |
---|
39 | |
---|
40 | |
---|
41 | %install |
---|
42 | rm -rf $RPM_BUILD_ROOT |
---|
43 | make install \ |
---|
44 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ |
---|
45 | INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} |
---|
46 | find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ |
---|
47 | -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' |
---|
48 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
49 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
50 | |
---|
51 | %check || : |
---|
52 | make test |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc README |
---|
61 | %{perl_vendorlib}/Unicode |
---|
62 | %{_mandir}/man3/*.3* |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 1.11-3vl6 |
---|
66 | - build with perl 5.12.3 |
---|
67 | |
---|
68 | * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.11-2vl5 |
---|
69 | - spec in utf-8 |
---|
70 | |
---|
71 | * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-1vl5 |
---|
72 | - rebuilt with perl-5.10.0 |
---|
73 | - appiled new versioning policy |
---|
74 | |
---|
75 | * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl2 |
---|
76 | - changed Group to Development/Libraries |
---|
77 | |
---|
78 | * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl1 |
---|
79 | - initial build for Vine Linux |
---|
80 | |
---|
81 | * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 1.09-6 |
---|
82 | - rebuild for FC5 |
---|
83 | - ExcludeArch x86_64 because perl-Unicode-Map8 does not work on this arch |
---|
84 | |
---|
85 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
86 | - rebuilt |
---|
87 | |
---|
88 | * Mon Feb 2 2004 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.4 |
---|
89 | - Reduce directory ownership bloat. |
---|
90 | |
---|
91 | * Sat Oct 11 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.3 |
---|
92 | - Install into vendor dirs. |
---|
93 | - Specfile cleanup. |
---|
94 | |
---|
95 | * Mon Jul 7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.2 |
---|
96 | - Regenerate %%install section with cpanflute2. |
---|
97 | - Improve %%description. |
---|
98 | |
---|
99 | * Wed May 7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.1 |
---|
100 | - Update to current Fedora guidelines. |
---|
101 | |
---|
102 | * Sun Mar 2 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 1.09-1.fedora.1 |
---|
103 | - First Fedora release. |
---|