%bcond_without gnome # don't build gnome-window-decorator
%bcond_with kde # build kde-window-decorator (currently not working)
#
+%define _snap 20060331
+#
Summary: OpenGL window and compositing manager
Summary(pl): OpenGL-owy zarz±dca okien i sk³adania
Name: compiz
-Version: 0.0.5
-Release: 2
+Version: 0.0.7
+Release: 1.%{_snap}.1
License: GPL/MIT
Group: X11
-%define _snap 20060303
Source0: %{name}-%{_snap}.tar.bz2
-# Source0-md5: 41917dac89790d83f9d1d634f2491858
+# Source0-md5: b42d03bf0625cb32cd8f6f24a6028f2c
Patch0: %{name}-switcher-all-desktops.patch
+Patch1: %{name}-minimize-scaler-mod.patch
%if %{with gconf} || %{with gnome}
BuildRequires: GConf2-devel >= 2.0
%endif
BuildRequires: libpng-devel
BuildRequires: libsvg-cairo-devel
BuildRequires: libtool
+BuildRequires: pkgconfig
BuildRequires: startup-notification-devel >= 0.7
BuildRequires: xorg-lib-libSM-devel
BuildRequires: xorg-lib-libXcomposite-devel
BuildRequires: QtGui-devel
BuildRequires: qt4-build
%endif
+Obsoletes: compiz-opacity
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q -n %{name}-%{_snap}
%patch0 -p1
+%patch1 -p0
%build
autoreconf -v --install