3 %bcond_without tests # do not perform "make test"
6 %define pnam MatrixReal
7 Summary: Math::MatrixReal - implements the data type "matrix of reals"
8 Summary(pl.UTF-8): Math::MatrixReal - implementacja typu danych "macierz liczb rzeczywistych"
9 Name: perl-Math-MatrixReal
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 67f23122424830b5eea044f987b892b9
17 URL: http://search.cpan.org/dist/Math-MatrixReal/
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 Implements the data type "matrix of reals" (and consequently also
25 "vector of reals"), which can be used almost like any other basic Perl
26 type thanks to OPERATOR OVERLOADING, i.e., "$product = $matrix1 *
27 $matrix2;" does what you would like it to do (a matrix
30 %description -l pl.UTF-8
31 Ten moduł jest implementacją typu danych "macierz liczb rzeczywistych"
32 (i w konsekwencji także "wektor liczb rzeczywistych"), który może być
33 używany prawie tak samo jak każdy inny podstawowy typ Perla dzięki
34 przeciążaniu operatorów - tzn. "$product = $matrix1 * $matrix2;" zrobi
35 to, czego się oczekuje (pomnoży macierze).
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
53 # get rid of pod documentation
54 rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Math/*.pod
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc CHANGES CREDITS GOALS README TODO
62 %{perl_vendorlib}/Math/MatrixReal.pm
63 %{perl_vendorlib}/Math/funcs.pl
64 %{_mandir}/man3/Math::Kleene.3pm*
65 %{_mandir}/man3/Math::MatrixReal.3pm*