1 |
< |
### RPM external xdaq 3.9.0-CMS8 |
1 |
> |
### RPM external xdaq 03.11.00 |
2 |
|
Requires: zlib mimetic xerces-c uuid |
3 |
|
%define xdaqv %(echo %v | cut -f1 -d- | tr . _) |
4 |
|
%define libext so |
7 |
|
%endif |
8 |
|
|
9 |
|
# Download from cern afs area to speed up testing: |
10 |
< |
Source0: http://switch.dl.sourceforge.net/sourceforge/xdaq/coretools_G_V%{xdaqv}.tgz |
11 |
< |
Source1: http://switch.dl.sourceforge.net/sourceforge/xdaq/powerpack_G_V1_9_0.tgz |
12 |
< |
Source2: http://switch.dl.sourceforge.net/sourceforge/xdaq/worksuite_G_V1_8_0.tgz |
13 |
< |
Patch: xdaq_39_oracle |
14 |
< |
Patch1: xdaq-3.9.0-uuid |
15 |
< |
Patch2: xdaq-3.9.0-nossh |
10 |
> |
Source0: http://switch.dl.sourceforge.net/sourceforge/xdaq/coretools_G_V%xdaqv.tgz |
11 |
> |
Source1: http://switch.dl.sourceforge.net/sourceforge/xdaq/powerpack_G_V01_11_00.tgz |
12 |
> |
Source2: http://switch.dl.sourceforge.net/sourceforge/xdaq/worksuite_G_V01_11_00.tgz |
13 |
> |
Patch: xdaq_3.11_p1 |
14 |
|
|
15 |
|
%prep |
16 |
|
%setup -T -b 0 -n TriDAS |
17 |
|
%setup -D -T -b 1 -n TriDAS |
18 |
|
%setup -D -T -b 2 -n TriDAS |
19 |
|
|
20 |
< |
#%patch0 -p2 |
23 |
< |
%patch1 -p1 |
24 |
< |
%patch2 -p1 |
20 |
> |
%patch -p1 |
21 |
|
ls |
26 |
– |
#perl -p -i -e "s|^#.*ksh(.*)|#!/usr/bin/env ksh $1|" daq/extern/SBSVME/1003/v2p3p0/sys/makefile \ |
27 |
– |
# daq/extern/SBSVME/1003/v2p3p0/sys/mkbtp |
22 |
|
echo " Install root in prep:" %{i} %{pkginstroot} |
23 |
|
|
24 |
|
%build |
50 |
|
mv x86*/lib . |
51 |
|
mv x86*/bin . |
52 |
|
mv x86*/include . |
53 |
+ |
|
54 |
+ |
mkdir htdocs |
55 |
+ |
for subdir in ( `find java -name icons` ) |
56 |
+ |
do |
57 |
+ |
cp $subdir/* htdocs |
58 |
+ |
done |
59 |
+ |
|
60 |
|
mkdir include/interface |
61 |
|
mv daq/interface/evb/include/interface/evb include/interface |
62 |
|
mv daq/interface/shared/include/interface/shared include/interface |
110 |
|
<runtime name=XDAQ_PLATFORM value="x86"> |
111 |
|
<runtime name=PATH value="$BINDIR" type=path> |
112 |
|
<runtime name=XDAQ_ROOT value="$XDAQ_BASE"> |
113 |
< |
<runtime name=XDAQ_DOCUMENT_ROOT value="$XDAQ_BASE/daq"> |
113 |
> |
<runtime name=XDAQ_DOCUMENT_ROOT value="$XDAQ_BASE/htdocs"> |
114 |
|
<flags CPPDEFINES="SOAP__ LITTLE_ENDIAN__"> |
115 |
|
<flags CPPDEFINES="linux"> |
116 |
|
</Tool> |