set full_version ${version}.RELEASE
description Spring application framework for Java
Spring is a layered Java/J2EE application framework.
homepage http://www.springsource.org/about
distname spring-framework-${full_version}-with-docs
master_sites http://s3.amazonaws.com/dist.springframework.org/release/SPR
checksums md5 a092c72d730e049f18123f2ec090df5c \
sha1 115fcdc3a7f0917a9cdaa44207a7d5b0373b3122 \
rmd160 fed31138af34415522a52241232f2813cb875957
conflicts spring-framework30
depends_lib bin:java:kaffe
worksrcdir spring-framework-${full_version}
# Ensure needed directories
${destroot}${prefix}/share \
${destroot}${prefix}/share/doc/${name} \
${destroot}${prefix}/share/examples
file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
file rename ${f} [strsed ${f} s/-${full_version}//]
foreach f {changelog.txt license.txt notice.txt readme.txt} {
file copy ${worksrcpath}/${f} \
${destroot}${prefix}/share/doc/${name}/${f}
file copy ${worksrcpath}/docs/javadoc-api \
${destroot}${prefix}/share/doc/${name}/api
file copy ${worksrcpath}/docs/spring-framework-reference \
${destroot}${prefix}/share/doc/${name}/reference