ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dcache-client.spec
Revision: 1.3
Committed: Mon Nov 20 17:11:28 2006 UTC (18 years, 5 months ago) by ratnik
Branch: MAIN
Changes since 1.2: +10 -9 lines
Log Message:
build using  make directly  to  avoid dependency on  Ant, and ava-jdk. Patch is not needed anymore (-fPIC option is already added in dcap 1.2.39)

File Contents

# User Rev Content
1 ratnik 1.1
2     ### RPM external dcache-client 1.7.0
3 ratnik 1.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 ratnik 1.2 Provides: libdcap.so
8     Provides: libpdcap.so
9 ratnik 1.3
10 ratnik 1.1 %define downloadv %(echo %v | tr . -)
11     Source: http://www.dcache.org/downloads/%{v}/dCache-production-%{downloadv}-sources.tar
12     %prep
13 ratnik 1.3 %setup -n dCacheBuild/modules/dcap
14     pwd
15     chmod a+x `find ./ -type f -name "*.sh"`
16 ratnik 1.1 %build
17 ratnik 1.3 make BIN_PATH=%i
18 ratnik 1.1 %install
19 ratnik 1.3 make BIN_PATH=%i install