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

  ViewVC Help
Powered by ViewVC 1.1.30