Name: libmpc2 Version: 0.8.1 Release: 5mamba Summary: A C library for the arithmetic of complex numbers Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.multiprecision.org/ Source: http://www.multiprecision.org/mpc/download/mpc-%{version}.tar.gz Patch0: libmpc-0.8.1-gmp501.patch License: LGPL Requires(post):%{__install_info} ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgmp-devel BuildRequires: libmpfr-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. This package contains static libraries and header files need for development. %prep %setup -q -n mpc-%{version} %patch0 -p1 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel %install_info mpc.info exit 0 %preun devel %uninstall_info mpc.info exit 0 %files %defattr(-,root,root) %{_libdir}/libmpc.so.* %doc AUTHORS COPYING.LIB %files devel %defattr(-,root,root) %dir %{_includedir} %{_libdir}/libmpc.a %{_libdir}/libmpc.la %{_libdir}/libmpc.so %{_includedir}/*.h %{_infodir}/mpc.info.gz %doc NEWS README TODO %changelog * Sat May 11 2013 Silvan Calarco 0.8.1-5mamba - rebuilt as legacy package * Thu Jul 15 2010 Automatic Build System 0.8.1-4mamba - automatic rebuild by autodist * Thu Jul 15 2010 Automatic Build System 0.8.1-3mamba - automatic rebuild by autodist * Mon Jul 12 2010 Automatic Build System 0.8.1-2mamba - automatic rebuild by autodist * Sat May 08 2010 Silvan Calarco 0.8.1-1mamba - package created by autospec