%define module Unicode-Map8 %define name perl-%{module} %define version 0.12 %define release %mkrel 6 Name: %{name} Version: %{version} Release: %{release} Summary: Mapping table between 8-bit chars and Unicode License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} Buildrequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version} %description The Unicode::Map8 class implement efficient mapping tables between 8-bit character sets and 16 bit character sets like Unicode. The tables are efficient both in terms of space allocated and translation speed. The 16-bit strings is assumed to use network byte order. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{perl_vendorarch}/auto/Unicode %{perl_vendorarch}/Unicode %{_mandir}/*/* %{_bindir}/* %changelog * Wed Nov 30 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.12-6mdk - spec cleanup - %%mkrel - better url * Mon Nov 15 2004 Michael Scherer <misc@mandrake.org> 0.12-5mdk - Rebuild for new perl * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.12-4mdk - fixed summary capitalization * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.12-3mdk - rpmbuildupdate aware * Wed Feb 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.12-2mdk - fixed dir ownership (distlint) * Tue Dec 09 2003 Guillaume Rousse <guillomovitch@mandrake.org> 0.12-1mdk - first mdk release