/[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 735665 - (hide annotations) (download)
Thu Oct 2 17:50:04 2014 UTC (9 years, 6 months ago) by tv
File size: 1515 byte(s)
add exclude
1 jquelin 12861 %define upstream_name Math-Pari
2 jquelin 634072 %define upstream_version 2.010808
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 tv 735665 Release: %mkrel 3
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 jquelin 634072 Source0: http://www.cpan.org/modules/by-module/Math/%{upstream_name}-%{upstream_version}.zip
16 jquelin 105674 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 tv 735665
21     # Don't "provide" the redundant unversioned perl(Math::Pari)
22     %global __provides_exclude ^perl\\(Math::Pari\\)$
23    
24 jquelin 12861 %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 sander85 627574 %__perl Makefile.PL INSTALLDIRS=vendor paridir=pari-%{pari_version} < /dev/null
37 jquelin 12861 %make CFLAGS="%{optflags}"
38    
39     %ifnarch x86_64
40     %check
41 sander85 627574 %make test
42 jquelin 12861 %endif
43    
44     %install
45     %makeinstall_std
46    
47     %files
48     %defattr(644,root,root,755)
49 jquelin 634072 %doc Changes INSTALL META.json META.yml MYMETA.yml README TODO
50 jquelin 12861 %{perl_vendorarch}/Math
51     %{perl_vendorarch}/auto/Math
52 tv 735665 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30