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