3 %bcond_without gconf # don't build gconf plugin
4 %bcond_without gnome # don't build gnome-window-decorator
5 %bcond_with kde # build kde-window-decorator (not working)
9 Summary: OpenGL window and compositing manager
10 Summary(pl): OpenGL-owy zarz±dca okien i sk³adania
16 Source0: %{name}-%{_snap}.tar.bz2
17 # Source0-md5: b71bb228ddee511f16278916d26570a7
18 Source1: %{name}-pld.png
19 # Source1-md5: 3050dc90fd4e5e990bb5baeb82bd3c8a
20 Patch0: %{name}-minimize-scaler-mod.patch
21 %if %{with gconf} || %{with gnome}
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: glib2-devel >= 2.0
28 BuildRequires: glitz-devel
29 BuildRequires: intltool
30 BuildRequires: libpng-devel
31 BuildRequires: libsvg-cairo-devel
32 BuildRequires: libtool
33 BuildRequires: pkgconfig
34 BuildRequires: startup-notification-devel >= 0.7
35 BuildRequires: xorg-lib-libSM-devel
36 BuildRequires: xorg-lib-libXcomposite-devel
37 BuildRequires: xorg-lib-libXdamage-devel
38 BuildRequires: xorg-lib-libXrandr-devel
39 BuildRequires: xorg-lib-libXres-devel
41 BuildRequires: control-center-devel >= 2.0
42 BuildRequires: gnome-desktop-devel >= 2.0
43 BuildRequires: gnome-menus-devel
44 BuildRequires: gtk+2-devel >= 2:2.8.0
45 BuildRequires: libwnck-devel >= 2.14.1-2
48 BuildRequires: QtCore-devel
49 BuildRequires: QtGui-devel
50 BuildRequires: qt4-build
52 Requires(post,preun): GConf2
53 Conflicts: xorg-xserver-xgl < 0.0.20060505
54 Obsoletes: compiz-opacity
55 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 Compiz is an OpenGL compositing manager that use
59 GLX_EXT_texture_from_pixmap for binding redirected top-level windows
60 to texture objects. It has a flexible plug-in system and it is
61 designed to run well on most graphics hardware.
64 Compiz jest OpenGL-owym zarz±dc± sk³adania, u¿ywaj±cym rozszerzenia
65 GLX_EXT_texture_from_pixmap w celu wi±zania przekierowanych okien do
66 tekstur. Posiada elastyczny system wtyczek i jest tak zaprojektowany,
67 by dobrze dzia³aæ na wiêkszo¶ci kart graficznych.
70 Summary: Header files for compiz
71 Summary(pl): Pliki nag³ówkowe dla compiza
73 # (by compiz.pc; header requires only: OpenGL-devel, startup-notification-devel, damageproto, xextproto, libX11-devel)
74 Requires: OpenGL-devel
75 Requires: libpng-devel
76 Requires: startup-notification-devel >= 0.7
77 Requires: xorg-lib-libSM-devel
78 Requires: xorg-lib-libXcomposite-devel
79 Requires: xorg-lib-libXdamage-devel
80 Requires: xorg-lib-libXrandr-devel
83 Header files for compiz.
85 %description devel -l pl
86 Pliki nag³ówkowe dla compiza.
88 %package gnome-settings
89 Summary: Compiz settings for gnome control panel
90 Summary(pl): Ustawienia compiza dla panelu sterowania gnome
92 Requires: %{name} = %{version}-%{release}
94 %description gnome-settings
95 Compiz settings for gnome control panel.
97 %description gnome-settings -l pl
98 Ustawienia compiza dla panelu sterowania gnome.
100 %package gnome-decorator
101 Summary: Window decorator for gnome
102 Summary(pl): Dekorator okien dla gnome
104 Requires: %{name} = %{version}-%{release}
106 %description gnome-decorator
107 Window decorator for gnome.
109 %description gnome-decorator -l pl
110 Dekorator okien dla gnome.
112 %package kde-decorator
113 Summary: Window decorator for KDE
114 Summary(pl): Dekorator okien dla KDE
116 Requires: %{name} = %{version}-%{release}
118 %description kde-decorator
119 Window decorator for KDE.
121 %description kde-decorator -l pl
122 Dekorator okien dla KDE.
125 %setup -q -n %{name}-%{_snap}
126 # doesn't apply anymore
130 autoreconf -v --install
131 ln -s ../po config/po
134 sed -i -e 's/^mkinstalldirs.*/MKINSTALLDIRS=mkdir -p/' po/Makefile.in.in
139 --enable-libsvg-cairo \
140 %{!?with_gconf:--disable-gconf} \
141 --%{?with_gnome:en}%{!?with_gnome:dis}able-gnome \
142 --%{?with_kde:en}%{!?with_kde:dis}able-kde
147 rm -rf $RPM_BUILD_ROOT
150 DESTDIR=$RPM_BUILD_ROOT
152 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/compiz/novell.png
154 rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la
157 rm -rf $RPM_BUILD_ROOT
160 %gconf_schema_install compiz.schemas
163 %gconf_schema_uninstall compiz.schemas
166 %defattr(644,root,root,755)
167 %doc AUTHORS ChangeLog README TODO
168 %attr(755,root,root) %{_bindir}/compiz
169 %dir %{_libdir}/compiz
170 %attr(755,root,root) %{_libdir}/compiz/*.so
173 %{_datadir}/gnome/wm-properties/*
175 %{_sysconfdir}/gconf/schemas/compiz.schemas
178 %defattr(644,root,root,755)
179 %{_includedir}/compiz
180 %{_pkgconfigdir}/compiz.pc
183 %files gnome-settings
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/window-manager-settings/*.so
187 %files gnome-decorator
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_bindir}/gnome-window-decorator
194 %defattr(644,root,root,755)
195 %attr(755,root,root) %{_bindir}/kde-window-decorator