/[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 28483 - (show annotations) (download)
Fri Jan 21 09:23:31 2011 UTC (13 years, 2 months ago) by jquelin
File size: 1379 byte(s)
rebuild for mageia
1 %define upstream_name Math-Pari
2 %define upstream_version 2.01080604
3
4 %define pari_version 2.3.3
5
6 Name: perl-%{upstream_name}
7 Version: %perl_convert_version %{upstream_version}
8 Release: %mkrel 3
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}.tar.gz
16 Source1: ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/pari-%{pari_version}.tar.gz
17
18 BuildRequires: perl-devel
19
20
21 %description
22 This package is a Perl interface to famous library PARI for
23 numerical/scientific/number-theoretic calculations. It allows use of
24 most PARI functions as Perl functions, and (almost) seamless merging of
25 PARI and Perl data. See ftp://megrez.math.u-bordeaux.fr/pub/pari for
26 more information about PARI.
27
28 %prep
29 %setup -q -n %{upstream_name}-%{upstream_version}
30 %setup -q -a 1 -n %{upstream_name}-%{upstream_version}
31
32 %build
33 %{__perl} Makefile.PL INSTALLDIRS=vendor paridir=pari-%{pari_version} < /dev/null
34 %make CFLAGS="%{optflags}"
35
36 %ifnarch x86_64
37 %check
38 %{__make} test
39 %endif
40
41 %install
42 rm -rf %{buildroot}
43 %makeinstall_std
44
45 %clean
46 rm -rf %{buildroot}
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README Changes META.yml
51 %{perl_vendorarch}/Math
52 %{perl_vendorarch}/auto/Math
53 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30