3 %bcond_without gnome # don't build gnome-window-decorator
4 %bcond_with kde # build kde-window-decorator (currently not working)
6 Summary: OpenGL window and compositing manager
7 Summary(pl): OpenGL-owy zarz±dca okien i sk³adania
13 %define _snap 20060223
14 Source0: %{name}-%{_snap}.tar.bz2
15 # Source0-md5: 107d69d6f1575ebb104c0f78eff3298e
16 Patch0: %{name}-switcher-all-desktops.patch
17 BuildRequires: GConf2-devel
18 BuildRequires: OpenGL-devel
19 BuildRequires: glib2-devel
20 BuildRequires: libpng-devel
21 BuildRequires: libsvg-cairo-devel
22 BuildRequires: startup-notification-devel
23 BuildRequires: xorg-lib-libXcomposite
24 BuildRequires: xorg-lib-libXdamage
25 BuildRequires: xorg-lib-libXrandr
27 BuildRequires: avahi-glib-devel
28 BuildRequires: control-center-devel
29 BuildRequires: gnome-desktop-devel
30 BuildRequires: gnome-menus-devel
31 BuildRequires: libwnck-devel
34 BuildRequires: QtCore-devel
35 BuildRequires: QtGui-devel
36 BuildRequires: qt4-build
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Compiz is an OpenGL compositing manager that use
42 GLX_EXT_texture_from_pixmap for binding redirected top-level
43 windows to texture objects. It has a flexible plug-in system
44 and it is designed to run well on most graphics hardware.
47 Compiz jest OpenGL-owym zarz±dc± sk³adania, u¿ywaj±cym rozszerzenia
48 GLX_EXT_texture_from_pixmap w celu wi±zania przekierowanych okien
49 do tekstur. Posiada elastyczny system wtyczek i jest tak
50 zaprojektowany, by dobrze dzia³aæ na wiêkszo¶ci kart graficznych.
53 Summary: Header files for compiz
54 Summary(pl): Pliki nag³ówkowe dla compiza
56 Requires: %{name} = %{version}-%{release}
59 Header files for compiz.
61 %description devel -l pl
62 Pliki nag³ówkowe dla compiza.
64 %package gnome-settings
65 Summary: Compiz settings for gnome control panel
66 Summary(pl): Ustawienia compiza dla panelu sterowania gnome
68 Requires: %{name} = %{version}-%{release}
70 %description gnome-settings
71 Compiz settings for gnome control panel.
73 %description gnome-settings -l pl
74 Ustawienia compiza dla panelu sterowania gnome.
76 %package gnome-decorator
77 Summary: Window decorator for gnome
78 Summary(pl): Dekorator okien dla gnome
80 Requires: %{name} = %{version}-%{release}
82 %description gnome-decorator
83 Window decorator for gnome.
85 %description gnome-decorator -l pl
86 Dekorator okien dla gnome.
88 %package kde-decorator
89 Summary: Window decorator for KDE
90 Summary(pl): Dekorator okien dla KDE
92 Requires: %{name} = %{version}-%{release}
94 %description kde-decorator
95 Window decorator for KDE.
97 %description kde-decorator -l pl
98 Dekorator okien dla KDE.
101 %setup -q -n %{name}-%{_snap}
105 autoreconf -v --install
109 --enable-libsvg-cairo \
110 --%{?with_gnome:en}%{!?with_gnome:dis}able-gnome \
111 --%{?with_kde:en}%{!?with_kde:dis}able-kde
116 rm -rf $RPM_BUILD_ROOT
118 %{__make} install DESTDIR=$RPM_BUILD_ROOT
121 rm -rf $RPM_BUILD_ROOT
124 %defattr(644,root,root,755)
125 %doc AUTHORS ChangeLog README TODO
126 %attr(755,root,root) %{_bindir}/compiz
127 %dir %{_libdir}/compiz
128 %attr(755,root,root) %{_libdir}/compiz/*.so
130 %{_datadir}/gnome/wm-properties/*
133 %defattr(644,root,root,755)
134 %{_includedir}/compiz
138 %files gnome-settings
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_libdir}/window-manager-settings/*.so
142 %files gnome-decorator
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_bindir}/gnome-window-decorator
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_bindir}/kde-window-decorator