File compiz-plugins-dmx.spec of Package compiz-plugins-dmx
#
# spec file for package compiz-plugins-dmx (Version 0.1.0)
#
# 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-plugins-dmx
BuildRequires: compiz-bcop compiz-kde intltool xorg-x11-devel
BuildRequires: compiz-devel >= 0.7.7
%if "%_repository" == "SUSE_Linux_10.1" || "%_repository" == "SLE_10"
BuildRequires: xorg-x11-compat70-devel
%endif
Url: http://www.compiz.org
License: X11/MIT
Group: System/GUI/Other
PreReq: %fillup_prereq
Requires: compiz
Version: 0.1.0
Release: 8
Summary: Compiz DMX plugins
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64
Source: dmx.tar.bz2
Source1: hidedesktop.tar.bz2
Patch: dmx-NOMAD.diff
Patch1: hidedesktop-NOMAD.diff
#%define _libsuffix %(echo %_lib | cut -b4-)
%gconf_schemas_prereq
%description
This package contains compiz DMX plugins.
Authors:
--------
David Reveman
%prep
%setup -q -c -n dmx -a 1
pushd dmx
%patch -p1
popd
pushd hidedesktop
%patch1 -p1
popd
%build
pushd dmx
make
popd
pushd hidedesktop
make
popd
%install
pushd dmx
install -D -m 755 build/.libs/libdmx.so %buildroot%_libdir/compiz/libdmx.so
install -D -m 644 build/dmx.xml %buildroot%_datadir/compiz/dmx.xml
install -D -m 644 build/compiz-dmx.schema %buildroot/etc/gconf/schemas/compiz-dmx.schemas
popd
pushd hidedesktop
install -D -m 755 build/.libs/libhidedesktop.so %buildroot%_libdir/compiz/libhidedesktop.so
install -D -m 644 build/hidedesktop.xml %buildroot%_datadir/compiz/hidedesktop.xml
install -D -m 644 build/compiz-hidedesktop.schema %buildroot/etc/gconf/schemas/compiz-hidedesktop.schemas
popd
%find_gconf_schemas
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans
%clean
%__rm -rf %{buildroot}
%files -f %{name}.schemas_list
%defattr(-, root, root)
%{_libdir}/compiz/
%{_datadir}/compiz/
%changelog
* Wed Nov 26 2008 davidr@novell.com
- Fix window movement bug in hidedesktop plugin.
* Mon Nov 24 2008 davidr@novell.com
- Enable hidedesktop plugin again.
* Fri Nov 21 2008 davidr@novell.com
- Disable hidedesktop plugin until build issues have been
resolved.
* Fri Nov 21 2008 davidr@novell.com
- Workaround problem with lack of seamless mode by including
hidedesktop plugin.
* Tue Nov 18 2008 davidr@novell.com
- Update dmx-NOMAD.diff
* Fix background drawing when no desktop window exists.
* Mon Nov 17 2008 davidr@novell.com
- Update dmx-NOMAD.diff
* Fix another clipping issue.
* Fri Nov 14 2008 davidr@novell.com
- Update dmx-NOMAD.diff
* Fix DMX root window clipping.
* Wed Oct 15 2008 davidr@novell.com
- Add patch dmx-NOMAD.diff
* Detect active window properly.
* Fix root window detection.
* Fix unload crash.
* Add missing metadata.
* Fix compositing manager detection.
* Tue Sep 30 2008 hfiguiere@suse.de
- Fix gconf packaging.
* Wed Sep 10 2008 hfiguiere@suse.de
- Initial release.