source: projects/specs/branches/6/p/perl-Unicode-MapUTF8/perl-Unicode-MapUTF8-vl.spec @ 3672

Revision 3672, 3.2 KB checked in by iwaim, 13 years ago (diff)

perl-Unicode-MapUTF8-1.11-3

Line 
1%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
2
3Name:           perl-Unicode-MapUTF8
4Version:        1.11
5Release:        3%{?_dist_release}
6
7Summary:        Conversions to and from arbitrary character sets and UTF8
8Summary(ja):    任意の文字コードと UTF8 を相互変換する perl モジュール
9
10Group:          Development/Libraries
11License:        GPL or Artistic
12URL:            http://search.cpan.org/dist/Unicode-MapUTF8/
13Source0:        http://www.cpan.org/authors/id/S/SN/SNOWHARE/Unicode-MapUTF8-%{version}.tar.gz
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildArch:      noarch
17BuildRequires:  perl-Jcode
18BuildRequires:  perl-Unicode-String
19BuildRequires:  perl-Unicode-Map
20BuildRequires:  perl-Unicode-Map8
21
22%description
23Unicode::MapUTF8 Provides an adapter layer between core routines for
24converting to and from UTF8 and other encodings. In essence, a way to
25give multiple existing Unicode modules a single common interface so
26you don't have to know the underlaying implementations to do simple
27UTF8 to-from other character set string conversions. As such, it wraps
28the Unicode::String, Unicode::Map8, Unicode::Map and Jcode modules in
29a standardized and simple API.
30
31
32%prep
33%setup -q -n Unicode-MapUTF8-%{version}
34
35
36%build
37CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
38make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
39
40
41%install
42rm -rf $RPM_BUILD_ROOT
43make install \
44  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
45  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
46find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
47  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
48find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
49chmod -R u+w $RPM_BUILD_ROOT/*
50
51%check || :
52make test
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57
58%files
59%defattr(-,root,root,-)
60%doc README
61%{perl_vendorlib}/Unicode
62%{_mandir}/man3/*.3*
63
64%changelog
65* Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 1.11-3vl6
66- build with perl 5.12.3
67
68* Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.11-2vl5
69- spec in utf-8
70
71* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-1vl5
72- rebuilt with perl-5.10.0
73- appiled new versioning policy
74
75* Thu Aug  9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl2
76- changed Group to Development/Libraries
77
78* Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-0vl1
79- initial build for Vine Linux
80
81* Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 1.09-6
82- rebuild for FC5
83- ExcludeArch x86_64 because perl-Unicode-Map8 does not work on this arch
84
85* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
86- rebuilt
87
88* Mon Feb  2 2004 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.4
89- Reduce directory ownership bloat.
90
91* Sat Oct 11 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.3
92- Install into vendor dirs.
93- Specfile cleanup.
94
95* Mon Jul  7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.2
96- Regenerate %%install section with cpanflute2.
97- Improve %%description.
98
99* Wed May  7 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
100- Update to current Fedora guidelines.
101
102* Sun Mar  2 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 1.09-1.fedora.1
103- First Fedora release.
Note: See TracBrowser for help on using the repository browser.