source: projects/specs/trunk/p/perl-Unicode-Map8/perl-Unicode-Map8-vl.spec @ 9158

Revision 9158, 3.7 KB checked in by inagaki, 9 years ago (diff)

2014-12-16 Ryoichi INAGAKI <ryo1@…>

  • perl-DateTime?-TimeZone?, perl-LDAP: updated
  • perl-List-AllUtils?, perl-Test-Warnings: NEW
  • perl-Unicode-{Map, Map8, MapUTF8, String}: rebuilt
  • perl-X11-Protocol: rebuilt


Line 
1%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
2
3Name:           perl-Unicode-Map8
4Version:        0.13
5Release:        2%{?_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
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildRequires:  perl(ExtUtils::MakeMaker)
16BuildRequires:  perl(Unicode::String)
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22# Does not work on x86_64, see bug #182514
23#ExcludeArch:  x86_64
24
25%description
26The Unicode::Map8 class implements efficient mapping tables between
278-bit character sets and 16 bit character sets like Unicode.  About
28170 different mapping tables between various known character sets and
29Unicode is distributed with this package.  The source of these tables
30is the vendor mapping tables provided by Unicode, Inc. and the code
31tables 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
40CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
41make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
42
43
44%install
45rm -rf $RPM_BUILD_ROOT
46make install \
47  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
48  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
49find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
50  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
51find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
52chmod -R u+w $RPM_BUILD_ROOT/*
53
54%check || :
55make test
56
57%clean
58rm -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.
Note: See TracBrowser for help on using the repository browser.