File python-toscawidgets-yui.spec of Package python-toscawidgets-yui
%define modname tw.yui
Name: python-toscawidgets-yui
Version: 0.1
%define extraver a0
Release: 1
Summary: ToscaWidgets Wrapper for the Yahoo! User Interface Library
URL: http://www.toscawidgets.org/
License: MIT
Group: Development/Libraries/Python
Source: %{modname}-%{version}%{extraver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires: python-devel python-toscawidgets
Requires: python-toscawidgets
%description
ToscaWidgets wrapper for the Yahoo! User Interface Library.
Authors:
--------
Christopher Perkins <chris@percious.com>
%prep
%setup -q -n %{modname}-%{version}%{extraver}
%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.1-1
- Initial release