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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 631448 - (hide annotations) (download)
Tue Jun 3 00:38:05 2014 UTC (9 years, 9 months ago) by pterjan
File size: 1395 byte(s)
Rebuild for perl 5.20
1 jquelin 12861 %define upstream_name Math-Pari
2 sander85 627574 %define upstream_version 2.010807
3 jquelin 12861
4     %define pari_version 2.3.3
5    
6 jquelin 105674 Name: perl-%{upstream_name}
7     Version: %perl_convert_version %{upstream_version}
8 pterjan 631448 Release: %mkrel 2
9 jquelin 105674 Epoch: 1
10 jquelin 12861
11 jquelin 105674 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}.tar.gz
16     Source1: ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/pari-%{pari_version}.tar.gz
17 jquelin 12861
18 jquelin 105674 BuildRequires: perl(ExtUtils::MakeMaker)
19     BuildRequires: perl-devel
20 jquelin 12861 %description
21     This package is a Perl interface to famous library PARI for
22     numerical/scientific/number-theoretic calculations. It allows use of
23     most PARI functions as Perl functions, and (almost) seamless merging of
24     PARI and Perl data. See ftp://megrez.math.u-bordeaux.fr/pub/pari for
25     more information about PARI.
26    
27     %prep
28     %setup -q -n %{upstream_name}-%{upstream_version}
29     %setup -q -a 1 -n %{upstream_name}-%{upstream_version}
30    
31     %build
32 sander85 627574 %__perl Makefile.PL INSTALLDIRS=vendor paridir=pari-%{pari_version} < /dev/null
33 jquelin 12861 %make CFLAGS="%{optflags}"
34    
35     %ifnarch x86_64
36     %check
37 sander85 627574 %make test
38 jquelin 12861 %endif
39    
40     %install
41     %makeinstall_std
42    
43     %files
44     %defattr(644,root,root,755)
45 sander85 627574 %doc Changes INSTALL META.yml MYMETA.yml README TODO
46 jquelin 12861 %{perl_vendorarch}/Math
47     %{perl_vendorarch}/auto/Math
48 sander85 627574 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30