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.1 by ratnik, Tue Nov 7 03:11:43 2006 UTC vs.
Revision 1.4 by ratnik, Wed Apr 18 23:46:01 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines