SPECS: octave-forge.spec - downgraded HEAD to 2006.07.09 (updated from rev....

gotar gotar at pld-linux.org
Sun Feb 8 14:52:04 CET 2009


Author: gotar                        Date: Sun Feb  8 13:52:04 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- downgraded HEAD to 2006.07.09 (updated from rev. 1.14 with 1.16, as 1.15
  was never finished), moved 1.16 to DEVEL

---- Files affected:
SPECS:
   octave-forge.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/octave-forge.spec
diff -u SPECS/octave-forge.spec:1.16 SPECS/octave-forge.spec:1.17
--- SPECS/octave-forge.spec:1.16	Wed Mar 12 15:11:55 2008
+++ SPECS/octave-forge.spec	Sun Feb  8 14:51:59 2009
@@ -2,17 +2,18 @@
 Summary:	Extensions for GNU Octave
 Summary(pl.UTF-8):	Rozszerzenia dla GNU Octave
 Name:		octave-forge
-Version:	20071014
-Release:	0.1
+Version:	2006.07.09
+Release:	1
 License:	GPL
 Group:		Applications/Math
-Source0:	http://dl.sourceforge.net/octave/%{name}-bundle-%{version}.tar.gz
-# Source0-md5:	346f61edc714515701d2b293d4a266d3
+Source0:	http://dl.sourceforge.net/octave/%{name}-%{version}.tar.gz
+# Source0-md5:	94a844d1e41aca9580fde00e023e4e5b
+Patch0:		%{name}-make.patch
 URL:		http://octave.sourceforge.net/
-BuildRequires:	GiNaC-devel
-BuildRequires:	XFree86-devel
+# no ginac-config anyway
+#BuildRequires:	GiNaC-devel
+BuildRequires:	ImageMagick-c++-devel
 BuildRequires:	autoconf
-BuildRequires:	bash
 BuildRequires:	fftw3-devel
 BuildRequires:	gcc-fortran
 BuildRequires:	gsl-devel
@@ -20,9 +21,13 @@
 BuildRequires:	lapack-devel
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
-BuildRequires:	octave-devel >= 2:2.9.15
+BuildRequires:	octave-devel >= 2:2.1.58
 BuildRequires:	pcre-devel
+BuildRequires:	readline-devel
 BuildRequires:	qhull-devel
+BuildRequires:	xorg-lib-libICE-devel
+BuildRequires:	xorg-lib-libSM-devel
+BuildRequires:	xorg-lib-libX11-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		octave_m_site_dir %(octave-config --m-site-dir 2>/dev/null)
@@ -44,31 +49,16 @@
 do istniejącego pakietu, octave-forge jest odpowiednim miejscem.
 
 %prep
-%setup -q -n %{name}-bundle-%{version}
+%setup -q
+%patch0 -p1
 
 %build
-CFLAGS="%{rpmcflags} -I/usr/include/ncurses"; export CFLAGS
-for d in main extras; do
-	cd $d
-	for pkg in *.tar.gz ; do
-		P=${pkg%%.tar.gz}
-		tar zxf $pkg
-		cd $P
-		if [ -e src/autogen.sh ]; then
-			cd src
-			/bin/bash ./autogen.sh
-			cd ..
-		fi
-		if [ -e src/configure ]; then
-			cd src
-			%configure
-			cd ..
-		fi
-		%{__make}
-		cd ..
-	done
-	cd ..
-done
+export CXXFLAGS="%{rpmcflags} -fno-use-cxa-atexit"
+./autogen.sh
+%configure
+# NOTE: as this is an ancient version of octave-forge, some things
+# wont't compile with octave 2.9+. 
+%{__make} || :
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -122,22 +112,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.16  2008/03/12 14:11:55  glen
-- use macros
+Revision 1.17  2009/02/08 13:51:59  gotar
+- downgraded HEAD to 2006.07.09 (updated from rev. 1.14 with 1.16, as 1.15
+  was never finished), moved 1.16 to DEVEL
 
-Revision 1.15  2007-12-07 22:23:55  baggins
-- first attempt at new build
+Revision 1.11.2.1  2008/03/12 15:12:10  glen
+- release 2
 
-Revision 1.14  2007/02/13 07:16:50  glen
-- tabs in preamble
-
-Revision 1.13  2007/02/12 00:49:14  baggins
-- converted to UTF-8
-
-Revision 1.12  2006/08/12 17:39:50  ankry
-- formatting
-
-Revision 1.11  2005/10/08 20:31:41  arekm
+Revision 1.11  2005-10-08 20:31:41  arekm
 - up to 2005.06.13
 
 Revision 1.10  2004/11/01 20:51:41  qboosh
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/octave-forge.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list