File matchbox-window-manager.spec of Package matchbox-window-manager

#
# spec file for package matchbox-window-manager
#
# Copyright (c) 2007 Novell Canada Ltd., Ottawa, Ontario.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           matchbox-window-manager
BuildRequires:  pkgconfig libmatchbox-devel xorg-x11-devel expat
BuildRequires:  startup-notification-devel gconf2-devel

Summary:        A window manager for small X apps
Version:        1.1
Release:        0.1pzb
License:        GPL
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
URL:            http://projects.o-hand.com/matchbox/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build


%description
tiny window manager


Authors:
--------
    Matthew Allum <mallum@openedhand.com>

%debug_package
%prep
%setup

%build
autoreconf --force --install
%{?suse_update_config:%{suse_update_config -f}}
%configure --enable-composite --enable-startup-notification --enable-expat --enable-gconf --enable-session  
make

%install
%makeinstall
find "$RPM_BUILD_ROOT"

%post
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source` 
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/metacity.schemas >/dev/null

%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT

%files -f %{name}.schemas
%defattr(-, root, root)
%doc COPYING NEWS README
%{_bindir}/*
%{_datadir}/matchbox
%{_datadir}/themes/*/matchbox

%changelog
* Sat Jan 27 2007 - pzb@novell.com
- Import into build service
openSUSE Build Service is sponsored by