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.10 by elmer, Tue May 22 10:24:07 2007 UTC vs.
Revision 1.25 by lat, Wed Aug 25 15:01:47 2010 UTC

# Line 1 | Line 1
1 < ### RPM external cmake 2.4.2-XXXX
2 < %define downloaddir %(echo %version | cut -d. -f1,2)
1 > ### RPM external cmake 2.8.1
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" != "true"
11   Requires: zlib
12 + %endif
13  
14   %prep
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