+++ /dev/null
---- Makeconf.in.orig Mon Jul 23 16:57:13 2001
-+++ Makeconf.in Mon Jul 23 16:57:16 2001
-@@ -160,20 +160,20 @@
- # subdirectories of this directory. The default values for many of
- # the variables below are expressed in terms of this one, so you may
- # not need to change them. This defaults to /usr/local.
--prefix = @prefix@
-+prefix = $(DESTDIR)@prefix@
-
- # Like `prefix', but used for architecture-specific files.
--exec_prefix = @exec_prefix@
-+exec_prefix = $(DESTDIR)@exec_prefix@
-
- # Where to install Octave and other binaries that people will want to
- # run directly.
--bindir = @bindir@
-+bindir = $(DESTDIR)@bindir@
-
- # Where to install architecture-independent data files. ${fcnfiledir}
- # and ${localfcnfiledir} are subdirectories of this.
--datadir = @datadir@
-+datadir = $(DESTDIR)@datadir@
-
--libdir = @libdir@
-+libdir = $(DESTDIR)@libdir@
-
- # Where to install and expect libraries like libcruft.a, liboctave.a,
- # and other architecture-dependent data.
-@@ -181,20 +181,20 @@
-
- # Where to install and expect executable programs to be run by Octave
- # rather than directly by users.
--libexecdir = @libexecdir@
-+libexecdir = $(DESTDIR)@libexecdir@
-
- # The prefix for Octave's include file directory. The default is
- # ${prefix}/include
--includedir = @includedir@
-+includedir = $(DESTDIR)@includedir@
-
- # Where to install Octave's man pages, and what extension they should
- # have. The default is ${prefix}/man/man1
--mandir = @mandir@
-+mandir = $(DESTDIR)@mandir@
- man1dir = @man1dir@
- man1ext = @man1ext@
-
- # Where to install and expect the info files describing Octave..
--infodir = @infodir@
-+infodir = $(DESTDIR)@infodir@
-
- # The fill path to the default info file.
- infofile = @infofile@
+++ /dev/null
---- octave-2.1.48/src/ov-cx-mat.h.orig 2002-11-20 20:03:08.000000000 +0100
-+++ octave-2.1.48/src/ov-cx-mat.h 2003-05-17 20:34:16.000000000 +0200
-@@ -78,8 +78,7 @@
-
- octave_value *try_narrowing_conversion (void);
-
-- void assign (const octave_value_list& idx, const ComplexMatrix& rhs)
-- { octave_base_matrix<ComplexMatrix>::assign (idx, rhs); }
-+ void assign (const octave_value_list& idx, const ComplexMatrix& rhs);
-
- void assign (const octave_value_list& idx, const Matrix& rhs);
-
---- octave-2.1.48/src/ov-cx-mat.cc.orig 2002-11-20 20:03:08.000000000 +0100
-+++ octave-2.1.48/src/ov-cx-mat.cc 2003-05-17 20:35:56.000000000 +0200
-@@ -78,6 +78,11 @@
-
- void
- octave_complex_matrix::assign (const octave_value_list& idx,
-+ const ComplexMatrix& rhs)
-+{ octave_base_matrix<ComplexMatrix>::assign (idx, rhs); }
-+
-+void
-+octave_complex_matrix::assign (const octave_value_list& idx,
- const Matrix& rhs)
- {
- int len = idx.length ();
Summary(sv): GNU Octave - ett högninvåspråk för numeriska beräkningar
Summary(zh_CN): GNU Octave - ÓÃÓÚÊý×Ö¼ÆËãµÄ¸ß¼¶ÓïÑÔ¡£
Name: octave
-Version: 2.1.48
+Version: 2.1.50
Release: 1
Epoch: 2
License: GPL
Group: Applications/Math
Source0: ftp://ftp.che.wisc.edu/pub/octave/bleeding-edge/%{name}-%{version}.tar.bz2
-# Source0-md5: 9e5234e9f00216b087f1e2fb465ed0cd
+# Source0-md5: 480d48cd99828fb403ceee53dd1cad2f
Source1: %{name}.desktop
Patch0: %{name}-info.patch
-Patch1: %{name}-DESTDIR.patch
-Patch2: %{name}-gcc33.patch
URL: http://www.che.wisc.edu/octave/
BuildRequires: bison
BuildRequires: blas-devel
%prep
%setup -q
%patch0 -p1
-%patch1 -p0
-%patch2 -p1
%build
%configure \
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- octincludedir=$RPM_BUILD_ROOT%{_includedir} \
- octlibdir=$RPM_BUILD_ROOT%{_libdir}
+ octincludedir=%{_includedir} \
+ octlibdir=%{_libdir}
ln -sf %{_includedir}/%{name} $RPM_BUILD_ROOT%{_includedir}/%{name}-%{version}