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

Revision 521, 3.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
2
3Name:           perl-Unicode-Map8
4Version:        0.12
5Release:        9%{?_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* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-9vl5
66- rebuilt with perl-5.10.0
67- appiled new versioning policy
68
69* Thu Aug  9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-8vl2
70- changed Group to Development/Libraries
71- added Patch0 and 1 from Fedora
72  * Sun Oct 29 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-11
73  - actually apply the patches
74  * Sat Oct 28 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-10
75  - add patches for x86_64
76
77* Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-8vl1
78- initial build for Vine Linux
79
80* Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-8
81- ExcludeArch x86_64
82
83* Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-7
84- disable unit tests (map8.t fails on x86_64)
85
86* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-6
87- rebuild for FC5
88
89* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
90- rebuilt
91
92* Mon Feb  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.4
93- Reduce directory ownership bloat.
94
95* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.3
96- Install into vendor dirs.
97- Specfile cleanup.
98
99* Mon Jul  7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.2
100- Regenerate %%install section with cpanflute2.
101
102* Wed May  7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.1
103- Update to current Fedora guidelines.
104
105* Sun Mar  2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.12-1.fedora.1
106- First Fedora release.
Note: See TracBrowser for help on using the repository browser.