%define name python2.4-glpk %define dname python-glpk %define version 0.5 %define py_sitedir /usr/lib/python2.4/site-packages Summary: Python extension module for GLPK Name: %{name} Version: %{version} Release: %mkrel 1 License: GPL URL: http://www.nexedi.com/ Group: Development/Python Source0: python-glpk-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: python2.4 >= 2.2, python2.4-ctypes BuildArch: noarch %description A extension module for GNU Linear Programming Kit to Python. %prep %setup -q -n %{dname}-%{version} %build python2.4 setup.py build %install rm -rf %{buildroot} python2.4 setup.py install --root=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc PKG-INFO README %{py_sitedir}/glpk.py* %changelog * Tue Nov 20 2007 Kazuhiko Shiozaki 0.5-1mdv2007.1 - New release 0.5 - Rewrite with ctypes instead of swig * Wed Aug 8 2007 Kazuhiko Shiozaki 0.4-3.1mdv2007.1 - Requires libglpk < 4.15 * Sun Dec 05 2004 Michael Scherer 0.4-3mdk - Requires changed to libglpk-devel for 64bit compatibility * Sun Dec 05 2004 Michael Scherer 0.4-2mdk - Rebuild for new python * Mon Sep 6 2004 Yoshinori Okuji 0.4-1mdk - updated to use libglpk4.7 * Wed Feb 27 2004 Sebastien Robin 0.3-1mdk - updated to use libglpk4.4 * Tue Oct 21 2003 Yoshinori OKUJI 0.2-1nxd - new upstream release * Mon Oct 20 2003 Yoshinori OKUJI 0.1-1nxd - initial version