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: 79b7329372ce4015c7e0ec226370cec6
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: fam-devel
28 BuildRequires: glib2-devel >= 2.0
29 BuildRequires: glitz-devel
30 BuildRequires: intltool
31 BuildRequires: libpng-devel
32 BuildRequires: libsvg-cairo-devel
33 BuildRequires: libtool
34 BuildRequires: pkgconfig
35 BuildRequires: startup-notification-devel >= 0.7
36 BuildRequires: xorg-lib-libSM-devel
37 BuildRequires: xorg-lib-libXcomposite-devel
38 BuildRequires: xorg-lib-libXdamage-devel
39 BuildRequires: xorg-lib-libXrandr-devel
40 BuildRequires: xorg-lib-libXres-devel
42 BuildRequires: control-center-devel >= 2.0
43 BuildRequires: gnome-desktop-devel >= 2.0
44 BuildRequires: gnome-menus-devel
45 BuildRequires: gtk+2-devel >= 2:2.8.0
46 BuildRequires: libwnck-devel >= 2.14.1-2
49 BuildRequires: QtCore-devel
50 BuildRequires: QtGui-devel
51 BuildRequires: qt4-build
53 Requires(post,preun): GConf2
54 Conflicts: xorg-xserver-xgl < 0.0.20060505
55 Obsoletes: compiz-opacity
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59 Compiz is an OpenGL compositing manager that use
60 GLX_EXT_texture_from_pixmap for binding redirected top-level windows
61 to texture objects. It has a flexible plug-in system and it is
62 designed to run well on most graphics hardware.
65 Compiz jest OpenGL-owym zarz±dc± sk³adania, u¿ywaj±cym rozszerzenia
66 GLX_EXT_texture_from_pixmap w celu wi±zania przekierowanych okien do
67 tekstur. Posiada elastyczny system wtyczek i jest tak zaprojektowany,
68 by dobrze dzia³aæ na wiêkszo¶ci kart graficznych.
71 Summary: Header files for compiz
72 Summary(pl): Pliki nag³ówkowe dla compiza
74 # (by compiz.pc; header requires only: OpenGL-devel, startup-notification-devel, damageproto, xextproto, libX11-devel)
75 Requires: OpenGL-devel
76 Requires: libpng-devel
77 Requires: startup-notification-devel >= 0.7
78 Requires: xorg-lib-libSM-devel
79 Requires: xorg-lib-libXcomposite-devel
80 Requires: xorg-lib-libXdamage-devel
81 Requires: xorg-lib-libXrandr-devel
84 Header files for compiz.
86 %description devel -l pl
87 Pliki nag³ówkowe dla compiza.
89 %package gnome-settings
90 Summary: Compiz settings for gnome control panel
91 Summary(pl): Ustawienia compiza dla panelu sterowania gnome
93 Requires: %{name} = %{version}-%{release}
95 %description gnome-settings
96 Compiz settings for gnome control panel.
98 %description gnome-settings -l pl
99 Ustawienia compiza dla panelu sterowania gnome.
101 %package gnome-decorator
102 Summary: Window decorator for gnome
103 Summary(pl): Dekorator okien dla gnome
105 Requires: %{name} = %{version}-%{release}
107 %description gnome-decorator
108 Window decorator for gnome.
110 %description gnome-decorator -l pl
111 Dekorator okien dla gnome.
113 %package kde-decorator
114 Summary: Window decorator for KDE
115 Summary(pl): Dekorator okien dla KDE
117 Requires: %{name} = %{version}-%{release}
119 %description kde-decorator
120 Window decorator for KDE.
122 %description kde-decorator -l pl
123 Dekorator okien dla KDE.
126 %setup -q -n %{name}-%{_snap}
127 # doesn't apply anymore
131 autoreconf -v --install
132 ln -s ../po config/po
135 sed -i -e 's/^mkinstalldirs.*/MKINSTALLDIRS=mkdir -p/' po/Makefile.in.in
140 --enable-libsvg-cairo \
141 %{!?with_gconf:--disable-gconf} \
142 --%{?with_gnome:en}%{!?with_gnome:dis}able-gnome \
143 --%{?with_kde:en}%{!?with_kde:dis}able-kde
148 rm -rf $RPM_BUILD_ROOT
151 desktopfilesdir=%{_datadir}/wm-properties \
152 DESTDIR=$RPM_BUILD_ROOT
154 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/compiz/novell.png
156 rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la
159 rm -rf $RPM_BUILD_ROOT
162 %gconf_schema_install compiz.schemas
165 %gconf_schema_uninstall compiz.schemas
168 %defattr(644,root,root,755)
169 %doc AUTHORS ChangeLog README TODO
170 %attr(755,root,root) %{_bindir}/compiz
171 %dir %{_libdir}/compiz
172 %attr(755,root,root) %{_libdir}/compiz/*.so
175 %{_datadir}/wm-properties/*
177 %{_sysconfdir}/gconf/schemas/compiz.schemas
180 %defattr(644,root,root,755)
181 %{_includedir}/compiz
182 %{_pkgconfigdir}/compiz.pc
185 %files gnome-settings
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/window-manager-settings/*.so
189 %files gnome-decorator
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_bindir}/gnome-window-decorator
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_bindir}/kde-window-decorator