ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cppunit.spec
Revision: 1.18
Committed: Sun Nov 9 12:29:21 2008 UTC (16 years, 5 months ago) by elmer
Branch: MAIN
CVS Tags: 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, pe20091117a-fromDAS_20090709, pe20091116b-fromDAS_20090709, pe20091116a-fromDAS_20090709, DAS_20091104, DBS-WEB_20091021, DAS_20091016, DAS_20091014, DBS-WEB_20091012, DBS-WEB_20090921, pe20090910-fromDAS_20090709, FILEMOVER_20090910, DBS-WEB_20090817, FILEMOVER_20090828, DBS-APPS_20090706, WEBTOOLS_APPS_20090817, DBS-APPS_20090804, DBS-APPS_20090730, DAS_20090709, DAS_20090607, DBS-WEB_20090618, DBS-APPS_20090619, DBS-APPS_20090608, DBS-APPS_20090604_1, DAS_20090604, DBS-APPS_20090604, DAS_20090603, DBS-APPS_20090603, DBS-APPS_20090528, DBS_APPS_20090518, DAS_20090514_3, DAS_20090514_2, DAS_20090514_1, DAS_20090514, DBS-WEB_20090512, DBS-WEB_20090507, 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, DBS-APPS_20090410, DAS_20090408, DBS-APPS_20090406, pe20090406a-31Xports-432, pe20090403a-31Xports-432, DAS_20090330, DBS-APPS_20090326, DAS_20090319_1, DAS_20090319, DBS-APPS_20090318, DBS-APPS_20090316, DAS_20090316, DAS_20090313, COUCHDB_20090313, DBS-APPS_20090310, WEBTOOLS-APPS_20090310_1, WEBTOOLS-APPS_20090310, WEBTOOLS-APPS_20090309, DBS-APPS_20090306, DBS-APPS_20090304_1, DBS-APPS_20090304, pe20090304b-30Xports-432, pe20090304a-30Xports-432, DBS-APPS_20090303_1, DBS-APPS_20090303, 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, pe20081213c-30Xports-432, pe20081213c-30Xports, pe20081213b-30Xports, pe20081213a-30Xports, pe20081125d-30Xports-432, pe20081125d-30Xports, pe20081125c-30Xports-432, pe20081125c-30Xports, pe20081125b-30Xports, pe20081125b-30Xports-432, pe20081125a-30Xports, pe20081124d-30Xports, pe20081124c-30Xports, pe20081124b-30Xports, pe20081124a-30Xports, pe20081121b-30Xports, pe20081121a-30Xports, testofc
Changes since 1.17: +1 -1 lines
Log Message:
Update to version 1.12.1 (resolves also gcc43 compilation issues), from
Giulio

File Contents

# Content
1 ### RPM external cppunit 1.12.1
2 Source0: http://switch.dl.sourceforge.net/sourceforge/%n/%n-%realversion.tar.gz
3 Source1: http://spi.cvs.cern.ch:8180/cgi-bin/spi.cgi/*checkout*/Components/UnitTesting/Tools/CppUnit/CppUnit_testdriver.cpp?rev=1.1
4
5 %prep
6 %setup -n %n-%realversion
7
8 %build
9 case %cmsplatf in
10 osx105* ) perl -p -i -e 's|rm(.*)conftest|rm -fr $1 conftest|g' configure \
11 aclocal.m4 \
12 libtool \
13 config/ltmain.sh
14 ;;
15 esac
16 ./configure --prefix=%i
17 make %makeprocesses
18 %install
19 make install
20 cp %_sourcedir/CppUnit_testdriver.cpp* %i/include/CppUnit_testdriver.cpp
21
22 # SCRAM ToolBox toolfile
23 mkdir -p %i/etc/scram.d
24 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
25 <doc type=BuildSystem::ToolDoc version=1.0>
26 <Tool name=%n version=%v>
27 <lib name=cppunit>
28 <Client>
29 <Environment name=CPPUNIT_BASE default="%i"></Environment>
30 <Environment name=LIBDIR default="$CPPUNIT_BASE/lib"></Environment>
31 <Environment name=INCLUDE default="$CPPUNIT_BASE/include"></Environment>
32 </Client>
33 <use name=sockets>
34 </Tool>
35 EOF_TOOLFILE
36
37 %post
38 %{relocateConfig}/bin/cppunit-config
39 %{relocateConfig}/lib/libcppunit.la
40 %{relocateConfig}etc/scram.d/%n