Summary: GNU arbitrary precision library Summary(de): Beliebige Genauigkeits-Library Summary(fr): Bibliothèque de calcul de précision Summary(pl): Biblioteka arytmetyczna GNU Summary(uk): â¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ Summary(ru): âÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ Summary(pt_BR): Biblioteca de precisão arbitrária da GNU Summary(es): Biblioteca de precisión arbitraria de la GNU Name: gmp Version: 2.0.2 Release: 15 License: LGPL Group: Libraries Group(de): Libraries Group(es): Bibliotecas Group(fr): Librairies Group(pl): Biblioteki Group(pt_BR): Bibliotecas Group(es): Bibliotecas Source0: ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz Patch0: %{name}-shared.patch Patch1: http://www.swox.com/gmp/mpf-conversions.diff.gz Patch2: http://www.swox.com/gmp/%{name}2.0.2p2.txt Patch3: http://www.swox.com/gmp/%{name}2.0.2p3.txt Patch4: http://www.swox.com/gmp/%{name}2.0.2p4.txt Patch5: http://www.swox.com/gmp/%{name}2.0.2p5.txt Patch6: http://www.swox.com/gmp/%{name}2.0.2p6.txt Patch7: http://www.swox.com/gmp/%{name}2.0.2p7.txt Patch8: http://www.swox.com/gmp/%{name}2.0.2p8.txt Patch9: http://www.swox.com/gmp/%{name}2.0.2p9.txt Patch10: %{name}-powerpc.patch Patch11: %{name}-info.patch Patch12: %{name}-DESTDIR.patch Patch13: %{name}-sparc.patch URL: http://www.swox.com/gmp/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The gmp package contains GNU MP, a library for arbitrary precision arithmetic, signed integers operations, rational numbers and floating point numbers. GNU MP is designed for speed, for both small and very large operands. GNU MP is fast for several reasons: It uses fullwords as the basic arithmetic type, it uses fast algorithms, it carefully optimizes assembly code for many CPUs' most common inner loops and it generally emphasizes speed over simplicity/elegance in its operations. Install the gmp package if you need a fast arbitrary precision library. %description -l de Das gmp-paket enthält GNU MP, eine Library für Arithmetik bei beliebiger Genauigkeit, Operationen mit Intergern mit Vorzeichen, Rationale Zahlen, und Floating Point-Zahlen. GNU MP wurde für Geschwindigkeit sowohl für kleine als auch für sehr große Operanden optimiert. GNU MP ist aus mehreren Gründen schnell: Es benutzt fullwords als grundlegenden Arithmetik-Typ, benutzt schnelle Algorithmen, und benutzt Assembler-Code für verschiedene CPUs, und legt mehr Wert auf Geschwindigkeit als auf Einfachheit der Funktionen. Installieren Sie das gmp-Paket, wenn Sie eine schnelle Library für beliebige Genauigket brauchen. %description -l fr Ce package contient la bibliothèque GNU MP. Cette dernière permet de calculer avec une grande précision sur des nombres entiers, rationnels ou même des fractions, signés ou non. GNU MP a été conçue pour être rapide pour les petits nombres ainsi que les très grands grâce à plusieurs techniques (calcul sur plusieurs chiffres hexa simultanés, algorithmes optimisés, utilisation de l'assembleur pour les routines critiques) parfois au détriment de la simplicité ou l'élégance. Installez ce package si vous avez besoin d'une bibliothèque de calcul de précision rapide %description -l pl Pakiet zawiera bibliotekê arytmetyczn± wysokiej precyzji. Daje ona dostêp do szerokiego grona szybkich funkcji arytmetycznych dzia³aj±cych na liczbach ca³kowitych, rzeczywistych i zmiennoprzecinkowych. %description -l uk ㊦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦. ú¦ÒËÁ ÐÒÏÇÒÁÍ Ú ÎÅÀ ÎÁÄÁ¤ ÃÉÍ ÐÒÏÇÒÁÍÁÍ ÄÏÓÔÕÐ ÄÏ ÆÕÎËÃ¦Ê ÄÌÑ ÒÏÂÏÔÉ Ú ÑË ÚÁ×ÇÏÄÎÏ ×ÅÌÉËÉÍÉ ÞÉÓÌÁÍÉ ÞÅÒÅÚ ¦ÎÔÅÒÆÅÊÓÉ ÑË ÎÉÚØËÏÇÏ ÔÁË ¦ ×ÉÓÏËÏÇÏ Ò¦×ÎÑ. %description -l ru üÔÏ ÂÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ. óÂÏÒËÁ Ó ÎÅÊ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÄÏÓÔÕÐ Ë ÆÕÎËÃÉÑÍ ÄÌÑ ÒÁÂÏÔÙ ÓÏ ÓËÏÌØ ÕÇÏÄÎÏ ÂÏÌØÛÉÍÉ ÞÉÓÌÁÍÉ ËÁË ÞÅÒÅÚ ÎÉÚËÏ-, ÔÁË É ÞÅÒÅÚ ×ÙÓÏËÏÕÒÏ×ÎÅ×ÙÊ ÉÎÔÅÒÆÅÊÓ. %description -l pt_BR Esta é a biblioteca GNU de precisão arbitrária. Ela dá acesso a funções para manipular arbitrariamente grandes números com interfaces de alto ou baixo nível. %description -l es Esta es la biblioteca GNU de precisión arbitraria. Da acceso a funciones para manipular arbitrariamente grandes números con interfaces de alto o bajo nivel. %package devel Summary: GNU Arbitrary Precision header files, static libraries, and documentation Summary(de): Entwicklungstools für GNU MP Summary(fr): Outils de développement pour la bibliothèque de calcul GMP Summary(pl): Pliki nag³ówkowe i dokumentacja Summary(uk): ¶ÎÓÔÒÕÍÅÎÔÉ ÒÏÚÒÏÂËÉ ÄÌÑ Â¦Â̦ÏÔÅËÉ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ Summary(ru): éÎÓÔÒÕÍÅÎÔÙ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ Summary(pt_BR): Arquivos de inclusão, bibliotecas e documentação da biblioteca gmp. Summary(es): Archivos de inclusión, bibliotecas y documentación de la biblioteca gmp. Group: Development/Libraries Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ Group(es): Desarrollo/Bibliotecas Group(pt_BR): Desenvolvimento/Bibliotecas %description devel The static libraries, header files and documentation for using the GNU MP arbitrary precision library in applications. If you want to develop applications which will use the GNU MP library, you'll need to install the gmp-devel package. %description -l de devel Statische Libraries, Header Files und Dokumentation zum Benutzen der GNU MP Library. %description -l fr devel Ce package comprend les bibliothèques statiques, les fichiers d'en-tête et la documentation nécessaires pour utiliser la bibliothèque de calcul de précision dans les applications. Vous n'avez besoin de ce package que si vous comptez programmer des applications utilisant la bibliothèque GNU MP. %description -l pl devel Pliko nag³ówkowe i dokumentacji do gmp. Dziêki temu pakietowi bêdziesz móg³ tworzyæ w³asne programy z wykorzystaniem bblioteki arbitralnej z GNU. %description -l uk devel ㊦Â̦ÏÔÅËÁ ÐÒÏÇÒÁͦÓÔÁ, ÈÅÄÅÒÉ ÔÁ ÄÏËÕÍÅÎÔÁÃ¦Ñ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Â¦Â̦ÏÔÅËÉ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ Õ ×ÁÛÉÈ ×ÌÁÓÎÉÈ ÐÒÏÇÒÁÍÁÈ. %description -l ru devel üÔÏ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÒÁÂÏÔÞÉËÁ, ÈÅÄÅÒÙ É ÄÏËÕÍÅÎÔÁÃÉÑ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÂÉÂÌÉÏÔÅËÉ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ × ×ÁÛÉÈ ÓÏÂÓÔ×ÅÎÎÙÈ ÐÒÏÇÒÁÍÍÁÈ. %description -l pt_BR devel Estas são as bibliotecas, arquivos de inclusão e documentação para usar a biblioteca GNU de precisão arbitrária em seus programas. %description -l es devel Estas son las bibliotecas, archivos de inclusión y documentación para usar la biblioteca GNU de precisión arbitraria en tus programas. %package static Summary: GNU Arbitrary Precision static library Summary(pl): Biblioteka statyczna gmp Summary(uk): â¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ - ÓÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ Summary(ru): âÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ - ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gmp Group: Development/Libraries Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ Requires: %{name} = %{version} %description static Static gmp library. %description -l pl static Biblioteka statyczna gmp. %description -l uk static ãÅ ÓÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦. %description -l ru static üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ. %description -l pt_BR static Bibliotecas estáticas para desenvolvimento com gmp %prep %setup -q %patch0 -p1 %patch1 -p1 cd mpq %patch2 -p0 cd ../mpn %patch3 -p0 cd ../mpz/tests %patch4 -p0 cd ../.. %patch5 -p1 cd mpq %patch6 -p0 cd ../mpz %patch7 -p0 cd ../mpf %patch8 -p0 cd ../mpn/generic %patch9 -p0 cd ../.. %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %build libtoolize --copy --force %configure2_13 %{__make} CC="%{__cc}" CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ infodir=%{_infodir} \ libdir=%{_libdir} \ includedir=%{_includedir} install mpn/gmp-mparam.h ${RPM_BUILD_ROOT}%{_includedir}/ gzip -9nf SPEED NEWS README %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %doc *.gz %attr(755,root,root) %{_libdir}/lib*.so %{_includedir}/* %{_infodir}/gmp.info* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a