3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Math::Matrix Perl module - multiply and invert matrices
9 Summary(pl.UTF-8): Moduł Perla Math::Matrix - mnożenie i odwracanie macierzy
10 Name: perl-Math-Matrix
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: fad8f822e5e417ff12ccc2205eda206a
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 Math::Matrix - Multiply and invert Matrices.
26 %description -l pl.UTF-8
27 Moduł Math::Matrix - mnożący i odwracający macierze.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
37 %{?with_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/Math/Matrix.pm