SPECS: compiz.spec - updated to 0.3.6 - kde decorator is now enabl...

qboosh qboosh at pld-linux.org
Sun Dec 31 17:40:08 CET 2006


Author: qboosh                       Date: Sun Dec 31 16:40:08 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.3.6
- kde decorator is now enabled by default (kde3 now)
- deal with gconf dependency in gtk decorator
- inotify plugin needs glibc 2.4
- install PLD image as pld.png, not novell.png (no references in sources anyway)

---- Files affected:
SPECS:
   compiz.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: SPECS/compiz.spec
diff -u SPECS/compiz.spec:1.54 SPECS/compiz.spec:1.55
--- SPECS/compiz.spec:1.54	Thu Nov 23 10:56:59 2006
+++ SPECS/compiz.spec	Sun Dec 31 17:40:03 2006
@@ -5,17 +5,17 @@
 %bcond_without	gtk		# gtk window decorator
 %bcond_without	gnome		# gnome settings module
 %bcond_without	metacity	# metacity theme support
-%bcond_with	kde		# kde-window-decorator (not working)
+%bcond_without	kde		# kde-window-decorator
 #
 Summary:	OpenGL window and compositing manager
 Summary(pl):	OpenGL-owy zarządca okien i składania
 Name:		compiz
-Version:	0.3.4
+Version:	0.3.6
 Release:	1
 License:	GPL or MIT
 Group:		X11/Applications
 Source0:	http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
-# Source0-md5:	101fd4a8fdb92caea6c10f6957273945
+# Source0-md5:	260b03fc9ae62ff1ad4e8c5e92d56180
 Source1:	%{name}-pld.png
 # Source1-md5:	3050dc90fd4e5e990bb5baeb82bd3c8a
 URL:		http://xorg.freedesktop.org/
@@ -28,6 +28,8 @@
 BuildRequires:	cairo-devel >= 1.0
 BuildRequires:	dbus-devel >= 0.35
 BuildRequires:	glib2-devel >= 2.0
+# <sys/inotify.h>
+BuildRequires:	glibc-devel >= 6:2.4
 BuildRequires:	glitz-devel
 BuildRequires:	intltool
 BuildRequires:	libpng-devel
@@ -56,9 +58,9 @@
 %endif
 %endif
 %if %{with kde}
-BuildRequires:	QtCore-devel
-BuildRequires:	QtGui-devel
-BuildRequires:	qt4-build
+BuildRequires:	dbus-qt-devel
+BuildRequires:	kdelibs-devel
+BuildRequires:	qt-devel >= 3.0
 %endif
 Requires(post,preun):	GConf2
 Conflicts:	xorg-xserver-xgl < 0.0.20060505
@@ -81,6 +83,7 @@
 Summary:	Header files for compiz
 Summary(pl):	Pliki nagłówkowe dla compiza
 Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
 # (by compiz.pc; header requires only: OpenGL-devel, startup-notification-devel, damageproto, xextproto, libX11-devel)
 Requires:	OpenGL-devel
 Requires:	libpng-devel
@@ -125,6 +128,9 @@
 Summary:	Window decorator for GTK+
 Summary(pl):	Dekorator okien dla GTK+
 Group:		X11/Applications
+%if %{with gconf}
+Requires(post,postun):	GConf2
+%endif
 Requires:	%{name} = %{version}-%{release}
 Obsoletes:	compiz-gnome-decorator
 
@@ -161,8 +167,8 @@
 	%{!?with_gconf:--disable-gconf} \
 	%{!?with_gnome:--disable-gnome} \
 	%{!?with_gtk:--disable-gtk} \
-	%{!?with_metacity:--disable-metacity} \
-	%{?with_kde:--enable-kde}
+	%{!?with_kde:--disable-kde} \
+	%{!?with_metacity:--disable-metacity}
 
 %{__make}
 
@@ -173,7 +179,7 @@
 	desktopfilesdir=%{_datadir}/wm-properties \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/compiz/novell.png
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/compiz/pld.png
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la
 
@@ -182,22 +188,28 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %post gconf
 %gconf_schema_install compiz.schemas
 
 %preun gconf
 %gconf_schema_uninstall compiz.schemas
 
+%if %{with gconf}
 %post gtk-decorator
 %gconf_schema_install gwd.schemas
 
 %preun gtk-decorator
 %gconf_schema_uninstall gwd.schemas
+%endif
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING COPYING.MIT ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/compiz
+%attr(755,root,root) %{_libdir}/libdecoration.so.*.*.*
 %dir %{_libdir}/compiz
 %attr(755,root,root) %{_libdir}/compiz/*.so
 %{?with_gconf:%exclude %{_libdir}/compiz/libgconf.so}
@@ -205,8 +217,11 @@
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdecoration.so
+%{_libdir}/libdecoration.la
 %{_includedir}/compiz
 %{_pkgconfigdir}/compiz.pc
+%{_pkgconfigdir}/libdecoration.pc
 
 %if %{with gconf}
 %files gconf
@@ -226,8 +241,10 @@
 %files gtk-decorator
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/gtk-window-decorator
+%if %{with gconf}
 %{_sysconfdir}/gconf/schemas/gwd.schemas
 %endif
+%endif
 
 %if %{with kde}
 %files kde-decorator
@@ -241,6 +258,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2006/12/31 16:40:03  qboosh
+- updated to 0.3.6
+- kde decorator is now enabled by default (kde3 now)
+- deal with gconf dependency in gtk decorator
+- inotify plugin needs glibc 2.4
+- install PLD image as pld.png, not novell.png (no references in sources anyway)
+
 Revision 1.54  2006/11/23 09:56:59  qboosh
 - updated to 0.3.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/compiz.spec?r1=1.54&r2=1.55&f=u



More information about the pld-cvs-commit mailing list