ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/apache-ant.spec
Revision: 1.6
Committed: Thu May 1 17:34:21 2008 UTC (17 years ago) by valya
Branch: MAIN
Changes since 1.5: +1 -1 lines
Log Message:
New version of ant released

File Contents

# User Rev Content
1 valya 1.6 ### RPM external apache-ant 1.7.0
2 ratnik 1.2 ## INITENV SET ANT_HOME %{i}
3 ratnik 1.1 Requires: java-jdk python
4     Source: http://apache.ziply.com/ant/binaries/%{n}-%{v}-bin.tar.gz
5    
6     %prep
7     %setup -n %{n}-%{v}
8    
9     # replace python calls throuhout the sources
10     perl -p -i -e "s|#!/usr/bin/python|#!/usr/bin/env python|" $(find .)
11     %build
12     %install
13     tar -cf - . | tar -C %i -xvvf -