Compare commits

...

8 Commits
master ... f12

Author SHA1 Message Date
Fedora Release Engineering bf71bc0e5f dist-git conversion 2010-07-29 04:49:38 +00:00
Jussi Lehtola 1f758b324f Fix build against ARPACK. 2010-01-17 11:24:13 +00:00
Jussi Lehtola f09a88e3d8 Really build against ATLAS instead of reference BLAS. 2010-01-06 10:38:18 +00:00
Bill Nottingham 9eba6827c6 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:22:02 +00:00
alexlan 05ab26e71f Bump to 2.fc12.1 because 2.fc12 erroneously applied to rawhide branch 2009-11-15 09:24:39 +00:00
alexlan 010eadff18 - Workaround broken pre-linking (#524493) 2009-11-15 09:18:05 +00:00
Orion Poplawski b6dd52d75f Update to 3.2.3 from devel 2009-10-12 19:27:34 +00:00
Jesse Keating 854dd9c69f Initialize branch F-12 for octave 2009-09-29 05:46:36 +00:00
7 changed files with 36 additions and 37 deletions

View File

@ -1 +0,0 @@
octave-3.2.2.tar.bz2

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
octave-3.2.3.tar.bz2

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: octave
# $Id$
NAME := octave
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,5 +0,0 @@
octave-3_0_2-2_fc10:HEAD:octave-3.0.2-2.fc10.src.rpm:1224776342
octave-3_0_5-1_fc11:HEAD:octave-3.0.5-1.fc11.src.rpm:1239552316
octave-3_2_0-1_fc11:HEAD:octave-3.2.0-1.fc11.src.rpm:1247313567
octave-3_2_2-1_fc11:HEAD:octave-3.2.2-1.fc11.src.rpm:1249027014
octave-3_2_2-5_fc12:HEAD:octave-3.2.2-5.fc12.src.rpm:1253686658

1
octave.conf Normal file
View File

@ -0,0 +1 @@
-b /usr/bin/octave-3.2.3

View File

@ -1,20 +1,21 @@
# From src/version.h:#define OCTAVE_API_VERSION
%define octave_api api-v37
%global octave_api api-v37
Name: octave
Version: 3.2.2
Release: 5%{?dist}
Version: 3.2.3
Release: 4%{?dist}
Summary: A high-level language for numerical computations
Epoch: 6
Group: Applications/Engineering
License: GPLv3+
Source: ftp://ftp.octave.org/pub/octave/octave-%{version}.tar.bz2
Source0: ftp://ftp.octave.org/pub/octave/octave-%{version}.tar.bz2
Source1: octave.conf
URL: http://www.octave.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: octave(api) = %{octave_api}
BuildRequires: bison flex less tetex gcc-gfortran lapack-devel blas-devel
BuildRequires: bison flex less tetex gcc-gfortran atlas-devel
BuildRequires: ncurses-devel zlib-devel hdf5-devel texinfo qhull-devel
BuildRequires: readline-devel glibc-devel fftw-devel gperf ghostscript
BuildRequires: curl-devel pcre-devel texinfo-tex arpack-devel libX11-devel
@ -46,7 +47,7 @@ Summary: Development headers and files for Octave
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: readline-devel fftw-devel hdf5-devel zlib-devel
Requires: lapack-devel blas-devel gcc-c++ gcc-gfortran
Requires: atlas-devel gcc-c++ gcc-gfortran
%description devel
The octave-devel package contains files needed for developing
@ -75,7 +76,12 @@ fi
%build
%global enable64 no
export CPPFLAGS="-DH5_USE_16_API"
%configure --enable-shared --disable-static --enable-64=%enable64 F77=gfortran
export F77=gfortran
%configure --enable-shared --disable-static --enable-64=%enable64 \
--with-blas="-L%{_libdir}/atlas -lf77blas -latlas" --with-qrupdate \
--with-lapack="-L%{_libdir}/atlas -llapack" \
--with-amd --with-umfpack --with-colamd --with-ccolamd --with-cholmod \
--with-cxsparse --with-arpack
# SMP make doesn't work in Octave 3.2.2
#make %{?_smp_mflags} OCTAVE_RELEASE="Fedora %{version}-%{release}"
make OCTAVE_RELEASE="Fedora %{version}-%{release}"
@ -118,8 +124,12 @@ touch %{buildroot}%{_datadir}/%{name}/octave_packages
mkdir interpreter
cp -a doc/interpreter/*.pdf doc/interpreter/HTML/ interpreter/
#check
#make check
# work-around broken pre-linking (bug 524493)
install -d %{buildroot}%{_sysconfdir}/prelink.conf.d
install %{SOURCE1} %{buildroot}%{_sysconfdir}/prelink.conf.d/
%check
make check
%clean
rm -rf %{buildroot}
@ -155,6 +165,7 @@ fi
%ghost %{_datadir}/octave/octave_packages
%{_datadir}/octave/packages/
%{_datadir}/octave/site/
%{_sysconfdir}/prelink.conf.d/octave.conf
%files devel
%defattr(-,root,root,-)
@ -171,6 +182,19 @@ fi
%changelog
* Sun Jan 17 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 6:3.2.3-4
- Fix compilation against ARPACK.
* Wed Jan 6 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 6:3.2.3-3
- Really build against ATLAS instead of reference BLAS (#513381).
* Sun Nov 15 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 6:3.2.3-2
- Workaround broken pre-linking (#524493)
* Tue Sep 29 2009 Orion Poplawski <orion@cora.nwra.com> - 6:3.2.3-1
- Update to 3.2.3
- Re-add make check
* Tue Sep 22 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 6:3.2.2-5
- Added categories to desktop file: Education, DataVisualization, NumericalAnalysis

View File

@ -1 +1 @@
656d0d11bf9cfea7a4cee226ee63fea7 octave-3.2.2.tar.bz2
eecaa1a3b2da3b94fa7bcebbc4f1a1f2 octave-3.2.3.tar.bz2