OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Oct-2006 08:28:04
Branch: HEAD Handle: 2006100607280400
Modified files:
openpkg-src/pari pari.spec
Log:
upgrading package: pari 2.1.7 -> 2.3.1
Summary:
Revision Changes Path
1.31 +13 -17 openpkg-src/pari/pari.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pari/pari.spec
============================================================================
$ cvs diff -u -r1.30 -r1.31 pari.spec
--- openpkg-src/pari/pari.spec 26 Sep 2006 06:06:41 -0000 1.30
+++ openpkg-src/pari/pari.spec 6 Oct 2006 06:28:04 -0000 1.31
@@ -23,8 +23,8 @@
##
# package version
-%define V_major 2.1
-%define V_minor 7
+%define V_major 2.3
+%define V_minor 1
# package information
Name: pari
@@ -37,16 +37,18 @@
Group: Algorithm
License: GPL
Version: %{V_major}.%{V_minor}
-Release: 20060926
+Release: 20061006
# list of sources
-Source0:
http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-%{version}.tgz
+Source0:
http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-%{version}.tar.gz
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc
PreReq: OpenPKG, openpkg >= 20040130
+BuildPreReq: gmp, readline, ncurses
+PreReq: gmp, readline, ncurses
AutoReq: no
AutoReqProv: no
@@ -68,10 +70,6 @@
%prep
%setup -q
%{l_shtool} subst \
- -e 's;-O3;-O2;g' \
- -e 's;-D__GNUC__;;g' \
- Configure
- %{l_shtool} subst \
-e 's;^\(install:.*\) install-doc \(.*\);\1 \2;' \
config/Makefile.SH
%{l_shtool} subst \
@@ -79,15 +77,15 @@
config/has_exp2.c
%build
- # FIXME: mlelstv: doesn't take advantage of asm kernel (broken on
Solaris)
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./Configure \
--prefix=%{l_prefix} \
+ --mandir=%{l_prefix}/man/man1 \
--datadir=%{l_prefix}/share/pari/galdata \
- --miscdir=%{l_prefix}/share/pari \
- --host=none \
- --graphic=none \
+ --with-gmp=%{l_prefix} \
+ --with-readline=%{l_prefix} \
+ --with-ncurses=%{l_prefix} \
--static
%{l_make} %{l_mflags -O} gp
@@ -97,13 +95,11 @@
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/gp
mv $RPM_BUILD_ROOT%{l_prefix}/bin/gp-%{V_major} \
$RPM_BUILD_ROOT%{l_prefix}/bin/gp
- rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/libpari.a
- mv $RPM_BUILD_ROOT%{l_prefix}/lib/libpari.a.%{V_major} \
- $RPM_BUILD_ROOT%{l_prefix}/lib/libpari.a
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/gp.1
+ mv $RPM_BUILD_ROOT%{l_prefix}/man/man1/gp-%{V_major}.1 \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man1/gp.1
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/tex2mail
rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/tex2mail.1
- rm -f $RPM_BUILD_ROOT%{l_prefix}/share/pari/[A-Z]*
- rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/pari/doc
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]