ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cppunit.spec
(Generate patch)

Comparing COMP/CMSDIST/cppunit.spec (file contents):
Revision 1.2 by eulisse, Wed Mar 15 17:41:44 2006 UTC vs.
Revision 1.13 by elmer, Fri Nov 2 17:00:57 2007 UTC

# Line 1 | Line 1
1 < ### RPM external cppunit 1.10.2
2 < Source0: ftp://dl.sourceforge.net/pub/sourceforge/c/cp/%n/%n-%v.tar.gz
1 > ### RPM external cppunit 1.10.2-CMS18
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   ./configure --prefix=%i
10   make %makeprocesses
11   %install
12   make install
13   cp %_sourcedir/CppUnit_testdriver.cpp* %i/include/CppUnit_testdriver.cpp
14 +
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 + %post
31 + %{relocateConfig}/bin/cppunit-config
32 + %{relocateConfig}/lib/libcppunit.la
33 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines