3 %bcond_without tests # Do not perform "make test"
6 Summary: CzFast - Perl module for Czech charsets manipulation
7 Summary(pl.UTF-8): CzFast - moduł Perla do manipulacji czeskimi zestawami znaków
11 License: GPL v1+ or Artistic
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-authors/id/T/TR/TRIPIE/%{pnam}-%{version}.tar.gz
14 # Source0-md5: 03f8221f66f181f8c08c121c4707e2d9
16 URL: http://search.cpan.org/dist/CzFast/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 CzFast is a Perl module for Czech charsets manipulation. It uses
23 character tables created by Jaromir Dolecek for the Csacek project
24 (http://www.csacek.cz/).
26 %description -l pl.UTF-8
27 CzFast jest modułem Perla do manipulacji czeskimi zestawami znaków.
28 Korzysta on z tablic przekodowań utworzonych przez Jaromira Dolecka
29 na potrzeby projektu Csacek (http://www.csacek.cz/).
32 %setup -q -n %{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 OPTIMIZE="%{rpmcflags}"
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_mandir}/cs/man3
49 DESTDIR=$RPM_BUILD_ROOT
50 mv $RPM_BUILD_ROOT%{_mandir}/man3/CzFast.3pm* $RPM_BUILD_ROOT%{_mandir}/cs/man3
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man3
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorarch}/CzFast.pm
60 %dir %{perl_vendorarch}/auto/CzFast
61 %attr(755,root,root) %{perl_vendorarch}/auto/CzFast/CzFast.so
63 %lang(cs) %{_mandir}/cs/man3/*