%define version 2.4
%define release alt2
Summary: PyPanel lightweight panel/taskbar
Name: PyPanel
Version: %version
Release: %release
Source0: PyPanel-%version.tar.gz
License: GPL
Group: Graphical desktop/Other
Url: http://pypanel.sourceforge.net/

# Automatically added by buildreq on Sun Dec 25 2005
BuildRequires: XFree86-devel fontconfig-devel freetype2-devel imlib2-devel python-base python-dev python-module-xlib python-modules-compiler python-modules-encodings zlib-devel

%description
PyPanel is a lightweight panel/taskbar written in Python and C for X11 window
managers.  It can be easily customized to match any desktop theme or taste.
PyPanel works with WindowMaker and EWMH compliant WMs (Kahakai, Openbox, FVWM,
PekWM, etc). 

%prep
%setup -q -n PyPanel-%version

%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build

%install
%__python setup.py install \
          --root=%buildroot \
	  --optimize=2 \
	  --record=INSTALLED_FILES

%clean

%files -f INSTALLED_FILES
%doc COPYING README

%changelog
* Sun Dec 19 2004 Eugene Prokopiev <eugene_prokopiev@mail.ru> 0.12-alt1
- Initial build
