New octave release.

This commit is contained in:
Quentin Spencer 2008-04-22 16:09:47 +00:00
parent c92f99d336
commit 59920af789
4 changed files with 8 additions and 18 deletions

View File

@ -1 +1 @@
octave-3.0.0.tar.bz2 octave-3.0.1.tar.bz2

View File

@ -1,11 +0,0 @@
--- octave-3.0.0/src/mxarray.h.in.gcc43 2007-10-23 18:32:44.000000000 -0600
+++ octave-3.0.0/src/mxarray.h.in 2008-02-29 11:24:03.000000000 -0700
@@ -46,6 +46,8 @@
#if ! defined (MXARRAY_H)
#define MXARRAY_H
+#include <string.h>
+
typedef enum
{
mxREAL = 0,

View File

@ -2,15 +2,14 @@
%define octave_api api-v32 %define octave_api api-v32
Name: octave Name: octave
Version: 3.0.0 Version: 3.0.1
Release: 6%{?dist} Release: 1%{?dist}
Summary: A high-level language for numerical computations Summary: A high-level language for numerical computations
Epoch: 6 Epoch: 6
Group: Applications/Engineering Group: Applications/Engineering
License: GPLv3+ License: GPLv3+
Source: ftp://ftp.octave.org/pub/octave/octave-%{version}.tar.bz2 Source: ftp://ftp.octave.org/pub/octave/octave-%{version}.tar.bz2
Patch: octave-3.0.0-gcc43.patch
URL: http://www.octave.org URL: http://www.octave.org
Requires: gnuplot less info texinfo Requires: gnuplot less info texinfo
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
@ -55,7 +54,6 @@ applications which use GNU Octave.
%prep %prep
%setup -q %setup -q
%patch -p1 -b .gcc43
# Check that octave_api is set correctly # Check that octave_api is set correctly
if ! grep -q '^#define OCTAVE_API_VERSION "%{octave_api}"' src/version.h if ! grep -q '^#define OCTAVE_API_VERSION "%{octave_api}"' src/version.h
then then
@ -68,7 +66,7 @@ fi
%define enable64 no %define enable64 no
export CPPFLAGS="-DH5_USE_16_API" export CPPFLAGS="-DH5_USE_16_API"
%configure --enable-shared --disable-static --enable-64=%enable64 --with-f77=gfortran %configure --enable-shared --disable-static --enable-64=%enable64 --with-f77=gfortran
make %{?_smp_mflags} OCTAVE_RELEASE="Fedora Extras %{version}-%{release}" make %{?_smp_mflags} OCTAVE_RELEASE="Fedora %{version}-%{release}"
%install %install
@ -143,6 +141,9 @@ fi
%changelog %changelog
* Mon Apr 21 2008 Quentin Spencer <qspencer@users.sf.net> 3.0.1-1
- New release of octave. Remove gcc 4.3 patch.
* Mon Mar 3 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 6:3.0.0-6 * Mon Mar 3 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 6:3.0.0-6
- Re-enable patch, but change cstring -> string.h so it works for C as - Re-enable patch, but change cstring -> string.h so it works for C as
well as C++. Hopefully this will #435600 for real. well as C++. Hopefully this will #435600 for real.

View File

@ -1 +1 @@
d5512acdf60ac04398ff258cbc37f3c4 octave-3.0.0.tar.bz2 230f3895a42386ec625bf2593a44c441 octave-3.0.1.tar.bz2