]> git.pld-linux.org Git - packages/perl-Math-Matrix.git/blame - perl-Math-Matrix.spec
- converted to UTF-8
[packages/perl-Math-Matrix.git] / perl-Math-Matrix.spec
CommitLineData
a0fe5639 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
20f9b49e 5%include /usr/lib/rpm/macros.perl
cada388d 6%define pdir Math
7%define pnam Matrix
61f54462 8Summary: Math::Matrix Perl module - multiply and invert matrices
98ad4f85 9Summary(pl.UTF-8): Moduł Perla Math::Matrix - mnożenie i odwracanie macierzy
1dd891b6 10Name: perl-Math-Matrix
b3d056b1 11Version: 0.4
f04a627e 12Release: 7
a0fe5639 13# same as perl
14License: GPL v1+ or Artistic
1dd891b6 15Group: Development/Languages/Perl
439d8c68 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
96f0b1af 17# Source0-md5: fad8f822e5e417ff12ccc2205eda206a
fdd7c9d3 18BuildRequires: perl-devel >= 1:5.8.0
ffd6ae05 19BuildRequires: rpm-perlprov >= 4.1-13
c70a1bed 20BuildArch: noarch
9b0ff13c 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1dd891b6 22
23%description
3a1a3e01 24Math::Matrix - Multiply and invert Matrices.
1dd891b6 25
98ad4f85
JR
26%description -l pl.UTF-8
27Moduł Math::Matrix - mnożący i odwracający macierze.
5f604cb9 28
1dd891b6 29%prep
20f9b49e 30%setup -q -n %{pdir}-%{pnam}-%{version}
1dd891b6 31
32%build
ffd6ae05 33%{__perl} Makefile.PL \
278feea5 34 INSTALLDIRS=vendor
1156e358 35%{__make}
1dd891b6 36
a0fe5639 37%{?with_tests:%{__make} test}
38
1dd891b6 39%install
40rm -rf $RPM_BUILD_ROOT
702e185c 41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
1dd891b6 43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
3a1a3e01 49%doc README
ffd6ae05 50%{perl_vendorlib}/Math/Matrix.pm
1dd891b6 51%{_mandir}/man3/*
This page took 0.041227 seconds and 4 git commands to generate.