1 | %{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)} |
---|
2 | |
---|
3 | Name: perl-Unicode-Map |
---|
4 | Version: 0.112 |
---|
5 | Release: 10%{?_dist_release} |
---|
6 | Summary: Perl module for mapping charsets from and to utf16 unicode |
---|
7 | |
---|
8 | Group: Development/Libraries |
---|
9 | License: GPL or Artistic |
---|
10 | URL: http://search.cpan.org/dist/Unicode-Map/ |
---|
11 | Source0: http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-%{version}.tar.gz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
16 | |
---|
17 | Vendor: Project Vine |
---|
18 | Distribution: Vine Linux |
---|
19 | |
---|
20 | %description |
---|
21 | This module converts strings from and to 2-byte Unicode UCS2 |
---|
22 | format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte |
---|
23 | UTF8 encoding. To convert between UTF8 and UTF16 use Unicode::String. |
---|
24 | For historical reasons this module coexists with Unicode::Map8. |
---|
25 | Please use Unicode::Map8 unless you need to care for >1 byte character |
---|
26 | sets, e.g. chinese GB2312. Anyway, if you stick to the basic |
---|
27 | functionality (see documentation) you can use both modules |
---|
28 | equivalently. |
---|
29 | Practically this module will disappear from earth sooner or later as |
---|
30 | Unicode mapping support needs somehow to get into perl's core. If you |
---|
31 | like to work on this field please don't hesitate contacting Gisle Aas |
---|
32 | and check out the mailing list perl-unicode! |
---|
33 | |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q -n Unicode-Map-%{version} |
---|
37 | |
---|
38 | %build |
---|
39 | CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
40 | make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf $RPM_BUILD_ROOT |
---|
44 | make install \ |
---|
45 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ |
---|
46 | INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} |
---|
47 | find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ |
---|
48 | -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' |
---|
49 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
50 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
51 | |
---|
52 | %check || : |
---|
53 | make test |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf $RPM_BUILD_ROOT |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc COPYING Changes README |
---|
61 | %{_bindir}/m* |
---|
62 | %{perl_vendorarch}/auto/Unicode |
---|
63 | %{perl_vendorarch}/Unicode |
---|
64 | %{_mandir}/man[13]/*.[13]* |
---|
65 | |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.112-10 |
---|
69 | - rebuilt with perl 5.16.3 |
---|
70 | - added Vendor and Distribution tag |
---|
71 | |
---|
72 | * Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 0.112-9vl6 |
---|
73 | - build with perl 5.12.3 |
---|
74 | |
---|
75 | * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.112-8vl5 |
---|
76 | - rebuilt with perl-5.10.0 |
---|
77 | - appiled new versioning policy |
---|
78 | |
---|
79 | * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.112-7vl2 |
---|
80 | - changed Group to Development/Libraries |
---|
81 | |
---|
82 | * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.112-7vl1 |
---|
83 | - initial build for Vine Linux |
---|
84 | |
---|
85 | * Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.112-7 |
---|
86 | - rebuild for FC5 |
---|
87 | |
---|
88 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
89 | - rebuilt |
---|
90 | |
---|
91 | * Mon Feb 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.112-0.fdr.5 |
---|
92 | - Reduce directory ownership bloat. |
---|
93 | |
---|
94 | * Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.112-0.fdr.4 |
---|
95 | - Install into vendor dirs. |
---|
96 | - Specfile cleanup. |
---|
97 | |
---|
98 | * Mon Jul 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.112-0.fdr.3 |
---|
99 | - Regenerate %%install section with cpanflute2. |
---|
100 | - Improve %%description. |
---|
101 | |
---|
102 | * Sun May 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.112-0.fdr.2 |
---|
103 | - Own more dirs. |
---|
104 | |
---|
105 | * Fri Mar 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.112-0.fdr.1 |
---|
106 | - Update to current Fedora guidelines. |
---|
107 | |
---|
108 | * Sun Mar 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.112-1.fedora.1 |
---|
109 | - First Fedora release. |
---|