From c809a71448b4a2315b7e7dd219b244cc36b23c98 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:01:56 +0100 Subject: [PATCH] automatic update by autodist [release 0.7.2-1mamba;Sat Jul 17 2010] --- README.md | 4 ++ libmcs.spec | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 libmcs.spec diff --git a/README.md b/README.md index 5422262..4381509 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libmcs +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. + diff --git a/libmcs.spec b/libmcs.spec new file mode 100644 index 0000000..1f20e82 --- /dev/null +++ b/libmcs.spec @@ -0,0 +1,113 @@ +Name: libmcs +Version: 0.7.2 +Release: 1mamba +Summary: A configuration file abstraction library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://atheme.org/projects/mcs.shtml +Source: http://distfiles.atheme.org/libmcs-%{version}.tgz +#http://archive.ubuntu.com/ubuntu/pool/universe/m/mcs/mcs_%{version}.orig.tar.gz +#http://distfiles.atheme.org/libmcs-0.6.0.tgz http://hg.atheme.org/ +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libmowgli1-devel +BuildRequires: libmowgli-devel +## AUTOBUILDREQ-END +# for version GNOME +#BuildRequires: kdelibs-devel +BuildRequires: GConf-devel +BuildRequires: ORBit2-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +mcs is a library and set of userland tools which abstract the storage of configuration settings away from userland applications. +This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. + +%package tools +Group: Development/Tools +Summary: Tools for the maintenance of the %{name} system +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +mcs is a library and set of userland tools which abstract the storage of configuration settings away from userland applications. +This package contains a set of tools to deal with mcs managed configurations and the mcs system itself. + +%prep +%setup +## my notes +## if you need the version for GNOME change disable-gconf with enable-gconf, enable-kconfig with disable-kconfig +## and echo -n "kconfig" >mcs-backend with echo -n "gconf" >mcs-backend and remove with-kde-path=%{_kdeprefix} +echo -n "kconfig" >mcs-backend + +%build +%configure \ + --disable-dependency-tracking \ + --disable-gconf \ + --enable-kconfig + +# --with-qt-path=%{_qt3_prefix} \ +# --with-kde-path=%{_kdeprefix} \ + +%make PLUGIN_CPPFLAGS="-I%{_qt3_headerdir} -I%{_kdeincludedir}/" + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall DESTDIR=%{buildroot} +mkdir -p %{buildroot}%{_sysconfdir} +%{__install} -m0644 mcs-backend %{buildroot}%{_sysconfdir}/mcs-backend + + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libmcs.so.* +%dir %{_libdir}/mcs +%{_libdir}/mcs/*.so +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libmcs +%{_includedir}/libmcs/mcs.h +%{_libdir}/libmcs.so +%{_libdir}/pkgconfig/libmcs.pc +%doc README TODO + +%files tools +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/mcs-backend +%{_bindir}/mcs-getconfval +%{_bindir}/mcs-info +%{_bindir}/mcs-query-backends +%{_bindir}/mcs-setconfval +%{_bindir}/mcs-walk-config + +%changelog +* Sat Jul 17 2010 Automatic Build System 0.7.2-1mamba +- automatic update by autodist + +* Tue Sep 02 2008 gil 0.7.1-1mamba +- update to 0.7.1 +- changed configure options +- added devel tools + +* Mon May 12 2008 gil 0.6.0-1mamba +- package created by autospec