Name: libiniparser Version: 3.1 Release: 1mamba Summary: A free stand-alone ini file parsing library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://ndevilla.free.fr/iniparser/ Source: http://ndevilla.free.fr/iniparser/iniparser-%{version}.tar.gz Patch: %{name}-2.15-shared-library.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Libiniparser offers parsing of ini files from the C level. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Libiniparser offers parsing of ini files from the C level. This package contains static libraries and header files need for development. %prep %setup -q -n iniparser %build %make %make check %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d %{buildroot}%{_includedir} \ %{buildroot}%{_libdir} install -m 0755 libiniparser.{a,so.0} %{buildroot}%{_libdir} install -m 0644 src/{dictionary,iniparser}.h %{buildroot}%{_includedir} ln -s libiniparser.so.0 %{buildroot}%{_libdir}/libiniparser.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libiniparser.so.* %doc AUTHORS LICENSE %files devel %defattr(-,root,root) %{_includedir}/dictionary.h %{_includedir}/iniparser.h %{_libdir}/libiniparser.a %{_libdir}/libiniparser.so %doc README html %changelog * Sat Dec 01 2012 Automatic Build System 3.1-1mamba - update to 3.1 * Sat May 23 2009 Davide Madrisan 3.0b-1mamba - update to 3.0b * Tue Sep 12 2006 Davide Madrisan 2.15-1qilnx - package created by autospec