ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/qmtest.spec
Revision: 1.4
Committed: Wed Apr 18 23:46:02 2007 UTC (18 years ago) by ratnik
Branch: MAIN
CVS Tags: pe20070428a-ports, pe20070423b-ports, pe20070423a-ports
Changes since 1.3: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# User Rev Content
1 eulisse 1.2 ### RPM external qmtest 2.3.0
2 ratnik 1.4 Requires: gcc-wrapper
3 eulisse 1.1 Requires: python
4 eulisse 1.2 %define downloadv %(echo %v | cut -d. -f 1,2)
5     Source: http://www.codesourcery.com/public/qmtest/qm-%{downloadv}/qm-%{downloadv}.tar.gz
6 eulisse 1.1
7     %prep
8 eulisse 1.2 %setup -n qm-%{downloadv}
9 eulisse 1.1
10     %build
11 ratnik 1.4 ## IMPORT gcc-wrapper
12 eulisse 1.1 python setup.py build
13    
14     %install
15     python setup.py install --prefix=%i
16 eulisse 1.3 perl -p -i -e "s|^#!.*python|/usr/bin/env python|" %{i}/bin/qmtest %{i}/bin/qmtest.py
17 eulisse 1.1 # %test
18     # make check