File python-kaa-display.spec of Package python-kaa-display
%define modname kaa-display
Name: python-%{modname}
Version: 0.1.0
Release: 1
Summary: Python API Providing Low Level Support for Various Displays
URL: http://www.freevo.org/kaa
License: LGPL
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
Requires: python-kaa-base python-kaa-imlib2 python-pygame
BuildRequires: imlib2-devel python-devel python-kaa-base python-kaa-imlib2
BuildRequires: python-pygame xorg-x11-devel
%description
Python API providing Low level support for various displays, such as X11 or
framebuffer.
Authors:
--------
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README TODO
%changelog
* Wed May 27 2009 - James Oakley <jfunk@funktronics.ca> - 0.1.0-1
- Initial release