ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cmake.spec
Revision: 1.21
Committed: Thu Jun 18 16:02:47 2009 UTC (15 years, 10 months ago) by muzaffar
Branch: MAIN
CVS Tags: sm090619a, sm090618a
Changes since 1.20: +2 -1 lines
Log Message:
cleanup of hard coded online arch string

File Contents

# User Rev Content
1 elmer 1.20 ### RPM external cmake 2.4.6
2 elmer 1.14 %define downloaddir %(echo %realversion | cut -d. -f1,2)
3 elmer 1.10 Source: http://www.cmake.org/files/v%{downloaddir}/%n-%realversion.tar.gz
4 muzaffar 1.21 %define online %(case %cmsplatf in *onl_*_*) echo true ;; esac)
5 eulisse 1.5 #Patch1: cmake
6 ratnik 1.12
7     #We are using system zlib for the online builds:
8 muzaffar 1.21 %if "%online" != "true"
9 eulisse 1.4 Requires: zlib
10 ratnik 1.12 %endif
11 elmer 1.3
12     %prep
13    
14 elmer 1.10 %setup -n cmake-%realversion
15 eulisse 1.5 #%patch1 -p1
16 elmer 1.3
17 eulisse 1.2 %build
18     ./configure --prefix=%i
19     make %makeprocesses