3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Regexp::Cherokee - regular expressions support for Cherokee Script
9 Summary(pl.UTF-8): Regexp::Cherokee - obsługa wyrażeń regularnych dla pisma Cherokee
10 Name: perl-Regexp-Cherokee
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: ae8d5220635ff420e5b3a711d792478e
17 URL: http://search.cpan.org/dist/Regexp-Cherokee/
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 The Regexp::Cherokee module provides POSIX style character class
25 definitions for working with the Cherokee syllabary. The character
26 classes provided by the Regexp::Cherokee package correspond to inate
27 properties of the script and are language independent.
29 %description -l pl.UTF-8
30 Moduł Regexp::Cherokee dostarcza definicje klas znaków w stylu POSIX
31 działające z pismem sylabicznym Cherokee. Klasy znaków dostarczone
32 przez pakiet Regexp::Cherokee odpowiadają własnościom pisma i są
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50 DESTDIR=$RPM_BUILD_ROOT
51 cp -p examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/Regexp/Cherokee.pm
61 %{_examplesdir}/%{name}-%{version}