comparison libpst.spec.in @ 224:d9ba8fa961e7

fix ax_python as done in libtorrent
author Carl Byington <carl@five-ten-sg.com>
date Tue, 23 Jun 2009 16:08:39 -0700
parents 06d759f640f6
children 9859474779da
comparison
equal deleted inserted replaced
223:a60af76317ab 224:d9ba8fa961e7
7 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz 7 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
8 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 8 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
9 URL: http://www.five-ten-sg.com/%{name}/ 9 URL: http://www.five-ten-sg.com/%{name}/
10 Requires: ImageMagick 10 Requires: ImageMagick
11 Requires: %{name}-libs = %{version}-%{release} 11 Requires: %{name}-libs = %{version}-%{release}
12 12 BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel python-devel boost-devel
13 BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel python-devel
14 %if 0%{?fedora} > 10
15 BuildRequires: boost-python-devel
16 %else
17 BuildRequires: boost-devel
18 %endif
19
20
21 13
22 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} 14 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
23 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} 15 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
24 16
25 17