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

Comparing COMP/CMSDIST/dcache-client.spec (file contents):
Revision 1.2 by ratnik, Wed Nov 8 03:00:47 2006 UTC vs.
Revision 1.3 by ratnik, Mon Nov 20 17:11:28 2006 UTC

# Line 1 | Line 1
1  
2   ### RPM external dcache-client 1.7.0
3 < Requires: apache-ant
3 > #Requires: apache-ant
4 > # Normally requires Ant, but here we use gmake directly
5 > # in order to avoid dependency on java-jdk.
6 >
7   Provides: libdcap.so
8   Provides: libpdcap.so
9 +
10   %define downloadv %(echo %v | tr . -)
11   Source: http://www.dcache.org/downloads/%{v}/dCache-production-%{downloadv}-sources.tar
12   %prep
13 < %setup -n dCacheBuild
14 < export JAVA_HOME=$JAVA_JDK_ROOT
15 < export CLASSPATH="."
13 > %setup -n dCacheBuild/modules/dcap
14 > pwd
15 > chmod a+x `find ./  -type f -name "*.sh"`
16   %build
17 < chmod a+x `find modules -type f -name "*.sh"`
14 < ant dcache-srm > dcache-srm.log 2>&1
15 < ant all > all.log 2>&1
17 > make BIN_PATH=%i
18   %install
19 < ls dist/d-cache
18 < tar -cf - -C dist/d-cache/dcap . | tar -C %i -xvvf -
19 > make BIN_PATH=%i install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines