File matchbox-desktop.spec of Package matchbox-desktop

#
# spec file for package matchbox-desktop
#
# 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-desktop
BuildRequires:  pkgconfig libmatchbox-devel
BuildRequires:  startup-notification-devel

Summary:        A window manager for small X apps
Version:        0.9.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
%package devel
Summary:        Development package for matchbox-desktop
Group:          Development/Libraries/C and C++
Requires:       matchbox-desktop = %{version}
Requires:	libmatchbox-devel startup-notification-devel pkgconfig

%description devel
This package contains the files needed to compile programs that use the
libmatchbox library.


%prep
%setup

%build
autoreconf --force --install
%{?suse_update_config:%{suse_update_config -f}}
%configure --enable-dnotify --enable-startup-notification
make

%install
%makeinstall
find "$RPM_BUILD_ROOT"

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

%files
%defattr(-, root, root)
%doc COPYING NEWS README
%{_bindir}/*
%dir %{_libdir}/matchbox/desktop
%{_libdir}/matchbox/desktop/*.so
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_sysconfdir}/matchbox/*

%files devel
%defattr(-, root, root)
%{_includedir}/matchbox-desktop
%{_libdir}/matchbox/desktop/*.*a
%{_libdir}/pkgconfig/*

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