3 %bcond_without tests # do not perform "make test"
7 Summary: Math::Libm - Perl extension for the C math library, libm
8 Summary(pl.UTF-8): Math::Libm - rozszerzenie Perla dla biblioteki matematycznej C - libm
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 26a4ce8fe507d04c7d40b9eadac428ae
16 URL: http://search.cpan.org/dist/Math-Libm/
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 This module is a translation of the C <math.h> file.
24 %description -l pl.UTF-8
25 Ten moduł jest tłumaczeniem pliku nagłówkowego C <math.h>.
28 %setup -q -n %{pdir}-%{pnam}-%{version}
31 %{__perl} Makefile.PL \
35 OPTIMIZE="%{rpmcflags}"
37 %{?with_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorarch}/Math/Libm.pm
52 %dir %{perl_vendorarch}/auto/Math/Libm
53 %{perl_vendorarch}/auto/Math/Libm/autosplit.ix
54 %attr(755,root,root) %{perl_vendorarch}/auto/Math/Libm/Libm.so