/[packages]/cauldron/perl-Math-Pari/current/SPECS/perl-Math-Pari.spec
ViewVC logotype

Contents of /cauldron/perl-Math-Pari/current/SPECS/perl-Math-Pari.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1378872 - (show annotations) (download)
Tue Mar 19 15:52:38 2019 UTC (5 years ago) by tv
File size: 1538 byte(s)
update to 2.030510
1 %define upstream_name Math-Pari
2 %define upstream_version 2.030510
3
4 %define pari_version 2.3.3
5
6 %{?perl_default_filter}
7
8 Name: perl-%{upstream_name}
9 Version: %perl_convert_version %{upstream_version}
10 Release: %mkrel 1
11 Epoch: 1
12
13 Summary: Perl interface to PARI
14 License: GPLv2+ or Artistic
15 Group: Development/Perl
16 Url: http://search.cpan.org/dist/%{upstream_name}
17 Source0: http://www.cpan.org/modules/by-module/Math/%{upstream_name}-%{upstream_version}.zip
18 Source1: ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/pari-%{pari_version}.tar.gz
19
20 BuildRequires: perl(ExtUtils::MakeMaker)
21 BuildRequires: perl-devel
22 # Don't "provide" the redundant unversioned perl(Math::Pari)
23 %global __provides_exclude ^perl\\(Math::Pari\\)$
24
25 %description
26 This package is a Perl interface to famous library PARI for
27 numerical/scientific/number-theoretic calculations. It allows use of
28 most PARI functions as Perl functions, and (almost) seamless merging of
29 PARI and Perl data. See ftp://megrez.math.u-bordeaux.fr/pub/pari for
30 more information about PARI.
31
32 %prep
33 %setup -q -n %{upstream_name}-%{upstream_version}
34 %setup -q -a 1 -n %{upstream_name}-%{upstream_version}
35
36 %build
37 %__perl Makefile.PL INSTALLDIRS=vendor paridir=pari-%{pari_version} < /dev/null
38 %make CFLAGS="%{optflags}"
39
40 %ifnarch x86_64
41 %check
42 %make test
43 %endif
44
45 %install
46 %makeinstall_std
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes INSTALL META.json META.yml MYMETA.yml README TODO
51 %{perl_vendorarch}/Math
52 %{perl_vendorarch}/auto/Math
53 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30