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

File Contents

# Content
1 ### RPM external py2-pyopenssl 0.6.900
2 Requires: gcc-wrapper
3 %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
4 ## INITENV +PATH PYTHONPATH %{i}/lib/python%{pythonv}/site-packages
5 ## INITENV +PATH PATH %{i}/bin
6
7 Summary: A Python wrapper for OpenSSL
8 Group: Development/Libraries
9 Packager: Conrad Steenberg <conrad@hep.caltech.edu>
10 Source: http://julian.ultralight.org/clarens/devel/pyOpenSSL-%v.tar.gz
11 Requires: python openssl
12 %prep
13 %setup -n pyOpenSSL-%{v}
14
15 %build
16 ## IMPORT gcc-wrapper
17 CFLAGS="-I$OPENSSL_ROOT/include -I$OPENSSL_ROOT/include/openssl" LDFLAGS="-L$OPENSSL_ROOT/lib" \
18 python setup.py build
19
20 %install
21 python setup.py install --prefix=%i