From 70d86e1909e10299520e4da662f15232e4093d51 Mon Sep 17 00:00:00 2001 From: GĂ©rard Milmeister Date: May 26 2006 17:25:12 +0000 Subject: auto-import pari-2.3.0-2.fc5 on branch devel from pari-2.3.0-2.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..f71e9f2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pari-2.3.0.tar.gz diff --git a/pari.spec b/pari.spec new file mode 100644 index 0000000..f78bbfa --- /dev/null +++ b/pari.spec @@ -0,0 +1,196 @@ +Name: pari +Version: 2.3.0 +Release: 2%{?dist} +Summary: Number Theory-oriented Computer Algebra System + +Group: System Environment/Libraries +License: GPL +URL: http://pari.math.u-bordeaux.fr +Source: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.3.0.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: emacs +BuildRequires: readline-devel +BuildRequires: gmp-devel +BuildRequires: tetex +BuildRequires: tetex-dvips +BuildRequires: desktop-file-utils +%if "%{?fedora}" > "4" +BuildRequires: libX11-devel +%else +BuildRequires: xorg-x11-devel +%endif +Requires: tetex-xdvi + + +%description +PARI is a widely used computer algebra system designed for fast +computations in number theory (factorizations, algebraic number +theory, elliptic curves...), but also contains a large number of other +useful functions to compute with mathematical entities such as +matrices, polynomials, power series, algebraic numbers, etc., and a +lot of transcendental functions. + +This package contains the shared libraries. The interactive +calculator PARI/GP is in package %{name}-gp. + + +%package devel +Summary: Header files and libraries for PARI development +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files and libraries for PARI development. + + +%package gp +Summary: PARI calculator +Group: Applications/Engineering +Requires: gzip + +%description gp +PARI/GP is an advanced programmable calculator, which computes +symbolically as long as possible, numerically where needed, and +contains a wealth of number-theoretic functions. + + +%package emacs +Summary: Emacs mode for PARI/GP +Group: Applications/Engineering +Requires: emacs-common +Requires: %{name}-gp = %{version}-%{release} + +%description emacs +Emacs mode for PARI/GP. + + +%prep +%setup -q +perl -pi -e "s|runpathprefix='.*'|runpathprefix=''|" config/get_ld + + +%build +./Configure \ + --prefix=%{_prefix} \ + --share-prefix=%{_datadir} \ + --bindir=%{_bindir} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir}/man1 \ + --datadir=%{_datadir}/pari \ + --includedir=%{_includedir} \ + --with-gmp +make %{?_smp_mflags} gp CFLAGS="-fPIC $RPM_OPT_FLAGS" + + +%check +make dobench +make dotest-compat +make dotest-intnum +make dotest-qfbsolve +make dotest-rfrac +make dotest-round4 + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# we move pari.cfg to the docdir +rm -fr $RPM_BUILD_ROOT%{_prefix}/lib/pari + +mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d +cat > $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d/pari-init.el < gp.desktop < - 2.3.0-2 +- added %%check section +- use gmp + +* Thu May 25 2006 Gerard Milmeister - 2.3.0-1 +- new version 2.3.0 + +* Fri May 19 2006 Orion Poplawski - 2.1.7-4 +- Fix shared library builds + +* Fri Dec 2 2005 Gerard Milmeister - 2.1.7-3 +- Use none for architecture to guarantee working 64bit builds + +* Fri Oct 21 2005 Gerard Milmeister - 2.1.7-2 +- some cleanup + +* Fri Sep 30 2005 Gerard Milmeister - 2.1.7-1 +- New Version 2.1.7 + +* Sun Mar 6 2005 Gerard Milmeister - 2.1.6-1 +- New Version 2.1.6 + +* Mon Nov 22 2004 Gerard Milmeister - 0:2.1.5-0.fdr.2 +- Fixed problem with readline + +* Wed Nov 12 2003 Gerard Milmeister - 0:2.1.5-0.fdr.x +- First Fedora release diff --git a/sources b/sources index e69de29..e14e7c4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ea685da18e015a4365965e82e6e2a2dd pari-2.3.0.tar.gz