]> git.pld-linux.org Git - packages/perl-Math-Complex.git/blame - perl-Math-Complex.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Math-Complex.git] / perl-Math-Complex.spec
CommitLineData
42438eb7
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Math
6%define pnam Complex
42438eb7
JB
7Summary: Math::Complex - complex numbers and associated mathematical functions
8Summary(pl.UTF-8): Math::Complex - liczby zespolone i związane z nimi funkcje matematyczne
9Name: perl-Math-Complex
10Version: 1.59
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 94f9d6b557b56408949928a55227c86f
17URL: http://search.cpan.org/dist/Math-Complex/
18BuildRequires: perl-Scalar-List-Utils >= 1.11
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-Test-Simple
23%endif
fea14923
JB
24# see Math/Trig.pm for version
25Provides: perl-Math-Trig = 1.23
26Obsoletes: perl-Math-Trig < 1.23
42438eb7
JB
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31This package lets you create and manipulate complex numbers. By
32default, Perl limits itself to real numbers, but an extra use
33statement brings full complex support, along with a full set of
34mathematical functions typically associated with and/or extended to
35complex numbers.
36
37%description -l pl.UTF-8
38Ten pakiet pozwala na tworzenie i operowanie na liczbach zespolonych.
39Domyślnie Perl jest ograniczony do samych liczb rzeczywistych, ale
40dodatkowa instrukcja "use" zapewnia obsługę liczb zespolonych, wraz ze
41zbiorem funkcji matematycznych typowo związanych z liczbami
42zespolonymi lub rozszerzonych o obsługę liczb zespolonych.
43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
48%{__perl} Makefile.PL \
49 INSTALLDIRS=vendor
50%{__make}
51
52%{?with_tests:%{__make} test}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} pure_install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
65%doc ChangeLog TODO
66%{perl_vendorlib}/Math/Complex.pm
67%{perl_vendorlib}/Math/Trig.pm
68%{_mandir}/man3/Math::Complex.3pm*
69%{_mandir}/man3/Math::Trig.3pm*
This page took 0.139668 seconds and 4 git commands to generate.