Summary: 	Next generation window manager for xfce
Name: 		xfwm4
Version: 	@VERSION@
Release: 	1
License:	GPL
URL: 		http://www.xfce.org/
Source0: 	%{name}-%{version}.tar.gz
Group: 		User Interface/Desktops
BuildRoot: 	%{_tmppath}/%{name}-root
Requires:	gtk2
Requires:	glib2
Requires:	pango
BuildRequires: 	gtk2-devel >= 2.0.0
BuildRequires: 	glib2-devel >= 2.0.0
BuildRequires: 	pango-devel >= 1.0.0

%description
xfwm4 is a window manager compatable with GNOME, GNOME2, KDE2, KDE3 and Xfce.

%package themes
Summary:	Additionnal themes for xfwm4
Group:		User Interface/Desktops
Requires:	xfwm4
# This should be really noarch, but if I set noarch here, even the arch
# dependent stuff is marked as noarch, so... no noarch.
# BuildArch:	noarch

%description themes
Various themes for xfwm4.

%prep
%setup -q

%build
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc example.xfwm4rc example.gtkrc-2.0 README INSTALL TODO COPYING AUTHORS
%{_bindir}/*
%{_datadir}/xfwm4/defaults
%{_datadir}/xfwm4/themes/kindaker

%files themes
%defattr(-, root, root)
%{_datadir}/xfwm4/themes/agua
%{_datadir}/xfwm4/themes/coldsteel
%{_datadir}/xfwm4/themes/crux
%{_datadir}/xfwm4/themes/cruxish
%{_datadir}/xfwm4/themes/eazel-blue
%{_datadir}/xfwm4/themes/gtk
%{_datadir}/xfwm4/themes/kde
%{_datadir}/xfwm4/themes/linea
%{_datadir}/xfwm4/themes/mofit
%{_datadir}/xfwm4/themes/next
%{_datadir}/xfwm4/themes/oroborus
%{_datadir}/xfwm4/themes/platinum
%{_datadir}/xfwm4/themes/redmond
%{_datadir}/xfwm4/themes/redmondxp
%{_datadir}/xfwm4/themes/slick
%{_datadir}/xfwm4/themes/slimline
%{_datadir}/xfwm4/themes/trench
%{_datadir}/xfwm4/themes/xfce

