ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/classlib.spec
Revision: 1.6
Committed: Wed Feb 2 14:10:47 2011 UTC (14 years, 2 months ago) by lat
Branch: MAIN
CVS Tags: fwFor413op1, fwFor413xdaq11b6online, CMSSW_4_1_3_ONLINE, TW20110322b, TW20110322a, fwFor412op1, fwFor413online, builder_2011-03-18_11-41-55_mechanize, builder_2011-03-17_16-27-25_das, HG1103e, TW20110316a, builder_2011-03-14_22-22-58_T0PromptSkim, builder_2011-03-14_16-24-26_calendar-shift, builder_2011-03-14_15-23-03_PHEDEX-combined-agents, builder_2011-03-14_13-03-29_PHEDEX-combined-agents, HG1103d, builder_2011-03-11_20-03-23_PHEDEX-combined-agents, DAS_20110311_slc5_amd64_gcc434, TW20110311a, azFor420p7g434_fwlite, azFor420p7_fwlite, HG1103c, sm110311fwlite, pe20110310a-for4XY-ports, CMSSW_3_11_3, builder_2011-03-10_20-36-50_dbs3, TW20110310a, pe20110310a-for4XY, CMSSW_4_2_0_pre7-ports, CMSSW_4_2_0_pre7, DAS_20110309_slc5_amd64_gcc434, azFor420p7g451, azFor420p7g434, CMSSW_4_1_2_patch1, builder_2011-03-09_10-06-32_cmsweb, CMSSW_4_1_1_onlpatch2_ONLINE, builder_2011-03-08_16-58-27_wmagent, HG1103b, builder_2011-03-08_11-38-13_cmsweb, builder_2011-03-07_23-56-56_cmsweb, TW20110307b, pe20110307a-for4XY-ports, pe20110307a-for4XY, DAS_20110303_slc5_amd64_gcc434_v4, DAS_20110303_slc5_amd64_gcc434_v3, DAS_20110303_slc5_amd64_gcc434_v2, builder_2011-03-03_13-50-13_cmsweb, HG1103a, CMSSW_4_1_2_ONLINE, pe20110303-for412-ports, CMSSW_4_1_2, CMSSW_4_1_1_onlpatch1_ONLINE, CMSSW_4_1_1_ONLINE, CMSSW_4_2_0_pre6-ports, CMSSW_4_2_0_pre6, DQMGUI_5_4_0, azFor420p6g451, azFor420p6g434, fwFor411online, pe20110301-for412, CMSSW_3_11_2, CMSSW_4_1_1, pe20110228a-for4XY-ports, pe20110228a-for4XY, CMSSW_3_11_1_hclpatch1, sjgFor3111hclp1, sjgFor3111hcalp1, CMSSW_4_1_0_pre3-ports, CMSSW_4_1_0_pre3, pe20110225a-for311X, pe20110225b-for4XY-ports, pe20110225b-for4XY, pe20110225a-for4XY-ports, pe20110225a-for4XY, CMSSW_3_11_1_hltpatch1, CMSSW_3_11_1_patch3, pe20110223a-for4XY-ports-osx, pe20110223a-for4XY-ports, pe20110223a-for4XY, CmsTC_0_0_4, fwFor410pre2online, CMSSW_3_11_1_onlpatch1_ONLINE, CMSSW_4_2_0_pre5-ports, CMSSW_4_2_0_pre5, azFor420p5g451a, fwFor3111op1-online, azFor420p5g451, azFor420p5g434, azFor420pre5gcc451a, azFor420pre5gcc451, azFor420pre5gcc434, CMSSW_3_11_1_patch2, CMSSW_4_1_0_pre2, pe20110215-for410p2, CMSSW_4_2_0_pre4-ports, CMSSW_4_2_0_pre4, azFor420pre4gcc451, azFor420pre4gcc434, azFor420p4g451, azFor420p4g434, pe20110213a-for4XY-ports, pe20110213a-for4XY, CMSSW_3_11_1_patch1, CMSSW_4_2_0_pre3-ports, CMSSW_4_2_0_pre3, sjgFor3111p1b, sjgFor3111p1, azFor420pre3gcc451, azFor420pre3gcc434, DQMGUI_5_3_2b, pe20110210a-for4XY-ports, pe20110210a-for4XY, DQMGUI_5_3_2a, CMSSW_3_11_1_ONLINE, CMSSW_3_11_1, fwFor3111, pe20110208a-for4XY, pe20110208a-for4XY-ports, pe20110207b-for4XY-ports, pe20110207b-for4XY, pe20110207a-for4XY, CMSSW_4_2_0_pre2-ports, CMSSW_4_2_0_pre2, azFor420pre2gcc434c, azFor420pre2gcc434b, azFor420pre2gcc451, CMSSW_4_1_0_pre1, azFor420pre2gcc434, pe20110205-for410p1, pe20110203a-for4XY-ports, pe20110203a-for4XY, pe20110202a-for311X, pe20110202a-for4XY-ports, pe20110202a-for4XY
Changes since 1.5: +1 -1 lines
Log Message:
Bump version to 3.1.2.

File Contents

# User Rev Content
1 lat 1.6 ### RPM external classlib 3.1.2
2 lat 1.1 Source: http://cmsmac01.cern.ch/~lat/exports/%n-%realversion.tar.bz2
3 fwyzard 1.5 %define closingbrace )
4     %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo false;; esac)
5    
6 fwyzard 1.4 Requires: bz2lib
7     Requires: pcre
8     %if "%online" != "true"
9     Requires: openssl
10     Requires: zlib
11     %else
12     Requires: onlinesystemtools
13     %endif
14 lat 1.1
15     %prep
16     %setup -n %n-%realversion
17    
18     %build
19     ./configure --prefix=%i \
20     --with-zlib-includes=$ZLIB_ROOT/include \
21     --with-zlib-libraries=$ZLIB_ROOT/lib \
22     --with-bz2lib-includes=$BZ2LIB_ROOT/include \
23     --with-bz2lib-libraries=$BZ2LIB_ROOT/lib \
24     --with-pcre-includes=$PCRE_ROOT/include \
25     --with-pcre-libraries=$PCRE_ROOT/lib \
26     --with-openssl-includes=$OPENSSL_ROOT/include \
27 lat 1.2 --with-openssl-libraries=$OPENSSL_ROOT/lib
28    
29     perl -p -i -e '
30     s{-l(lzo2|lzma)}{}g;
31     !/^\S+: / && s{\S+LZ(O|MA)((C|Dec)ompressor|Constants|Error)\S+}{}g' \
32     Makefile
33 lat 1.1
34     make %makeprocesses
35    
36     %install
37     make %makeprocesses install