File python-toscawidgets-mochikit.spec of Package python-toscawidgets-mochikit
%define modname tw.mochikit
Name: python-toscawidgets-mochikit
Version: 0.8
Release: 1
Summary: MochiKit 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 the MochiKit JavaScript library.
Authors:
--------
Alberto Valverde Gonzalez <alberto@toscat.net>
%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