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.10 by eulisse, Tue Sep 6 09:52:43 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 > %if "%(case %cmsplatf in (osx*_*_gcc421) echo true ;; (*) echo false ;; esac)" == "true"
7   Requires: gfortran-macosx
8   %endif
9  
10   %prep
11   %setup -q -n lapack-%{realversion}
13 %setup -q -D -T -a 1 -n lapack-%{realversion}
12  
13   %build
14   # We remove the testing directory because it seems
# Line 22 | Line 20 | make %{makeprocesses}
20  
21   %install
22   make install
23 + # We remove pkg-config files for two reasons:
24 + # * it's actually not required (macosx does not even have it).
25 + # * rpm 4.8 adds a dependency on the system /usr/bin/pkg-config
26 + #   on linux.
27 + # In the case at some point we build a package that can be build
28 + # only via pkg-config we have to think on how to ship our own
29 + # version.
30 + rm -rf %i/lib/pkgconfig

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines