ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-pycrypto.spec
Revision: 1.1
Committed: Thu Feb 1 11:07:01 2007 UTC (18 years, 2 months ago) by eulisse
Branch: MAIN
CVS Tags: WEBTOOLS_CONFIG_1_pre2, WEBTOOLS_CONFIG_1_pre1, PR_0_5_4, PR_0_5_0, PR_0_4_21, PRODREQUEST_0_4_0, PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033
Log Message:
First added to repository.

File Contents

# Content
1 ### RPM external py2-pycrypto 2.0.1
2 %define downloadn pycrypto
3 Requires: python gmp
4 ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}$(echo $PYTHON_VERSION | cut -d. -f 1,2)/site-packages
5 %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
6 Source: http://www.amk.ca/files/python/crypto/%downloadn-%v.tar.gz
7 Patch: py2-pycrypto-setup
8
9 %prep
10 %setup -n %downloadn-%v
11 %patch0 -p0
12 %build
13 %install
14 python setup.py install --prefix=%i
15 perl -p -i -e "s|^#!.*python(.*)|#!/usr/bin/env python$1|" `grep -r -e "^#\!.*python.*" %i | cut -d: -f1`