3 %bcond_without tests # do not perform "make test"
6 %define pnam UTF8simple
7 Summary: Unicode::UTF8simple - Conversions to/from UTF-8 from/to character sets
8 Summary(pl.UTF-8): Unicode::UTF8simple - konwersje do/z UTF-8 z/do różnych zestawów znaków
9 Name: perl-Unicode-UTF8simple
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 1d90907170ed41690a572a2d6ed6e7da
17 URL: http://search.cpan.org/dist/Unicode-UTF8simple/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Provides UTF-8 conversion for Perl versions from 5.00 and up.
25 It was mainly written for use with Perl 5.00 to 5.6.0 because
26 those Perl versions do not support Unicode::MapUTF8 or Encode.
28 Unicode::UTF8simple is written in plain Perl (no C code) and will
29 work with any Perl 5 version. It is just slightly slower than
32 %description -l pl.UTF-8
33 Ten pakiet udostępnia funkcję do konwersji UTF-8 dla wersji Perla
34 począwszy od 5.00. Został napisany głównie do używania z perlem od
35 5.00 do 5.6.0, jako że te wersje Perla nie obsługują Unicode::MapUTF8
38 Unicode::UTF8simple jest napisany w czystym Perlu (bez kodu w C) i
39 będzie działać z dowolną wersją Perla 5. Jest tylko trochę wolniejszy
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{perl_vendorlib}/Unicode/*.pm