File libXsettings-client0.spec of Package xsettings-client

# spec file for package libXsettings-client0
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           libXsettings-client0
Version:        0.10
Release:        1
License:        GPL-2.0+
Summary:        A Client for Xsettings
Group:          System/Libraries
Source:         Xsettings-client-%{version}.tar.bz2
BuildRequires:  xorg-x11-devel
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Xsettings-client is a thingy client for Xsettings.

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

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

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

autoreconf --force --install
make %{?_smp_mflags}


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

test %{buildroot} != "/" -a -d %{buildroot} && rm -rf %{buildroot}

%defattr(-, root, root)

%files devel
%defattr(-, root, root)