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

Comparing COMP/CMSDIST/xdaq.spec (file contents):
Revision 1.5 by ratnik, Thu Jun 8 01:43:59 2006 UTC vs.
Revision 1.8 by eulisse, Thu Jun 15 13:49:13 2006 UTC

# Line 1 | Line 1
1 < ### RPM external xdaq 3.4
1 > ### RPM external xdaq 3.5
2   %define xdaqv %(echo %v |tr . _)
3   %define libext so
4 %define to_be_removed_externals cppunit gmp mimetic xerces tinyproxy
5
6 Requires: xerces-c
7 Requires: mimetic
8
4   # Download from cern afs area to speed up testing:
5 < Source: http://cmsdoc.cern.ch/Releases/XDAQ/XDAQ_%xdaqv/coretools_G_17559_V%xdaqv.tgz
5 > #Source0: http://cmsdoc.cern.ch/Releases/XDAQ/XDAQ_%xdaqv/coretools_G_17559_V%xdaqv.tgz
6 > #Source1: http://cmsdoc.cern.ch/Releases/XDAQ/XDAQ_%xdaqv/powerpack_G_28175_V1_3_1.tgz
7 > #Source2: http://cmsdoc.cern.ch/Releases/XDAQ/XDAQ_%xdaqv/worksuite_G_28176_V1_4.tgz
8 > Source0: http://switch.dl.sourceforge.net/sourceforge/xdaq/coretools_G_17559_V%{xdaqv}.tgz
9 > Source1: http://switch.dl.sourceforge.net/sourceforge/xdaq/powerpack_G_28175_V1_4.tgz
10 > Source2: http://switch.dl.sourceforge.net/sourceforge/xdaq/worksuite_G_28176_V1_5.tgz
11  
12   %prep
13 < %setup -n TriDAS
13 > %setup -T -b 0 -n TriDAS
14 > %setup -D -T -b 1 -n TriDAS
15 > %setup -D -T -b 2 -n TriDAS
16 >
17 > echo " Install root in prep:" %{i}    %{pkginstroot}
18  
19   %build
20   # Xdaq does not provide makeinstall,  it uses "simplify" script instead to
# Line 25 | Line 29 | export XDAQ_ROOT=$PWD
29   cd %{i}/daq
30   make Set=extern
31   make Set=coretools
32 + make Set=powerpack
33 + make Set=worksuite
34   # The following structure used as defined in Xdaq "simplify" script:
35   cd %{i}
36   mkdir -p %{i}/lib
37   mkdir -p %{i}/bin
32
33 # Remove unneeded and standard externals that can be re-used from CMS distribution:
34
35 for extern in %{to_be_removed_externals}; do echo removing external from daq: ${extern} ...;  rm -rf daq/extern/${extern}; done
36
38   # Catch-all
39   find .  -type f ! -path "./lib/*.%{libext}" -name "*.%{libext}" -exec mv {}  %{i}/lib \;
40   find .  -type f ! -path "./bin/*.exe" -name "*.exe" -exec mv {} %{i}/bin \;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines