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

Comparing COMP/CMSDIST/py2-matplotlib.spec (file contents):
Revision 1.20 by eulisse, Thu Sep 1 07:39:55 2011 UTC vs.
Revision 1.22 by lat, Mon Mar 12 09:49:54 2012 UTC

# Line 1 | Line 1
1   ### RPM external py2-matplotlib 1.0.1
2   ## INITENV +PATH PYTHONPATH %i/$PYTHON_LIB_SITE_PACKAGES
3   Source: http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-%{realversion}/matplotlib-%{realversion}.tar.gz
4 + Requires: py2-pytz py2-numpy py2-python-dateutil zlib libpng freetype
5  
5 Requires: py2-numpy
6 Requires: zlib
7 Requires: libpng
6   %prep
7   %setup -n matplotlib-%{realversion}
8  
# Line 12 | Line 10 | cat >> setup.cfg <<- EOF
10   [build_ext]
11   include_dirs = $LIBPNG_ROOT/include:$ZLIB_ROOT/include:/usr/X11R6/include:/usr/X11R6/include/freetype2
12   library_dirs = $LIBPNG_ROOT/lib:$ZLIB_ROOT/lib:/usr/X11/lib
13 +
14 + [gui_support]
15 + gtk = False
16 + gtkagg = False
17 + tkagg = False
18 + wxagg = False
19 + macosx = False
20   EOF
21  
22 + rm -f freetype2
23 + ln -s $FREETYPE_ROOT/include freetype2
24 +
25   %build
18 # Pick up the system compiler also when building with gcc 4.6.1 on mac.
19 case %cmsos in
20  osx*_*_gcc421) ;;
21  osx*)
22    export CC=/usr/bin/gcc
23    export CXX=/usr/bin/c++
24  ;;
25 esac
26   python setup.py build
27  
28   %install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines