[521] | 1 | %{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} |
---|
| 2 | |
---|
| 3 | Name: perl-Unicode-MapUTF8 |
---|
| 4 | Version: 1.11 |
---|
| 5 | Release: 2%{?_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 | * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.11-2vl5 |
---|
| 66 | - spec in utf-8 |
---|
| 67 | |
---|
| 68 | * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-1vl5 |
---|
| 69 | - rebuilt with perl-5.10.0 |
---|
| 70 | - appiled new versioning policy |
---|
| 71 | |
---|
| 72 | * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl2 |
---|
| 73 | - changed Group to Development/Libraries |
---|
| 74 | |
---|
| 75 | * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl1 |
---|
| 76 | - initial build for Vine Linux |
---|
| 77 | |
---|
| 78 | * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 1.09-6 |
---|
| 79 | - rebuild for FC5 |
---|
| 80 | - ExcludeArch x86_64 because perl-Unicode-Map8 does not work on this arch |
---|
| 81 | |
---|
| 82 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
| 83 | - rebuilt |
---|
| 84 | |
---|
| 85 | * Mon Feb 2 2004 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.4 |
---|
| 86 | - Reduce directory ownership bloat. |
---|
| 87 | |
---|
| 88 | * Sat Oct 11 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.3 |
---|
| 89 | - Install into vendor dirs. |
---|
| 90 | - Specfile cleanup. |
---|
| 91 | |
---|
| 92 | * Mon Jul 7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.2 |
---|
| 93 | - Regenerate %%install section with cpanflute2. |
---|
| 94 | - Improve %%description. |
---|
| 95 | |
---|
| 96 | * Wed May 7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.1 |
---|
| 97 | - Update to current Fedora guidelines. |
---|
| 98 | |
---|
| 99 | * Sun Mar 2 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 1.09-1.fedora.1 |
---|
| 100 | - First Fedora release. |
---|