ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/python.spec
(Generate patch)

Comparing COMP/CMSDIST/python.spec (file contents):
Revision 1.1 by argiro, Fri Feb 10 09:38:39 2006 UTC vs.
Revision 1.5 by eulisse, Mon Apr 24 22:22:12 2006 UTC

# Line 1 | Line 1
1   ### RPM external python 2.4.2
2 + ## INITENV +PATH PATH %i/bin
3 + ## INITENV +PATH LD_LIBRARY_PATH %i/lib
4   # OS X patches and build fudging stolen from fink
5 < Requires: zlib expat openssl
5 > Requires: zlib expat openssl bz2lib
6   # FIXME: readline, ncurses, crypt, various [ng]dbm, db-*, db[1-3],
7   # FIXME: gmp, panel, tk/tcl, x11
8  
9   Source0: http://www.python.org/ftp/%n/%v/Python-%v.tgz
10 < Patch0: python-osx
10 > #Patch0: python-osx
11  
12   %prep
13   %setup -n Python-%v
14 + perl -p -i -e "s|#!.*/usr/local/bin/python|#!/usr/bin/env python|" Lib/cgi.py
15 +
16   %ifos darwin
17   sed 's|@PREFIX@|%i|g' < %_sourcedir/python-osx | patch -p1
18   %endif
# Line 26 | Line 30 | Patch0: python-osx
30   # linked specifically, or could be built by ourselves, depending on
31   # whether we like to pick up system libraries or want total control.
32   mkdir -p %i/include %i/lib
33 < dirs="$ZLIB_ROOT $EXPAT_ROOT $OPENSSL_ROOT"
33 > dirs="$ZLIB_ROOT $EXPAT_ROOT $OPENSSL_ROOT $BZ2LIB_ROOT"
34   for d in $dirs; do
35    for f in $d/include/*; do
36      [ -f $f ] || continue
# Line 40 | Line 44 | for d in $dirs; do
44    done
45   done
46  
47 < ./configure --prefix=%i
48 < make
47 > ./configure --prefix=%i --enable-shared --without-tk --disable-tk --without-readline
48 > make %makeprocesses
49  
50   %install
51   make install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines