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.9 by eulisse, Thu May 24 08:52:26 2007 UTC vs.
Revision 1.15 by dlange, Wed Apr 9 00:15:05 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines