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.5 by elmer, Tue May 1 11:48:49 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines