File Xsettings-client.spec of Package xsettings-client

#
# spec file for package Xsettings-client
#
# Copyright (c) 2006 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:           libXsettings-client0
BuildRequires:  xorg-x11-devel

Summary:        A Client for Xsettings
Version:        0.10
Release:        0.1pzb
License:        GPL
Group:          System/Libraries
Source:         %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Xsettings-client is a thingy

%debug_package
%package -n libXsettings-client-devel
Summary:        Development package for the Xsettings-client library
Group:          Development/Libraries/C and C++
Requires:       Xsettings-client = %{version}

%description -n libXsettings-client-devel
This package contains the files needed to compile programs that use the
Xsettings-client library.

%prep
%setup

%build
%configure
make

%install
%makeinstall

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

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

%files
%defattr(-, root, root)
%doc COPYING NEWS README
%{_libdir}/*.so.*

%files -n libXsettings-client-devel
%defattr(-, root, root)
%{_libdir}/*.*a
%{_libdir}/*.so
%{_includedir}/*

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