ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/neon.spec
Revision: 1.8
Committed: Fri Nov 23 00:49:16 2007 UTC (17 years, 5 months ago) by elmer
Branch: MAIN
CVS Tags: CMSSW_1_8_4, pe20080405-for184, CMSSW_1_8_3, pe20080326-for183, pe20080325-for183, CMSSW_1_8_2, pe20080324-for182, nr080320a, CMSSW_1_8_1, nr080314_181onl1, pe20080314-for181, CMSSW_1_8_0_ONLINE1, nr080310_180onl1, nr080307onl180onl1, CMSSW_1_8_0, pe20080304a-for180, pe20080303a-for18X, CMSSW_1_8_0_pre10, pe20080226-for180p10, pe20080220a-for18X, CMSSW_1_8_0_pre9, nr080215g491p01dbg, CMSSW_2_0_0_pre1, CMSSW_1_8_0_pre8, dl080202, pe20080126-for180p8, CMSSW_1_8_0_pre7, pe20080122a-for180p7, dl080120, pe20080120a-for180p7, pe20080117b-for180p7, pe20080117-for180p7, dl080115, CMSSW_1_8_0_pre6, NR080108_geant491-dbg-global, sm20080101a-newscram, pe20071226c-for180p6, pe20071226b-for180p6, pe20071226a-for180p6, pe20071220b-for180p6, pe20071220-for180p6, CMSSW_1_8_0_pre5, pe20071216-for180p5, CMSSW_1_8_0_pre4-vg330, ge20071212-perfreport, pe20071207-for180p4g491c3, NR071206_geant491cand3-global, pe20071206-for180test1, CMSSW_1_8_0_pre4-412, CMSSW_1_8_0_pre4, pe20071205b-for180p4-412, pe20071205b-for180p4, pe20071205-for180p4, CMSSW_1_8_0_pre3a-412, pe20071202-for180p3a-gcc412, CMSSW_1_8_0_pre3a, pe20071201b-for180p3a, pe20071201-for180p3a, pe20071130-for180p3, pe20071129-for180p3, pe20071127a-ports-412, CMSSW_1_8_0_pre2, CMSSW_1_8_0_pre0-amd64, CMSSW_1_8_0_pre0, pe20071123e-ports-412, pe20071123d-ports-412, pe20071123c-ports-422, pe20071123c-ports-412, pe20071123c-ports, pe20071123b-ports-422, pe20071123b-ports-412, pe20071123b-ports
Changes since 1.7: +5 -3 lines
Log Message:
Back out the games with the %requires macro, as they do not appear to work
as expected.

File Contents

# User Rev Content
1 elmer 1.6 ### RPM external neon 0.26.3-CMS18
2 eulisse 1.7 Source: http://www.webdav.org/%n/%n-%realversion.tar.gz
3 eulisse 1.1
4 elmer 1.8 Requires: expat
5     %if "%{?online_release:set}" != "set"
6     Requires: openssl zlib
7     %endif
8    
9 eulisse 1.7 %define cppflags "-I$EXPAT_ROOT/include -I$ZLIB_ROOT/include -I$OPENSSL_ROOT/include"
10     %define ldflags "-L$EXPAT_ROOT/lib -L$ZLIB_ROOT/lib -L$OPENSSL_ROOT/lib"
11    
12     %if "%(echo %{cmsos} | sed -e 's|slc.online_.*|online|')" == "online"
13     %define cppflags "-I$EXPAT_ROOT/include"
14     %define ldflags "-L$EXPAT_ROOT/lib"
15 ratnik 1.5 %endif
16 eulisse 1.1
17 eulisse 1.7
18 eulisse 1.2 %prep
19     %setup -n %n-%realversion
20 ratnik 1.5
21 eulisse 1.1 %build
22 ratnik 1.5
23     export CFLAGS="-fPIC -g -O2"
24    
25 eulisse 1.7 export CPPFLAGS=%{cppflags}
26     export LDFLAGS=%{ldflags}
27 ratnik 1.5
28 eulisse 1.4 ./configure --enable-shared --prefix=%i --with-pic --without-zlib --without-gssapi --with-expat
29 eulisse 1.1 make -j %makeprocesses
30     %post
31     %{relocateConfig}lib/libneon.la