set full_version ${version}.RELEASE
maintainers {blair @blair}
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 2126ea7f6659e282e62fc36c152e98d7 \
sha1 9f5c5ae3f11f9a9f51387e27e7a3da475e13bf1c \
rmd160 b35c1c60b8c1b90fc459b5a6daacf920ad54ee5b
conflicts spring-framework31
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