File libmcs.spec of Package libmcs

#
# spec file for package libmcs (Version 0.4.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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:           libmcs
Summary:        library/tools to abstract the storage of configuration settings
Version:        0.4.1
Release:        1
License:        BSD License and BSD-like
Group:          System/Libraries
Source:         http://sacredspiral.co.uk/~nenolod/mcs/mcs-%{version}.tgz
URL:            http://sacredspiral.co.uk/~nenolod/mcs/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
It is hoped that by using mcs, that the applications which use it will
generally have a more congruent feeling in regards to settings.

There have been other projects like this before (such as GConf), but
unlike those projects, mcs strictly handles abstraction. It does not
impose any specific data storage requirement, nor is it tied to any
desktop environment or software suite.



Authors:
--------
    William Pitcock <nenolod -at- sacredspiral.co.uk>

%package devel
Summary:        Include Files and Libraries mandatory for Development
Group:          System/Libraries
Requires:       %{name} = %{version}

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



Authors:
--------
    William Pitcock <nenolod -at- sacredspiral.co.uk>

%prep
%setup -q -n mcs-%{version}

%build
%configure
make VERBOSE=1

%install
%makeinstall

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README TODO
%{_bindir}/mcs-getconfval
%{_bindir}/mcs-info
%{_bindir}/mcs-query-backends
%{_bindir}/mcs-setconfval
%{_libdir}/mcs
%{_libdir}/libmcs.so.1
%{_libdir}/libmcs.so.1.0.0

%files devel
%defattr(-,root,root)
%{_includedir}/libmcs
%{_libdir}/pkgconfig/libmcs.pc
%{_libdir}/libmcs.so

%changelog
* Wed Apr 18 2007 - hvogel@suse.de
- Initial package, version 0.4.1