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

Comparing COMP/CMSDIST/cmake.spec (file contents):
Revision 1.14 by elmer, Sat Nov 3 12:24:11 2007 UTC vs.
Revision 1.24 by dsr, Wed Feb 24 15:52:08 2010 UTC

# Line 1 | Line 1
1 < ### RPM external cmake 2.4.2-CMS18
1 > ### RPM external cmake 2.4.6
2   %define downloaddir %(echo %realversion | cut -d. -f1,2)
3   Source: http://www.cmake.org/files/v%{downloaddir}/%n-%realversion.tar.gz
4 + %define closingbrace )
5 + %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo false;; esac)
6   #Patch1: cmake
7 + Patch2: cmake-osx-nld
8  
9   #We are using system zlib for the online builds:
10 < %if "%{?online_release:set}" != "set"
10 > %if "%online" != "true"
11   Requires: zlib
12   %endif
13  
# Line 12 | Line 15 | Requires: zlib
15  
16   %setup -n cmake-%realversion
17   #%patch1 -p1
18 + %if "%(echo %{cmsos} | cut -d_ -f 1 | sed -e 's|osx.*|osx|')" == "osx"
19 + %patch2 -p0
20 + %endif
21  
22   %build
23   ./configure --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines