File python-toscawidgets-dojo.spec of Package python-toscawidgets-dojo
%define modname tw.dojo
Name: python-toscawidgets-dojo
Version: 0.8
Release: 1
Summary: Dojo 1.1 Widget for ToscaWidgets
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 Dojo javascript toolkit.
Authors:
--------
Michele Bertoldi <michele@vico10.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
* Mon Dec 08 2008 - James Oakley <jfunk@funktronics.ca> - 0.8-1
- Initial release