# # spec file for package compiz-extra-git (Version 070329) # # Copyright (c) 2006 CyberOrg # Released under the same license as the package sources. # Please submit bugfixes or comments via http://opencompositing.org # BuildRequires: Mesa-devel gcc-c++ gconf2-devel gtk2-devel librsvg-devel libwnck-devel metacity pango-devel perl-XML-Parser update-desktop-files xorg-x11-devel dbus-1-devel libjpeg-devel cairo-devel compiz-git-devel bcop perl-XML-Parser intltool libxslt-devel %if "%_repository" == "SUSE_Linux_10.1" || "%_repository" == "SLE_10" BuildRequires: xorg-x11-compat70-devel %endif Name: compiz-fusion-plugins-git Url: http://opencompositing.org License: GPL Packager: cyberorg - Group: System/GUI/Other PreReq: %fillup_prereq Requires: compiz-git Conflicts: compiz-extra compiz-extra-git Version: 0707023 Release: 1 Summary: Compiz-Fusion package with community contributed plugins. BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 Source: plugins-main.tar.bz2 Source1: plugins-extra.tar.bz2 Source2: plugins-unsupported.tar.bz2 Source3: atlantis.tar.bz2 Source4: 3d.tar.bz2 Source5: screensaver.tar.bz2 #Source6: shift.tar.bz2 Patch: fusion-airplane-anim.patch %description These are the experimental compiz packages containing plugins contributed by the community. Needs compiz-git package to use the plugins from this package. Authors: -------- David Reveman and the community at www.opencompositing.org %package devel Summary: Compiz-Fusion development files. Group: System/GUI/Other Requires: xorg-x11-libICE-devel xorg-x11-libXfixes-devel xorg-x11-libSM-devel xorg-x11-libXrender-devel xorg-x11-devel libpng-devel startup-notification-devel %name = %version Autoreqprov: on %description devel These are the experimental compiz-fusion packages containing plugins contributed by the community. Needs compiz-git package to use the plugins from this package. This package contains development files for compiz-fusion Authors: -------- David Reveman and the community at www.opencompositing.org %prep %setup -q -n . -D -T -b 0 -b 1 -b 2 -b 3 -b 4 -b 5 %if 0%{suse_version} <= 1020 %define _gnome_prefix /opt/gnome %else %define _gnome_prefix /usr %endif %define _gsysconfdir /etc%{_prefix} %patch -p1 %build [ "%buildroot" != "/" ] && [ -d %buildroot ] && rm -rf %buildroot # #### compiz-extra # export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$RPM_BUILD_ROOT/usr/%_lib/pkgconfig pushd plugins-extra/src/scalefilter ln -s ../../../plugins-main/include/text.h popd pushd plugins-extra/src/group ln -s ../../../plugins-main/include/text.h popd for i in plugins-main plugins-extra plugins-unsupported; do pushd $i export IMAGEDIR=%buildroot/%{_datadir}/compiz CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" \ ./autogen.sh --prefix=/usr --libdir=%{_libdir} make %{?jobs:-j%jobs} %makeinstall popd done pushd 3d CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" make %{?jobs:-j%jobs} make XMLDIR=%buildroot/%{_datadir}/compiz DESTDIR=%buildroot/%{_libdir}/compiz install popd pushd atlantis CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" make %{?jobs:-j%jobs} make XMLDIR=%buildroot/%{_datadir}/compiz DESTDIR=%buildroot/%{_libdir}/compiz install popd pushd screensaver CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" make %{?jobs:-j%jobs} make XMLDIR=%buildroot/%{_datadir}/compiz DESTDIR=%buildroot/%{_libdir}/compiz install popd %install %__install -d -m 755 %{buildroot}/var/adm/fillup-templates find %{buildroot} -type f -name "*.a" -o -name "*.la" | xargs rm -f rm -r %buildroot/usr/share/locale %post %run_ldconfig #./%{_gnome_prefix}/bin/gconftool-2 --shutdown #export GCONF_CONFIG_SOURCE=`./%{_prefix}/bin/gconftool-2 --get-default-source` #./%{_gnome_prefix}/bin/gconftool-2 --makefile-install-rule ./%{_gsysconfdir}/gconf/schemas/3d.schema >/dev/null %postun %run_ldconfig %clean %__rm -rf %{buildroot} %files %defattr(-, root, root) /usr/%_lib/compiz/* %{_datadir}/compiz/* %files devel %defattr(-, root, root) %_libdir/pkgconfig/*.pc %dir %_includedir/compiz %_includedir/compiz/*.h %changelog -n compiz-fusion-plugins-git * Tue Jul 24 2007 - cyberorg@cyberorg.info - remove shift switcher plugin it doesnt build without plugins-main-devel installed first - Add airplane animation - remove unnecessary build deps * Mon Jul 23 2007 - cyberorg@cyberorg.info - Sync with the latest git * Sun Jul 15 2007 - cyberorg@cyberorg.info - test group plugin * Sun Jul 08 2007 - cyberorg@cyberorg.info - 3D plugin from roico, maniac et al - Atlantis plugin from Onestone - Gears plugin from Onestone * Thu Jun 21 2007 - cyberorg@cyberorg.info - Initial spec