--- /dev/null
+Summary: OpenGL window and compositing manager
+Summary(pl): OpenGL-owy mened¿er okien i kompozycji
+Name: compiz
+Version: 0.0.3
+Release: 1
+License: GPL/MIT
+Group: X11
+%define _snap 20060220
+Source0: %{name}-%{_snap}.tar.bz2
+# Source0-md5: 32d9d09cecfe9dbee1f0fd2cfd8d39b1
+BuildRequires: xorg-lib-libXext-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Compiz is an OpenGL compositing manager that use
+GLX_EXT_texture_from_pixmap for binding redirected top-level
+windows to texture objects. It has a flexible plug-in system
+and it is designed to run well on most graphics hardware.
+
+%prep
+%setup -q -n %{name}-%{_snap}
+
+%build
+autoreconf -v --install
+
+# kde is not really ready
+%configure \
+ --enable-svg \
+ --enable-libsvg-cairo \
+ --enable-gnome
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/compiz
+%attr(755,root,root) %{_libdir}/compiz/*.so
+%attr(755,root,root) %{_libdir}/window-manager-settings/*.so
+%{_datadir}/compiz
+
+# TODO: devel package