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.22 by muzaffar, Fri Jun 19 09:34:06 2009 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.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 flase;; esac)
6   #Patch1: cmake
7 +
8 + #We are using system zlib for the online builds:
9 + %if "%online" != "true"
10   Requires: zlib
11 + %endif
12  
13   %prep
14  
15 < %setup -n cmake-%v
15 > %setup -n cmake-%realversion
16   #%patch1 -p1
17  
18   %build

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines