Info2: << Package: libmpc2%type_pkg[-64bit] Version: 0.9 Revision: 2 Type: -64bit (boolean) Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = -64bit ) i386 Maintainer: David Fang Source: http://www.multiprecision.org/mpc/download/mpc-%v.tar.gz Source-MD5: 0d6acab8d214bd7d1fbbc593e83dd00d License: LGPL Homepage: http://www.multiprecision.org/ Description: %type_pkg[-64bit] Multi-precision complex lib DescDetail: << MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as MPFR. . The library is written by Andreas Enge, Philippe Th\'{e}veny and Paul Zimmermann and is distributed under the Gnu Lesser General Public License, either version 2.1 of the licence, or (at your option) any later version. The Mpc library has been registered in France by the Agence pour la Protection des Programmes on 2003-02-05 under the number IDDN FR 001 060029 000 R P 2003 000 10000. << # DescPort: DescPackaging: << Versions 0.8.x build against gmp 4.3.x and libmpfr1 2.4.x Versions 0.9.x build against gmp5 5.0.x and libmpfr4 3.0.x, but still work with gmp 4.3.x and libmpfr1 2.4.x 5.0.5-3 includes a patch for powerpc asm that fixes tpow << BuildDepends: gmp5%type_pkg[-64bit] (>= 5.0.3-3), libmpfr4%type_pkg[-64bit] Depends: %N-shlibs (= %v-%r), ( %type_raw[-64bit] = -64bit ) 64bit-cpu BuildDependsOnly: true Conflicts: libmpc2, libmpc2-64bit, libmpc3, libmpc3-64bit Replaces: libmpc2, libmpc2-64bit, libmpc3, libmpc3-64bit ConfigureParams: << --infodir=%p/share/info \ --with-gmp=%p \ --with-mpfr=%p \ -C << UseMaxBuildJobs: true CompileScript: << #! /bin/sh -ev mkdir build cd build if [ "%type_raw[-64bit]" != "." ]; then export CC="gcc -m64" fi ../configure %c --libdir='${prefix}/%lib' make << InfoTest: << TestScript: << #!/bin/sh -ev cd build make -k check || exit 2 << TestSuiteSize: small << InstallScript: << #/bin/sh -ev cd build && make DESTDIR=%d install << DocFiles: COPYING.LIB AUTHORS NEWS README TODO InfoDocs: mpc.info SplitOff: << Package: %N-shlibs Depends: gmp5%type_pkg[-64bit]-shlibs (>= 5.0.3-3), libmpfr4%type_pkg[-64bit]-shlibs, ( %type_raw[-64bit] = -64bit ) 64bit-cpu Files: %lib/libmpc.*.dylib Shlibs: %p/%lib/libmpc.2.dylib 3.0.0 %n (>= 0.8-1) %type_num[-64bit] DocFiles: COPYING.LIB << <<