Name: mcs Version: 0.4.1 Release: 0.2%{?dist} Summary: A configuration file abstraction library Group: Applications/System License: BSD URL: http://sacredspiral.co.uk/~nenolod/mcs/ Source0: http://sacredspiral.co.uk/~nenolod/mcs/mcs-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: GConf2-devel %description mcs is a library and set of userland tools which abstract the storage of configuration settings away from userland applications. 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. %package libs Summary: Library files for the mcs configuration system Group: System Environment/Libraries %description libs mcs is a library and set of userland tools which abstract the storage of configuration settings away from userland applications. 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. This package contains the libraries necessary for programs using mcs. %package devel Summary: Development files for the mcs configuration system Group: Development/Libraries Requires: mcs-libs = %{version}-%{release} Requires: pkgconfig %description devel mcs is a library and set of userland tools which abstract the storage of configuration settings away from userland applications. 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. This package contains the files necessary for writing programs that use mcs. %prep %setup -q %build %configure \ --enable-gconf \ --disable-dependency-tracking make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT%{_includedir}/libmcs/mcs_config.h sed -i -e 's,^#include ,,' $RPM_BUILD_ROOT%{_includedir}/libmcs/mcs.h %clean rm -rf $RPM_BUILD_ROOT %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/* %files libs %defattr(-,root,root,-) %doc AUTHORS COPYING GIT-Access README TODO %{_libdir}/*.so.* %{_libdir}/mcs %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_includedir}/libmcs %{_libdir}/pkgconfig/libmcs.pc %changelog * Wed Mar 14 2007 Ralf Ertzinger 0.4.1-1.fc7 - Initial build for FE