File compiz-plugin-photowheel.spec of Package compiz-plugin-photowheel
#
# spec file for package compiz-plugin-photowheel
#
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands
# Released under the same license as the package sources.
# Please submit bugfixes or comments via http://opencompositing.org
#
Name: compiz-plugin-photowheel
Version: 0.8.6.git
Release: 1.1
License: GPL v2 or later
Summary: Draw a photo wheel inside cube
Url: http://www.compiz-fusion.org
Group: System/GUI/Other
Source: %{name}.tar.bz2
BuildRequires: compiz-bcop
BuildRequires: compiz-devel
BuildRequires: pkg-config
Requires: compiz
Requires: compiz-fusion-plugins-main
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%description
An unsupported plugin for compiz:
photowheel: Draws a photo wheel inside cube
%prep
%setup -q -n %{name}
%build
make
%install
make XMLDIR=%buildroot/%_datadir/compiz DESTDIR=%{buildroot}%{_libdir}/compiz install
%clean
%__rm -rf %{buildroot}
%files
%defattr(-, root, root)
%{_datadir}/compiz/photo.xml
%{_libdir}/compiz/libphoto.so
%changelog