ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/lapack.spec
(Generate patch)

Comparing COMP/CMSDIST/lapack.spec (file contents):
Revision 1.7 by lat, Sat Jul 9 11:33:38 2011 UTC vs.
Revision 1.11 by eulisse, Wed Sep 21 14:44:01 2011 UTC

# Line 1 | Line 1
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
2 > Source0: http://www.netlib.org/lapack/lapack-%realversion.tgz
3  
4   Requires: cmake
5  
6 < %if "%(echo %cmsos | grep osx >/dev/null && echo true)" == "true"
6 > %define keep_archives true
7 > %if "%(case %cmsplatf in (osx*_*_gcc421) echo true ;; (*) echo false ;; esac)" == "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}
13  
14   %build
15   # We remove the testing directory because it seems
# Line 22 | Line 21 | make %{makeprocesses}
21  
22   %install
23   make install
24 + # We remove pkg-config files for two reasons:
25 + # * it's actually not required (macosx does not even have it).
26 + # * rpm 4.8 adds a dependency on the system /usr/bin/pkg-config
27 + #   on linux.
28 + # In the case at some point we build a package that can be build
29 + # only via pkg-config we have to think on how to ship our own
30 + # version.
31 + rm -rf %i/lib/pkgconfig

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines