File Xsettings-client.spec of Package xsettings-client

# norootforbuild

Name:           libXsettings-client0
BuildRequires:  xorg-x11-devel

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

%description
Xsettings-client is a thingy

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

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

%prep
%setup -n Xsettings-client-%{version}

%build
autoreconf --force --install
%{?suse_update_config:%{suse_update_config -f}}
%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)
%{_libdir}/*.so.*

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

%changelog
* Thu Jun 17 2008 - Tuukka Pasanen <tuukka.pasanen@ilmi.fi> 0.10-1
- Made it compile on openSuSE 11.0. Renamed. 

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