%define pkg_name Unicode-Map %define pkg_version 0.112 %define rpm_pkg_version 0.112 %define rpm_pkg_release 5.n0i.7 Summary: Maps charsets from and to utf16 unicode Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description This module converts strings from and to 2-byte Unicode UCS2 format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte UTF8 encoding. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path Map/ tools/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b -m} %exclude %{_bindir}/mirrorMappings %exclude %{_bindir}/mkCSGB2312 %doc Changes COPYING README %changelog * Tue May 22 2007 Marius Feraru - 0.112-5.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.14.7 * Sat Mar 04 2006 Marius Feraru - 0.112-4.n0i.6 - automatic rebuild (perl 5.8.8) * Sat Jul 30 2005 Marius Feraru 0.112-3.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer/0.1 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.112-2.n0i.4 - automatic rebuild (perl 5.8.6) * Sat Dec 04 2004 Marius Feraru 0:0.112-2.n0i.3 - automatic rebuild (perl 5.8.6) * Wed May 05 2004 Marius FERARU 0:0.112-1.n0i.2 - renamed 'map' to 'utf-map' and baked its man page * Tue May 04 2004 Marius Feraru 0:0.112-1.n0i.1 - version 0.112 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401