Revision: | 1.14 |
Committed: | Thu Dec 27 20:28:32 2007 UTC (17 years, 4 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | pe20080118c-ports, pe20080118b-ports, pe20080118a-ports, pe20080111b-ports, pe20080111a-ports, pe20080110b-ports, pe20080110a-ports, pe20080108c-ports, ge20080108-wt, pe20080108b-ports, pe20080108a-ports, pe20080105a-ports, pe20080104a-ports, pe20080103a-ports-gcc422, pe20080103a-ports, pe20070103a-ports, pe20080101a-ports, pe20071128b-ports, pe20071128a-ports, pe20071127b-ports |
Changes since 1.13: | +1 -1 lines |
Log Message: | Update to -CMS19 (and variants) and CMS_152. SCRAMV1 was updated to V1_0_3-p4 |
# | User | Rev | Content |
---|---|---|---|
1 | elmer | 1.14 | ### RPM external cppunit 1.10.2-CMS19 |
2 | elmer | 1.10 | Source0: http://switch.dl.sourceforge.net/sourceforge/%n/%n-%realversion.tar.gz |
3 | eulisse | 1.1 | Source1: http://spi.cvs.cern.ch:8180/cgi-bin/spi.cgi/*checkout*/Components/UnitTesting/Tools/CppUnit/CppUnit_testdriver.cpp?rev=1.1 |
4 | elmer | 1.10 | |
5 | %prep | ||
6 | %setup -n %n-%realversion | ||
7 | |||
8 | eulisse | 1.2 | %build |
9 | ./configure --prefix=%i | ||
10 | make %makeprocesses | ||
11 | eulisse | 1.1 | %install |
12 | make install | ||
13 | cp %_sourcedir/CppUnit_testdriver.cpp* %i/include/CppUnit_testdriver.cpp | ||
14 | muzaffar | 1.12 | |
15 | # SCRAM ToolBox toolfile | ||
16 | mkdir -p %i/etc/scram.d | ||
17 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n | ||
18 | <doc type=BuildSystem::ToolDoc version=1.0> | ||
19 | <Tool name=%n version=%v> | ||
20 | <lib name=cppunit> | ||
21 | <Client> | ||
22 | <Environment name=CPPUNIT_BASE default="%i"></Environment> | ||
23 | <Environment name=LIBDIR default="$CPPUNIT_BASE/lib"></Environment> | ||
24 | <Environment name=INCLUDE default="$CPPUNIT_BASE/include"></Environment> | ||
25 | </Client> | ||
26 | <use name=sockets> | ||
27 | </Tool> | ||
28 | EOF_TOOLFILE | ||
29 | |||
30 | eulisse | 1.6 | %post |
31 | %{relocateConfig}/bin/cppunit-config | ||
32 | eulisse | 1.7 | %{relocateConfig}/lib/libcppunit.la |
33 | muzaffar | 1.12 | %{relocateConfig}etc/scram.d/%n |