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.3 by elmer, Wed May 31 23:16:37 2006 UTC vs.
Revision 1.22 by muzaffar, Fri Jun 19 09:34:06 2009 UTC

# Line 1 | Line 1
1 < ### RPM external cmake 1.8.3
2 < %define download dir %(echo %v | cut -d. -f1,2)
3 < Source: http://www.cmake.org/files/v1.8/%n-%v.tar.gz
4 < Patch1: cmake
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
16 < %patch1 -p1
15 > %setup -n cmake-%realversion
16 > #%patch1 -p1
17  
18   %build
19   ./configure --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines