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

Comparing COMP/CMSDIST/dcap.spec (file contents):
Revision 1.5 by ratnik, Wed Apr 18 23:46:01 2007 UTC vs.
Revision 1.14 by dlange, Tue Apr 8 04:57:28 2008 UTC

# Line 1 | Line 1
1 < ### RPM external dcap 1.2.35
2 < Requires: gcc-wrapper
3 < # Fakes the presence of dcap since we are not allowed to distribute it.
4 < Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%v.tar.gz
5 < Patch: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%v.patch
1 > ### RPM external dcap 1.7.0.31
2 > #get dcap from dcache now...
3 > Source: http://www.dcache.org/downloads/1.7.0/dCache-production-1-7-0-31.tar.gz
4 > Patch: dcap-1.7.0.31
5 >
6   %define cpu %(echo %cmsplatf | cut -d_ -f2)
7   %if "%cpu" != "amd64"
8   %define libsuffix %{nil}
# Line 13 | Line 13 | Patch: http://service-spi.web.cern.ch/se
13   Provides: libdcap.so%{libsuffix}
14   Provides: libpdcap.so%{libsuffix}
15   %prep
16 < %setup -n %n-%v
16 > #rm -rf %n-%realversion
17 > %setup -n dCacheBuild
18   %patch0 -p1
19 +
20   %build
21 < ## IMPORT gcc-wrapper
22 < make BIN_PATH=%i %makeprocesses
21 > cd modules/dcap
22 > chmod +x mkmapfile.sh
23 > chmod +x mkdirs.sh
24 > LD=gcc make BIN_PATH=%i %makeprocesses
25   %install
26 < make BIN_PATH=%i install
27 < #
26 > cd modules/dcap
27 > LD=gcc make BIN_PATH=%i install
28 >
29 > # SCRAM ToolBox toolfile
30 > mkdir -p %i/etc/scram.d
31 > cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
32 > <doc type=BuildSystem::ToolDoc version=1.0>
33 > <Tool name=%n version=%v>
34 > <lib name=dcap>
35 > <Client>
36 > <Environment name=DCAP_BASE default="%i"></Environment>
37 > <Environment name=LIBDIR default="$DCAP_BASE/lib"></Environment>
38 > <Environment name=INCLUDE default="$DCAP_BASE/include"></Environment>
39 > </Client>
40 > </Tool>
41 > EOF_TOOLFILE
42 >
43 > %post
44 > %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines