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.2 by eulisse, Wed Mar 15 17:46:51 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
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-%realversion
16 > #%patch1 -p1
17 >
18   %build
19   ./configure --prefix=%i
20   make %makeprocesses

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines