3 %bcond_without gconf # gconf plugin
4 %bcond_without gtk # gtk window decorator
5 %bcond_without gnome # gnome settings module
6 %bcond_without metacity # metacity theme support
7 %bcond_with kde # kde-window-decorator (not working)
9 Summary: OpenGL window and compositing manager
10 Summary(pl): OpenGL-owy zarz±dca okien i sk³adania
15 Group: X11/Applications
16 Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
17 # Source0-md5: 101fd4a8fdb92caea6c10f6957273945
18 Source1: %{name}-pld.png
19 # Source1-md5: 3050dc90fd4e5e990bb5baeb82bd3c8a
20 URL: http://xorg.freedesktop.org/
21 %if %{with gconf} || %{with gtk}
22 BuildRequires: GConf2-devel >= 2.0
24 BuildRequires: Mesa-libGL-devel >= 6.5-1.20060411.2
25 BuildRequires: autoconf >= 2.57
26 BuildRequires: automake
27 BuildRequires: cairo-devel >= 1.0
28 BuildRequires: dbus-devel >= 0.35
29 BuildRequires: glib2-devel >= 2.0
30 BuildRequires: glitz-devel
31 BuildRequires: intltool
32 BuildRequires: libpng-devel
33 BuildRequires: librsvg-devel >= 2.14.0
34 BuildRequires: libtool
35 BuildRequires: pkgconfig
36 BuildRequires: startup-notification-devel >= 0.7
37 BuildRequires: xorg-lib-libSM-devel
38 BuildRequires: xorg-lib-libXcomposite-devel
39 BuildRequires: xorg-lib-libXdamage-devel
40 BuildRequires: xorg-lib-libXinerama-devel
41 BuildRequires: xorg-lib-libXrandr-devel
42 BuildRequires: xorg-lib-libXres-devel
44 BuildRequires: gtk+2-devel >= 2:2.8.0
45 BuildRequires: libwnck-devel >= 2.14.1-2
46 BuildRequires: pango-devel >= 1.10.0
47 BuildRequires: xorg-lib-libXrender-devel >= 0.8.4
49 BuildRequires: control-center-devel >= 2.0
50 BuildRequires: gnome-desktop-devel >= 2.0
51 BuildRequires: gnome-menus-devel
54 BuildRequires: metacity-devel >= 2.15.21
58 BuildRequires: QtCore-devel
59 BuildRequires: QtGui-devel
60 BuildRequires: qt4-build
62 Requires(post,preun): GConf2
63 Conflicts: xorg-xserver-xgl < 0.0.20060505
64 Obsoletes: compiz-opacity
65 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
68 Compiz is an OpenGL compositing manager that use
69 GLX_EXT_texture_from_pixmap for binding redirected top-level windows
70 to texture objects. It has a flexible plug-in system and it is
71 designed to run well on most graphics hardware.
74 Compiz jest OpenGL-owym zarz±dc± sk³adania, u¿ywaj±cym rozszerzenia
75 GLX_EXT_texture_from_pixmap w celu wi±zania przekierowanych okien do
76 tekstur. Posiada elastyczny system wtyczek i jest tak zaprojektowany,
77 by dobrze dzia³aæ na wiêkszo¶ci kart graficznych.
80 Summary: Header files for compiz
81 Summary(pl): Pliki nag³ówkowe dla compiza
82 Group: X11/Development/Libraries
83 # (by compiz.pc; header requires only: OpenGL-devel, startup-notification-devel, damageproto, xextproto, libX11-devel)
84 Requires: OpenGL-devel
85 Requires: libpng-devel
86 Requires: startup-notification-devel >= 0.7
87 Requires: xorg-lib-libSM-devel
88 Requires: xorg-lib-libXcomposite-devel
89 Requires: xorg-lib-libXdamage-devel
90 Requires: xorg-lib-libXinerama-devel
91 Requires: xorg-lib-libXrandr-devel
94 Header files for compiz.
96 %description devel -l pl
97 Pliki nag³ówkowe dla compiza.
100 Summary: GConf plugin for Compiz
101 Summary(pl): Wtyczka GConf dla Compiza
102 Group: X11/Applications
103 Requires: %{name} = %{version}-%{release}
106 GConf plugin for Compiz.
108 %description gconf -l pl
109 Wtyczka GConf dla Compiza.
111 %package gnome-settings
112 Summary: Compiz settings for GNOME control panel
113 Summary(pl): Ustawienia compiza dla panelu sterowania GNOME
114 Group: X11/Applications
115 Requires: %{name} = %{version}-%{release}
117 %description gnome-settings
118 Compiz settings for GNOME control panel.
120 %description gnome-settings -l pl
121 Ustawienia compiza dla panelu sterowania GNOME.
123 %package gtk-decorator
124 Summary: Window decorator for GTK+
125 Summary(pl): Dekorator okien dla GTK+
126 Group: X11/Applications
127 Requires: %{name} = %{version}-%{release}
128 Obsoletes: compiz-gnome-decorator
130 %description gtk-decorator
131 Window decorator for GTK+.
133 %description gtk-decorator -l pl
134 Dekorator okien dla GTK+.
136 %package kde-decorator
137 Summary: Window decorator for KDE
138 Summary(pl): Dekorator okien dla KDE
139 Group: X11/Applications
140 Requires: %{name} = %{version}-%{release}
142 %description kde-decorator
143 Window decorator for KDE.
145 %description kde-decorator -l pl
146 Dekorator okien dla KDE.
160 %{!?with_gconf:--disable-gconf} \
161 %{!?with_gnome:--disable-gnome} \
162 %{!?with_gtk:--disable-gtk} \
163 %{!?with_metacity:--disable-metacity} \
164 %{?with_kde:--enable-kde}
169 rm -rf $RPM_BUILD_ROOT
172 desktopfilesdir=%{_datadir}/wm-properties \
173 DESTDIR=$RPM_BUILD_ROOT
175 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/compiz/novell.png
177 rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la
182 rm -rf $RPM_BUILD_ROOT
185 %gconf_schema_install compiz.schemas
188 %gconf_schema_uninstall compiz.schemas
191 %gconf_schema_install gwd.schemas
194 %gconf_schema_uninstall gwd.schemas
196 %files -f %{name}.lang
197 %defattr(644,root,root,755)
198 %doc AUTHORS COPYING COPYING.MIT ChangeLog NEWS README TODO
199 %attr(755,root,root) %{_bindir}/compiz
200 %dir %{_libdir}/compiz
201 %attr(755,root,root) %{_libdir}/compiz/*.so
202 %{?with_gconf:%exclude %{_libdir}/compiz/libgconf.so}
206 %defattr(644,root,root,755)
207 %{_includedir}/compiz
208 %{_pkgconfigdir}/compiz.pc
212 %defattr(644,root,root,755)
213 %attr(755,root,root) %{_libdir}/compiz/libgconf.so
214 %{_sysconfdir}/gconf/schemas/compiz.schemas
218 %files gnome-settings
219 %defattr(644,root,root,755)
220 %attr(755,root,root) %{_libdir}/window-manager-settings/*.so
221 %{_datadir}/wm-properties/compiz.desktop
226 %defattr(644,root,root,755)
227 %attr(755,root,root) %{_bindir}/gtk-window-decorator
228 %{_sysconfdir}/gconf/schemas/gwd.schemas
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_bindir}/kde-window-decorator