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