File compiz-fusion-plugins-extra.spec of Package compiz-fusion-plugins-extra
#
# spec file for package compiz-fusion-plugins-extra (Version 0.7.8 )
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: compiz-fusion-plugins-extra
BuildRequires: Mesa-devel cairo-devel compiz-bcop compiz-devel compiz-fusion-plugins-main-devel compiz-gnome dbus-1-devel gcc-c++ gconf2-devel glibc-devel gnome-desktop-devel gtk2-devel intltool libjpeg-devel libnotify-devel librsvg-devel libwnck-devel libxslt-devel linux-kernel-headers pango-devel perl-XML-Parser update-desktop-files xorg-x11-devel
%if "%_repository" == "SUSE_Linux_10.1" || "%_repository" == "SLE_10"
BuildRequires: xorg-x11-compat70-devel
%endif
%if %suse_version <= 1021
BuildRequires: gconf2-rpm-macros
%endif
Url: http://opencompositing.org
License: GPL v2 or later
Group: System/X11/Utilities
PreReq: %fillup_prereq
Requires: compiz compiz-fusion-plugins-main
Conflicts: compiz-extra compiz-extra-git
Version: 0.7.8
Release: 2
Summary: Compiz-Fusion community extra plugins
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64
Source: %{name}-%{version}.tar.bz2
Patch: compiz-plugins-extra-defaults.diff
Patch1: plugins-extra-NOMAD.diff
%define gnome_prefix %(pkg-config --variable=prefix gnome-desktop-2.0)
%if "%gnome_prefix" == "/usr"
%define gnome_etc /etc
%else
%define gnome_etc /etc%gnome_prefix
%endif
%define _libsuffix %(echo %_lib | cut -b4-)
%gconf_schemas_prereq
%description
This package contains Compiz-Fusion community extra plugins.
Contains: addhelper crashhandler extrawm firepaint goto-viewport
mswitch scalefilter splash bench cubereflex fadedesktop gears group
mblur reflex showdesktop trailfocus.
Authors:
--------
David Reveman and the Compiz-Fusion community
%package devel
License: GPL v2 or later
Summary: Compiz-Fusion community extra plugins
Group: System/X11/Utilities
Requires: compiz-fusion-plugins-main-devel
AutoReqProv: on
%description devel
This package contains Compiz-Fusion community extra plugins.
Contains: addhelper crashhandler extrawm firepaint goto-viewport
mswitch scalefilter splash bench cubereflex fadedesktop gears group
mblur reflex showdesktop trailfocus.
Authors:
--------
David Reveman and the Compiz-Fusion community
%prep
%setup -q -n %{name}-%{version}
%patch -p1
%patch1 -p1
%build
#
#### plugins-extra
#
export IMAGEDIR=%buildroot/%{_datadir}/compiz
%configure --enable-schemas --with-gconf-schema-file-dir=%gnome_etc/gconf/schemas --disable-schemas-install
#mkdir BUILD
#pushd BUILD
#cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=%_libsuffix -DCF_DISABLE_SCHEMAS_INSTALL=TRUE -DCF_INSTALL_GCONF_SCHEMA_DIR=%gnome_etc/gconf/schemas -d ../
make %{?jobs:-j%jobs}
#popd
%install
#pushd BUILD
%makeinstall
#popd
find %{buildroot} -type f -name "*.a" -o -name "*.la" | xargs rm -f
#remove locale data as it is not required anymore, translations are merged in .xml and .schemas
rm -r %buildroot/usr/share/locale
#mv %gnome_etc/gconf/schemas/*.schema %gnome_etc/gconf/schemas/*.schemas
%find_gconf_schemas
#cat %{name}.schemas_list
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans
%clean
%__rm -rf %{buildroot}
%files -f %{name}.schemas_list
%defattr(-, root, root)
%{_libdir}/compiz/*
%{_datadir}/compiz/*
%files devel
%defattr(-, root, root)
%{_includedir}/compiz/compiz-animationaddon.h
%{_libdir}/pkgconfig/compiz-animationaddon.pc
%changelog
* Tue Nov 18 2008 davidr@novell.com
- Update NOMAD patch to track changes to NOMAD patch
for compiz core.
* Mon Sep 29 2008 rodrigo@novell.com
- Review and merge changes from X11:Compiz
* Thu Sep 18 2008 cyberorg@opensuse.org
- Patch compiz-plugins-extra-defaults.diff
* Tue Sep 16 2008 cyberorg@opensuse.org
- Release 0.7.8
- New animationaddon plugin
- l10n updates
- Fix a lot of mem leaks
- Merged cubecaps plugin functianality
- Add -devel package
* Tue Jul 01 2008 mhopf@suse.de
- Update from buildservice.
* Fri May 30 2008 cyberorg@opensuse.org
- New plugin: Cube Addon, a merge of Cube Reflections and Cube Caps, adding
new Cylinder and Sphere deformations
- New plugin: Wallpaper, sets unique wallpapers per viewport. Replaces the
Background images functionality in Desktop Cube.
* Sat May 03 2008 cyberorg@opensuse.org
- add libnotify build requirement.
* Mon Apr 14 2008 mhopf@suse.de
- Update from buildservice.
* Wed Apr 02 2008 cyberorg@cyberorg.info
- 0.7.4 release
- new bicubic plugin
- Add option to ignore windows overlapping too much
- Enable 3d only if s->hsize is bigger than 2
- ActivateWindow is now wrappable
* Thu Mar 06 2008 cyberorg@opensuse.org
- 0.7.2 development release
- 3d: Adds depth to your desktop by raising windows in layers off the cube
- loginout: Provides a simple system to implement login and logout animations
- maximumize: Resizes a window to fit within the available empty screen space
- notification: Displays error messages on the screen with libnotify
- shelf: Shrinks a window to a preset size for monitoring many windows at once
- showmouse: Paints particle emitters that orbit the mouse pointer to make it
more visible
* Fri Feb 22 2008 cyberorg@cyberorg.info
- remove provides/obsoletes, fixes bnc #362640
* Thu Feb 07 2008 cyberorg@cyberorg.info
- sync to latest git
- BiswajyotiM's fishes and corals in cube
- New plugins shelf, maximumize, loginout, showmouse, and notification
- 3D plugin with colored sides
* Mon Dec 03 2007 cyberorg@cyberorg.info
- sync to latest git
- atlantis now with water and crabs
* Mon Oct 15 2007 cyberorg@cyberorg.info
- Update to release 0.6.0
* Thu Aug 23 2007 cyberorg@cyberorg.info
- Sync to the latest git.
- new action settings rework
- Remove screensaver plugin
* Tue Aug 21 2007 cyberorg@cyberorg.info
- Add %%post and %%postun to run ldconfig- shut rpmlint up
* Sun Aug 12 2007 cyberorg@cyberorg.info
- Update to 0.5.2 release.
- New plugin - widget
- Add missing artwork
* Mon Aug 06 2007 dreveman@suse.de
- Initial version of package