source: projects/specs/branches/6/p/perl-Unicode-Map8/perl-Unicode-Map8-vl.spec @ 3671

Revision 3671, 3.4 KB checked in by iwaim, 13 years ago (diff)

perl-Unicode-Map8-0.13-1

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