]> git.pld-linux.org Git - packages/perl-Math-Matrix.git/blame - perl-Math-Matrix.spec
- drop obsolete and outdated manual inclusion of rpm macros
[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#
cada388d 5%define pdir Math
6%define pnam Matrix
61f54462 7Summary: Math::Matrix Perl module - multiply and invert matrices
b13d056e 8Summary(pl.UTF-8): Moduł Perla Math::Matrix - mnożenie i odwracanie macierzy
1dd891b6 9Name: perl-Math-Matrix
a96633d9 10Version: 0.5
11Release: 1
a0fe5639 12# same as perl
13License: GPL v1+ or Artistic
1dd891b6 14Group: Development/Languages/Perl
e24c9d6b 15Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
a96633d9 16# Source0-md5: 840a9ef812ad12bd1798752f1e90cf41
e24c9d6b 17URL: http://search.cpan.org/dist/Math-Matrix/
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.211378 seconds and 4 git commands to generate.