]> git.pld-linux.org Git - packages/compiz.git/blobdiff - compiz.spec
- separated svg plugin to get rid of GNOME dependency in PLD builds
[packages/compiz.git] / compiz.spec
index 104d4f05803834f81d003228624b7471c3d51cc0..f874d180eed495bb9811045878fd8d67f28ba65c 100644 (file)
@@ -10,21 +10,22 @@ Summary:    OpenGL window and compositing manager
 Summary(pl.UTF-8):     OpenGL-owy zarządca okien i składania
 Name:          compiz
 Version:       0.6.2
-Release:       1
+Release:       2
 License:       GPL or MIT
 Group:         X11/Applications
 Source0:       http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.gz
 # Source0-md5: 7e6edfdbf0dc46b135313440edae7a53
 Patch0:                %{name}-DESTDIR.patch
-URL:           http://xorg.freedesktop.org/
+URL:           http://compiz.org/
 %if %{with gconf} || %{with gtk}
 BuildRequires: GConf2-devel >= 2.0
 %endif
-BuildRequires: Mesa-libGL-devel >= 6.5-1.20060411.2
+BuildRequires: OpenGL-devel >= 2.1
+BuildRequires: OpenGL-GLU-devel
 BuildRequires: autoconf >= 2.57
-BuildRequires: automake
+BuildRequires: automake >= 1:1.7
 BuildRequires: cairo-devel >= 1.0
-BuildRequires: dbus-devel >= 0.35
+BuildRequires: dbus-glib-devel
 BuildRequires: glib2-devel >= 2.0
 # <sys/inotify.h>
 BuildRequires: glibc-devel >= 6:2.4
@@ -33,8 +34,10 @@ BuildRequires:       libfuse-devel >= 2.2
 BuildRequires: libpng-devel
 BuildRequires: librsvg-devel >= 1:2.14.0
 BuildRequires: libtool
+BuildRequires: libxml2-devel
 BuildRequires: libxcb-devel
 BuildRequires: libxslt-devel
+BuildRequires: libxslt-progs
 BuildRequires: pkgconfig
 BuildRequires: startup-notification-devel >= 0.7
 BuildRequires: xorg-lib-libSM-devel
@@ -46,7 +49,6 @@ BuildRequires:        xorg-lib-libXres-devel
 %if %{with gtk}
 BuildRequires: gtk+2-devel >= 2:2.8.0
 BuildRequires: libwnck-devel >= 2.18.1
-BuildRequires: pango-devel >= 1.10.0
 BuildRequires: xorg-lib-libXrender-devel >= 0.9.3
 %if %{with gnome}
 BuildRequires: control-center-devel >= 2.0
@@ -54,7 +56,7 @@ BuildRequires:        gnome-desktop-devel >= 2.0
 BuildRequires: gnome-menus-devel
 %endif
 %if %{with metacity}
-BuildRequires: metacity-devel >= 2.17.0
+BuildRequires: metacity-devel >= 2.18.0
 %endif
 %endif
 %if %{with kde}
@@ -65,6 +67,7 @@ BuildRequires:        qt-devel >= 1:3.0
 %endif
 Requires:      %{name}-libs = %{version}-%{release}
 Obsoletes:     beryl-core
+Obsoletes:     compiz-kconfig
 Obsoletes:     compiz-opacity
 Conflicts:     xorg-xserver-xgl < 0.0.20060505
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -100,6 +103,7 @@ Requires:   %{name}-libs = %{version}-%{release}
 # (by compiz.pc; header requires only: OpenGL-devel, startup-notification-devel, damageproto, xextproto, libX11-devel)
 Requires:      OpenGL-devel
 Requires:      libpng-devel
+Requires:      libxslt-devel
 Requires:      startup-notification-devel >= 0.7
 Requires:      xorg-lib-libSM-devel
 Requires:      xorg-lib-libXcomposite-devel
@@ -140,6 +144,18 @@ GConf plugin for Compiz (GConf control backend).
 %description gconf -l pl.UTF-8
 Wtyczka GConf dla Compiza (backend sterujący oparty na GConfie).
 
+%package svg
+Summary:       SVG plugin for Compiz
+Summary(pl.UTF-8):     Wtyczka SVG dla Compiza
+Group:         X11/Applications
+Requires:      %{name} = %{version}-%{release}
+
+%description svg
+SVG image loader plugin for Compiz.
+
+%description svg -l pl.UTF-8
+Wtyczka wczytująca obrazy SVG dla Compiza.
+
 %package gnome-settings
 Summary:       Compiz settings for GNOME control panel
 Summary(pl.UTF-8):     Ustawienia compiza dla panelu sterowania GNOME
@@ -183,7 +199,7 @@ Window decorator for KDE.
 Dekorator okien dla KDE.
 
 # for gconf subpackage
-%define        plugins annotate blur clone core cube dbus decoration fade fs gconf glib ini inotify kconfig minimize move place plane png regex resize rotate scale screenshot svg switcher video water wobbly zoom
+%define        plugins annotate blur clone core cube dbus decoration fade fs gconf glib ini inotify minimize move place plane png regex resize rotate scale screenshot svg switcher video water wobbly zoom
 
 %prep
 %setup -q
@@ -253,13 +269,16 @@ done
 %attr(755,root,root) %{_libdir}/compiz/*.so
 %exclude %{_libdir}/compiz/libfs.so
 %{?with_gconf:%exclude %{_libdir}/compiz/libgconf.so}
+%exclude %{_libdir}/compiz/libsvg.so
 %{_datadir}/compiz
 %exclude %{_datadir}/compiz/fs.xml
 %exclude %{_datadir}/compiz/gconf.xml
+%exclude %{_datadir}/compiz/svg.xml
 
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libdecoration.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdecoration.so.0
 %dir %{_libdir}/compiz
 
 %files devel
@@ -289,10 +308,17 @@ done
 %{_pkgconfigdir}/compiz-gconf.pc
 %endif
 
+%files svg
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/compiz/libsvg.so
+%{_datadir}/compiz/gconf.xml
+
 %if %{with gnome} && %{with gtk}
 %files gnome-settings
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/window-manager-settings/libcompiz.so
+%{_datadir}/gnome-control-center/keybindings/50-compiz-desktop-key.xml
+%{_datadir}/gnome-control-center/keybindings/50-compiz-key.xml
 %{_datadir}/wm-properties/compiz.desktop
 %endif
 
This page took 0.037096 seconds and 4 git commands to generate.