rpms/mcs/FC-6 mcs.spec,NONE,1.1 sources,1.1,1.2

Ralf Ertzinger (ertzing) fedora-extras-commits at redhat.com
Mon Apr 16 11:07:24 UTC 2007


Author: ertzing

Update of /cvs/extras/rpms/mcs/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6544

Modified Files:
	sources 
Added Files:
	mcs.spec 
Log Message:

- Import into FC-6



--- NEW FILE mcs.spec ---
Name:           mcs
Version:        0.4.1
Release:        3%{?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 <libmcs/mcs_config.h>,,' $RPM_BUILD_ROOT%{_includedir}/libmcs/mcs.h

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
echo "gconf" > $RPM_BUILD_ROOT%{_sysconfdir}/mcs-backend
chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/mcs-backend



%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
%config(noreplace) %{_sysconfdir}/mcs-backend
%{_libdir}/*.so.*
%{_libdir}/mcs

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

%changelog
* Thu Apr 12 2007 Ralf Ertzinger <ralf at skytale.net> 0.4.1-3.fc6
- Mark config file as such

* Sun Apr 08 2007 Ralf Ertzinger <ralf at skytale.net> 0.4.1-2.fc6
- Add %%{_sysconfdir}/mcs-backend to select default storage backend as gconf

* Mon Apr 02 2007 Ralf Ertzinger <ralf at camperquake.de> 0.4.1-1.fc6
- Initial build for FE


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mcs/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Apr 2007 01:06:21 -0000	1.1
+++ sources	16 Apr 2007 11:06:50 -0000	1.2
@@ -0,0 +1 @@
+d09b42e9d51ea32c6326f0bbcad86c9e  mcs-0.4.1.tgz




More information about the fedora-extras-commits mailing list