File python-toscawidgets-openlayers.spec of Package python-toscawidgets-openlayers
%define modname tw.openlayers
Name: python-toscawidgets-openlayers
Version: 0.8.4
Release: 1
Summary: ToscaWidgets Wrapper for the OpenLayers Javascript Library
URL: http://toscawidgets.org/
License: MIT
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires: python-devel python-toscawidgets
Requires: python-toscawidgets
%description
ToscaWidgets wrapper for the OpenLayers Javascript Library.
Authors:
--------
Sanjiv Singh <SinghSanjivK@gmail.com>
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog
* Tue Dec 09 2008 - James Oakley <jfunk@funktronics.ca> - 0.8.4-1
- Initial release