# # Conditional build: %bcond_without tests # do not perform "make test" %define pdir Math %define pnam Interpolate Summary: Math::Interpolate Perl module - interpolating data sets Summary(pl.UTF-8): Moduł Perla Math::Interpolate - interpolacja zbiorów danych Name: perl-Math-Interpolate Version: 1.05 Release: 3 License: unknown Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 1826c6c24b75a2a27964c3dac198adac URL: http://search.cpan.org/dist/Math-Interpolate/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is the Math::Interpolate package. This module contains several useful routines for interpolating data sets and finding where a given value lies in a sorted list. %description -l pl.UTF-8 Moduł Math::Interpolate zawiera funkcje przydatne do interpolacji zbiorów danych i znajdowania, gdzie dana wartość leży na posortowanej liście. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc CHANGES README %{perl_vendorlib}/Math/*.pm %{_mandir}/man3/*