1 | %{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)} |
---|
2 | |
---|
3 | Name: perl-Unicode-Map8 |
---|
4 | Version: 0.13 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Summary: Mapping table between 8-bit chars and Unicode for Perl |
---|
7 | Group: Development/Libraries |
---|
8 | License: GPL or Artistic |
---|
9 | URL: http://search.cpan.org/dist/Unicode-Map8/ |
---|
10 | Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-Map8-%{version}.tar.gz |
---|
11 | Patch0: perl-Unicode-Map8-0.12-declaration.patch |
---|
12 | Patch1: perl-Unicode-Map8-0.12-type.patch |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
16 | BuildRequires: perl(Unicode::String) |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
22 | # Does not work on x86_64, see bug #182514 |
---|
23 | #ExcludeArch: x86_64 |
---|
24 | |
---|
25 | %description |
---|
26 | The Unicode::Map8 class implements efficient mapping tables between |
---|
27 | 8-bit character sets and 16 bit character sets like Unicode. About |
---|
28 | 170 different mapping tables between various known character sets and |
---|
29 | Unicode is distributed with this package. The source of these tables |
---|
30 | is the vendor mapping tables provided by Unicode, Inc. and the code |
---|
31 | tables in RFC 1345. New maps can easily be installed. |
---|
32 | |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q -n Unicode-Map8-%{version} |
---|
36 | %patch0 -p0 -b .declaration |
---|
37 | %patch1 -p0 -b .type |
---|
38 | |
---|
39 | %build |
---|
40 | CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
41 | make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" |
---|
42 | |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | make install \ |
---|
47 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ |
---|
48 | INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} |
---|
49 | find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ |
---|
50 | -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' |
---|
51 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
52 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
53 | |
---|
54 | %check || : |
---|
55 | make test |
---|
56 | |
---|
57 | %clean |
---|
58 | rm -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | |
---|
61 | %files |
---|
62 | %defattr(-,root,root,-) |
---|
63 | %doc Changes README |
---|
64 | %{_bindir}/umap |
---|
65 | %{perl_vendorarch}/auto/Unicode |
---|
66 | %{perl_vendorarch}/Unicode |
---|
67 | %{_mandir}/man[13]/*.[13]* |
---|
68 | |
---|
69 | %changelog |
---|
70 | * Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.13-2 |
---|
71 | - rebuilt with perl 5.16.3 |
---|
72 | - added Vendor and Distribution tag |
---|
73 | |
---|
74 | * Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 0.13-1 |
---|
75 | - new upstream release |
---|
76 | |
---|
77 | * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-9vl5 |
---|
78 | - rebuilt with perl-5.10.0 |
---|
79 | - appiled new versioning policy |
---|
80 | |
---|
81 | * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-8vl2 |
---|
82 | - changed Group to Development/Libraries |
---|
83 | - added Patch0 and 1 from Fedora |
---|
84 | * Sun Oct 29 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-11 |
---|
85 | - actually apply the patches |
---|
86 | * Sat Oct 28 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-10 |
---|
87 | - add patches for x86_64 |
---|
88 | |
---|
89 | * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-8vl1 |
---|
90 | - initial build for Vine Linux |
---|
91 | |
---|
92 | * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-8 |
---|
93 | - ExcludeArch x86_64 |
---|
94 | |
---|
95 | * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-7 |
---|
96 | - disable unit tests (map8.t fails on x86_64) |
---|
97 | |
---|
98 | * Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-6 |
---|
99 | - rebuild for FC5 |
---|
100 | |
---|
101 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
102 | - rebuilt |
---|
103 | |
---|
104 | * Mon Feb 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.4 |
---|
105 | - Reduce directory ownership bloat. |
---|
106 | |
---|
107 | * Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.3 |
---|
108 | - Install into vendor dirs. |
---|
109 | - Specfile cleanup. |
---|
110 | |
---|
111 | * Mon Jul 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.2 |
---|
112 | - Regenerate %%install section with cpanflute2. |
---|
113 | |
---|
114 | * Wed May 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.1 |
---|
115 | - Update to current Fedora guidelines. |
---|
116 | |
---|
117 | * Sun Mar 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.12-1.fedora.1 |
---|
118 | - First Fedora release. |
---|