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.6 by elmer, Sat Apr 7 01:17:25 2007 UTC vs.
Revision 1.26 by eulisse, Thu Sep 23 08:34:03 2010 UTC

# Line 1 | Line 1
1 < ### RPM external cmake 2.4.5
2 < %define downloaddir %(echo %v | cut -d. -f1,2)
3 < Source: http://www.cmake.org/files/v%{downloaddir}/%n-%v.tar.gz
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-%v
17 < #%patch1 -p1
16 > %setup -n cmake-%realversion
17 > # This patch disables the warning about long doubles that some
18 > # macosx compilers emit. Even if it matters only for macosx,
19 > # we apply it anyway to avoid discrepancies and to avoid that
20 > # it's left behind if cmake version is changed.
21 > %patch2 -p1
22  
23   %build
24   ./configure --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines