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
Requires:	libxfcegui4 >= 0.0.3
# BuildRequires: 	autoconf >= 2.52
BuildRequires: 	gtk2-devel >= 2.0.0
BuildRequires: 	glib2-devel >= 2.0.0
BuildRequires: 	pango-devel >= 1.0.0
BuildRequires: 	libxfcegui4-devel >= 0.0.7

%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/default.keys
%{_datadir}/xfwm4/themes/adept
%{_datadir}/xfwm4/themes/atlanta
%{_datadir}/xfwm4/themes/bbs
%{_datadir}/xfwm4/themes/curve
%{_datadir}/xfwm4/themes/elberg
%{_datadir}/xfwm4/themes/exocet
%{_datadir}/xfwm4/themes/kindaker

%files themes
%defattr(-, root, root)
%{_datadir}/xfwm4/themes/agua
%{_datadir}/xfwm4/themes/b5
%{_datadir}/xfwm4/themes/b6
%{_datadir}/xfwm4/themes/biz
%{_datadir}/xfwm4/themes/coldsteel
%{_datadir}/xfwm4/themes/coolclean
%{_datadir}/xfwm4/themes/crux
%{_datadir}/xfwm4/themes/cruxish
%{_datadir}/xfwm4/themes/eazel-blue
%{_datadir}/xfwm4/themes/g2
%{_datadir}/xfwm4/themes/gnububble
%{_datadir}/xfwm4/themes/gorilla
%{_datadir}/xfwm4/themes/gtk
%{_datadir}/xfwm4/themes/iceg
%{_datadir}/xfwm4/themes/kde
%{_datadir}/xfwm4/themes/linea
%{_datadir}/xfwm4/themes/metabox
%{_datadir}/xfwm4/themes/microgui
%{_datadir}/xfwm4/themes/mofit
%{_datadir}/xfwm4/themes/next
%{_datadir}/xfwm4/themes/oroborus
%{_datadir}/xfwm4/themes/ops
%{_datadir}/xfwm4/themes/pills
%{_datadir}/xfwm4/themes/piranha
%{_datadir}/xfwm4/themes/platinum
%{_datadir}/xfwm4/themes/quiet-purple
%{_datadir}/xfwm4/themes/quinx
%{_datadir}/xfwm4/themes/r9x
%{_datadir}/xfwm4/themes/redmond
%{_datadir}/xfwm4/themes/redmondxp
%{_datadir}/xfwm4/themes/retro
%{_datadir}/xfwm4/themes/silverado
%{_datadir}/xfwm4/themes/slick
%{_datadir}/xfwm4/themes/slimline
%{_datadir}/xfwm4/themes/tabs
%{_datadir}/xfwm4/themes/tgc
%{_datadir}/xfwm4/themes/trench
%{_datadir}/xfwm4/themes/tux
%{_datadir}/xfwm4/themes/variation
%{_datadir}/xfwm4/themes/xfce

