ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/lapack.spec
Revision: 1.7
Committed: Sat Jul 9 11:33:38 2011 UTC (13 years, 9 months ago) by lat
Branch: MAIN
CVS Tags: HG1108a-osx
Changes since 1.6: +1 -1 lines
Log Message:
Match LAPACK version change from 3.3.0 to 3.3.1 inside source tar balls.

File Contents

# Content
1 ### RPM external lapack 3.3.1
2 Source0: http://www.netlib.org/lapack/lapack.tgz
3 Source1: http://www.netlib.org/lapack/manpages.tgz
4
5 Requires: cmake
6
7 %if "%(echo %cmsos | grep osx >/dev/null && echo true)" == "true"
8 Requires: gfortran-macosx
9 %endif
10
11 %prep
12 %setup -q -n lapack-%{realversion}
13 %setup -q -D -T -a 1 -n lapack-%{realversion}
14
15 %build
16 # We remove the testing directory because it seems
17 # to not build correctly on the mac.
18 rm -rf TESTING
19 perl -p -i -e 's|add_subdirectory[(]TESTING[)]||' CMakeLists.txt
20 cmake . -DBUILD_SHARED_LIBS=YES -DCMAKE_Fortran_COMPILER="`which gfortran`" -DCMAKE_INSTALL_PREFIX="%i"
21 make %{makeprocesses}
22
23 %install
24 make install