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

# User Rev Content
1 lat 1.7 ### RPM external lapack 3.3.1
2 lat 1.1 Source0: http://www.netlib.org/lapack/lapack.tgz
3     Source1: http://www.netlib.org/lapack/manpages.tgz
4 eulisse 1.6
5     Requires: cmake
6    
7     %if "%(echo %cmsos | grep osx >/dev/null && echo true)" == "true"
8     Requires: gfortran-macosx
9     %endif
10 lat 1.1
11     %prep
12 elmer 1.4 %setup -q -n lapack-%{realversion}
13     %setup -q -D -T -a 1 -n lapack-%{realversion}
14 lat 1.1
15     %build
16 eulisse 1.6 # 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 lat 1.1
23     %install
24 eulisse 1.6 make install