%global modname tw2.polymaps Name: python-tw2-polymaps Version: 0.3 Release: 1%{?dist} Summary: Toscawidgets2 wrapper for polymaps - amazing javascript maps Group: Development/Libraries License: MIT URL: http://pypi.python.org/pypi/tw2.polymaps Source0: http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-tw2-core BuildRequires: python-geojson BuildRequires: python-markupsafe BuildRequires: python-mako Requires: python-tw2-core Requires: python-geojson Requires: python-markupsafe Requires: python-mako %description tw2.polymaps is a toscawidgets2 (tw2) wrapper for polymaps. toscawidgets2 (tw2) aims to be a practical and useful widgets framework that helps people build interactive websites with compelling features, faster and easier. Widgets are re-usable web components that can include a template, server-side code and JavaScripts/CSS resources. The library aims to be: flexible, reliable, documented, performant, and as simple as possible. polymaps is a JavaScript library for image- and vector-tiled maps using SVG. This module, tw2.polymaps, provides toscawidgets2 (tw2) widgets that render polymaps maps! %prep %setup -q -n %{modname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info rm -rf tw2/polymaps/static/polymaps/2.4.0/.DS_Store %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} %files %doc README.rst LICENSE.txt %{python_sitelib}/tw2/polymaps %{python_sitelib}/%{modname}-%{version}* %changelog * Wed Feb 27 2013 Ralph Bean - 0.3-1 - Initial package for Fedora