%{!?__python2: %global __python2 /usr/bin/python2} %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} Name: python-modestmaps Version: 1.4.6 Release: 2%{?dist} Summary: Modest Maps python port Group: Development/Libraries License: BSD URL: http://modestmaps.com Source0: https://pypi.python.org/packages/source/M/ModestMaps/ModestMaps-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel Requires: python-imaging %description Modest Maps is a small, extensible, and free library for designers and developers who want to use interactive maps in their own projects. It provides a core set of features in a tight, clean package with plenty of hooks for additional functionality. %prep %setup -qn ModestMaps-%{version} %build %{__python2} setup.py build %install %{__python2} setup.py install --skip-build --root %{buildroot} %files %{python2_sitelib}/ModestMaps %{python2_sitelib}/ModestMaps-%{version}-py?.?.egg-info %changelog * Fri Nov 28 2014 Scott K Logan - 1.4.6-2 - Clean-ups from package review * Sun Sep 28 2014 Scott K Logan - 1.4.6-1 - Initial package