ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/neon.spec
Revision: 1.11
Committed: Sat Oct 18 18:31:21 2008 UTC (16 years, 6 months ago) by ratnik
Branch: MAIN
CVS Tags: MotT0_1_0_2, MotT0_1_0_1, MotT0_1_0_0, MotT0_100531_1, MotT0_100528_1, T0Mon_100518_1, T0Mon_100503_1, T0Mon_100316_1, T0Mon_100308_2, T0Mon_100308_1, T0Mon_100216_1, T0Mon_100210_1, T0Mon_100204_4, T0Mon_100204_3, T0Mon_100204_1, T0Mon_100127_1, DBS-APP_20100122_slc4, DBS-APP_20100121_slc4, DBS-WEB_20100120_slc4, DBS-APP_20100120_slc4, DBS-APP_20100118_slc4, DBS-WEB_20100118_slc4, DBS-APP_20100114_slc4, DBS-WEB_20100113_slc4, DAS_20091202, FILEMOVER_20091118, DBS-APPS_20090929, T0Mon_091111_1, DAS_20091104, DBS-WEB_20091021, DAS_20091016, DAS_20091014, DBS-WEB_20091012, DBS-WEB_20090921, FILEMOVER_20090910, DBS-WEB_20090817, FILEMOVER_20090828, DBS-APPS_20090706, T0Mon_090828_1, T0Mon_090822_1, WEBTOOLS_APPS_20090817, DBS-APPS_20090804, DBS-APPS_20090730, DAS_20090709, T0Mon_090715_1, DAS_20090607, DBS-WEB_20090618, DBS-APPS_20090619, CMSSW_3_1_0_pre10-432, pe20090616a-31Xports-432, pe20090615a-31Xports-432, T0Mon_090612_1, DBS-APPS_20090608, pe20090611c-31Xports-432, pe20090611b-31Xports-432, T0Mon_090611_1, pe20090611a-31Xports-432, pe20090610d-31Xports-432, pe20090610c-31Xports-432, pe20090610b-31Xports-432, pe20090610a-31Xports-432, T0Mon_090610_1, DBS-APPS_20090604_1, DAS_20090604, DBS-APPS_20090604, pe20090604a-31Xports-432, DAS_20090603, DBS-APPS_20090603, T0Mon_090601_1, DBS-APPS_20090528, T0Mon_090527_2, T0Mon_090527_1, pe20090526a-31Xports-432, pe20090525b-31Xports-432, pe20090525a-31Xports-432, T0Mon_090522_1, ap20090520-osx105, T0Mon_090519_2, T0Mon_090519_1, ap20090519-osx105, DBS_APPS_20090518, T0Mon_090517_1, T0Mon_090516_1, T0Mon_090515_4, T0Mon_090515_3, T0Mon_090515_2, T0Mon_090515_1, DAS_20090514_3, DAS_20090514_2, DAS_20090514_1, DAS_20090514, pe20090514b-31Xports-432, pe20090514a-31Xports-432, DBS-WEB_20090512, pe20090512a-31Xports-432, pe20090511a-31Xports-432, T0Mon_090510_1, DBS-WEB_20090507, pe20090505b-31Xports-432, pe20090505a-31Xports-432, pe20090504a-31Xports-432, DBS_APPS_20090504, DBS_APPS_20090501, DBS-APPS_20090429_2, DBS-WEB_20090429, DBS-APPS_20090429, DBS-WEB_20090428, DBS-WEB_20090422, DBS-WEB_20090420, DBS-APPS_20090417, DBS-APPS_20090415, pe20090414a-31Xports-432, DBS-APPS_20090410, DAS_20090408, pe20090407a-31Xports-432, DBS-APPS_20090406, T0Mon_090406_1, pe20090406b-31Xports-432, pe20090406a-31Xports-432, pe20090403a-31Xports-432, DAS_20090330, DBS-APPS_20090326, T0Mon_090326_1, T0Mon_090325_1, DAS_20090319_1, DAS_20090319, CMSSW_2_2_6_HLT_ONLINE1, nr090319_for226hltonl1, DBS-APPS_20090318, CMSSW_2_2_6_HLT_ONLINE, T0Mon_090318_1, DBS-APPS_20090316, DAS_20090316, T0Mon_090315_1, DAS_20090313, COUCHDB_20090313, CMSSW_2_2_6_onlpatch1_ONLINE, CMSSW_2_2_6_ONLINE, DBS-APPS_20090310, WEBTOOLS-APPS_20090310_1, WEBTOOLS-APPS_20090310, WEBTOOLS-APPS_20090309, nr090307for226_onlpatch1, DBS-APPS_20090306, nr090306onl226_tkonlsw_too_new, DBS-APPS_20090304_1, DBS-APPS_20090304, pe20090304b-30Xports-432, pe20090304a-30Xports-432, DBS-APPS_20090303_1, DBS-APPS_20090303, T0Mon_090303_1, DBS-APPS_20090302, pe20090226b-30Xports-432, pe20090226a-30Xports-432, pe20090224b-30Xports-432, pe20090224a-30Xports-432, DBS-APPS_20090220_1, DBS-APPS_20090220, T0M_0_0_5, MEMCACHED_20090219_1, MEMCACHED_20090219, pe20090218a-30Xports-432, WEBTOOLS-APPS_20090217_1, WEBTOOLS-APPS_20090217, WEBTOOLS-APPS_20090216, pe20090216b-30Xports-432, pe20090216a-30Xports-432, WEBTOOLS-APPS_20090212, WEBTOOLS-APPS_20090209_64bit, zx20090209, WEBTOOLS-APPS_20090206, T0M_0_0_4, T0M_0_0_3, WEBTOOLS-APPS_20090203_1, WEBTOOLS-APPS_20090203, T0M_0_0_2, zx20090201, WEBTOOLS-APPS_20090130, WEBTOOLS-APPS_20090129, PRODAGENT_0_12_10_pre3, pe20090127c-30Xports-432, pe20090127b-30Xports-432, PRODAGENT_0_12_10_pre2_20090127_V2, pe20090127a-30Xports-432, pe20090125a-30Xports-432, PRODAGENT_0_12_10_20090122, PRODAGENT_0_12_10_pre1_MISC, sw_20090115a, sw_20090115, pe20090114c-ports, pe20090114b-ports, pe20090114a-ports, testofc, T0Mon_081107_1, T0Mon_081105_1, nr081018_bootstrap
Changes since 1.10: +1 -1 lines
Log Message:
Added support for online case (replaced some old not working example)

File Contents

# User Rev Content
1 elmer 1.9 ### RPM external neon 0.26.3-CMS19
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 ratnik 1.10 %if "%cmsplatf" != "slc4onl_ia32_gcc346"
6 elmer 1.8 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 ratnik 1.11 %if "%cmsplatf" == "slc4onl_ia32_gcc346"
13 eulisse 1.7 %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