File python-kaa-imlib2.spec of Package python-kaa-imlib2

%define modname kaa-imlib2
Name:           python-%{modname}
Version:        0.2.3
Release:        1
Summary:        The Kaa Media Repository Imlib2 Library
URL:            http://www.freevo.org/kaa
License:        LGPL
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}.tar.bz2
Patch:          imlibver.diff
BuildRoot:      %{_tmppath}/%{name}-buildroot
%{py_requires}
Requires:       python-kaa-base
BuildRequires:  python-devel imlib2-devel python-kaa-base libpng-devel
BuildRequires:  freetype2-devel
BuildRequires:  xorg-x11-libXext-devel

%description
The Kaa Media Repository is a set of python modules related to media.
 
This module provides an interface to Imlib2.

Authors:
--------
    Jason Tackaberry <tack@sault.org>
    Dirk Meyer <dischi@freevo.org>
    Andreas B.sching <ab@bitkipper.net>

%prep
%setup -q -n %{modname}-%{version}
%patch -p1

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS COPYING README TODO
%dir %{py_sitedir}/kaa/imlib2

%changelog

* Thu Aug 28 2008 - James Oakley <jfunk@funktronics.ca> - 0.2.3-1
- Update to 0.2.3

* Sat May 05 2007 - James Oakley <jfunk@funktronics.ca> - 0.2.1-1
- Update to 0.2.1

* Tue Mar 06 2007 - James Oakley <jfunk@funktronics.ca> - 0.2.0-2
- Check for Imlib2 > 1.1.1 instead of 1.2.1 since I suspect it's a false
  dependency

* Mon Mar 05 2007 - James Oakley <jfunk@funktronics.ca> - 0.2.0-1
- Initial release
openSUSE Build Service is sponsored by