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

Revision 9158, 3.5 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-Map
4Version:        0.112
5Release:        10%{?_dist_release}
6Summary:        Perl module for mapping charsets from and to utf16 unicode
7
8Group:          Development/Libraries
9License:        GPL or Artistic
10URL:            http://search.cpan.org/dist/Unicode-Map/
11Source0:        http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  perl(ExtUtils::MakeMaker)
15Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21This module converts strings from and to 2-byte Unicode UCS2
22format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte
23UTF8 encoding. To convert between UTF8 and UTF16 use Unicode::String.
24For historical reasons this module coexists with Unicode::Map8.
25Please use Unicode::Map8 unless you need to care for >1 byte character
26sets, e.g. chinese GB2312. Anyway, if you stick to the basic
27functionality (see documentation) you can use both modules
28equivalently.
29Practically this module will disappear from earth sooner or later as
30Unicode mapping support needs somehow to get into perl's core. If you
31like to work on this field please don't hesitate contacting Gisle Aas
32and check out the mailing list perl-unicode!
33
34
35%prep
36%setup -q -n Unicode-Map-%{version}
37
38%build
39CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
40make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
41
42%install
43rm -rf $RPM_BUILD_ROOT
44make install \
45  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
46  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
47find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
48  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
49find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
50chmod -R u+w $RPM_BUILD_ROOT/*
51
52%check || :
53make test
54
55%clean
56rm -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.
Note: See TracBrowser for help on using the repository browser.