Mercurial > libpst
comparison libpst.spec.in @ 217:5d0358f94031
fedora > 10 moved to boost-python-devel
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 21 Jun 2009 19:35:17 -0700 |
parents | fef2214083a4 |
children | a43d58f1d0dd |
comparison
equal
deleted
inserted
replaced
216:f651085e33e0 | 217:5d0358f94031 |
---|---|
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 BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel python-devel boost-devel | 12 |
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 | |
13 | 20 |
14 | 21 |
15 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} | 22 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
16 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} | 23 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
17 | 24 |