Name: libcfg+ Version: 0.6.2 Release: 5mamba Summary: A C library that features multi- command line and configuration file parsing Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://platon.sk/projects/libcfg+ Source: http://platon.sk/upload/_projects/00003/%{name}-%{version}.tar.gz License: GPL BuildRequires: docbook >= 4.1.2 Provides: libcfg+.so BuildRoot: %{_tmppath}/%{name}-%{version}-root %description libcfg+ is a C library that features multi- command line and configuration file parsing. It is possible to set up various special properties such as quoting characters, deliminator strings, file comment prefixes, multi-line postfixes, and more. It supports many data types such as booleans, integers, decimal numbers, strings with many additional data type flags (such as multiple values for a single option). %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version} %description devel libcfg+ is a C library that features multi- command line and configuration file parsing. It is possible to set up various special properties such as quoting characters, deliminator strings, file comment prefixes, multi-line postfixes, and more. It supports many data types such as booleans, integers, decimal numbers, strings with many additional data type flags (such as multiple values for a single option). This package contains static libraries and header files need for development. %prep %setup -q %build %configure %make CFLAGS="%{optflags} -fpic -fPIC" \ CC="%{_host}-gcc" \ AR="%{_host}-ar" \ LD="%{_host}-ld" %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall # fixup strange shared library permissions chmod 755 %{buildroot}%{_libdir}/*.so* %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %{_libdir}/*.so %doc AUTHORS COPYING ChangeLog README TODO %files devel %defattr(-,root,root) %{_includedir}/*.h %{_includedir}/platon/*.h %{_libdir}/*.a %{_mandir}/man3/* %changelog * Sat Jul 26 2008 Silvan Calarco 0.6.2-5mamba - specfile updated * Wed May 10 2006 Stefano Cotta Ramusino 0.6.2-4qilnx - fixed strange shared library permissions * Wed Feb 15 2006 Davide Madrisan 0.6.2-3qilnx - build libraries in PIC mode * Tue Sep 14 2004 Davide Madrisan 0.6.2-2qilnx - moved libcfg+.so library from devel package to main package * Mon Sep 13 2004 Silvan Calarco 0.6.2-1qilnx - package created by autospec