Revision: | 1.1 |
Committed: | Mon Nov 6 23:08:21 2006 UTC (18 years, 5 months ago) by ratnik |
Branch: | MAIN |
Log Message: | Latest production version of Ant from apache, needed to build dcache-client. |
# | Content |
---|---|
1 | |
2 | ### RPM external apache-ant 1.6.5 |
3 | Requires: java-jdk python |
4 | Source: http://apache.ziply.com/ant/binaries/%{n}-%{v}-bin.tar.gz |
5 | |
6 | %prep |
7 | echo "PWD in prep is:" `pwd` |
8 | %setup -n %{n}-%{v} |
9 | |
10 | # replace python calls throuhout the sources |
11 | perl -p -i -e "s|#!/usr/bin/python|#!/usr/bin/env python|" $(find .) |
12 | |
13 | %build |
14 | echo "PWD in build is:" `pwd` |
15 | %install |
16 | echo "PWD in install is:" `pwd` |
17 | |
18 | tar -cf - . | tar -C %i -xvvf - |