ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/PIL.spec
Revision: 1.2
Committed: Mon Jan 15 21:10:15 2007 UTC (18 years, 3 months ago) by eulisse
Branch: MAIN
Changes since 1.1: +4 -4 lines
Log Message:
Fixed to actually compile properly.

File Contents

# User Rev Content
1 eulisse 1.2 ### RPM external PIL 1.1.6
2 eulisse 1.1 %define pythonv %(echo $PYTHON_VERSION |cut -d. -f1,2)
3     ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION |cut -d. -f 1,2)/site-packages
4 eulisse 1.2 Source: http://effbot.org/downloads/Imaging-%{v}.tar.gz
5     Requires: python libjpg zlib
6 eulisse 1.1
7     %prep
8 eulisse 1.2 %setup -n Imaging-%v
9 eulisse 1.1 %build
10     python setup.py build
11     %install
12     python setup.py install --prefix=%i
13