1 Summary: GNU arbitrary precision library
2 Summary(de): Beliebige Genauigkeits-Library
3 Summary(fr): Bibliothèque de calcul de précision
4 Summary(pl): Biblioteka arytmetyczna GNU
11 Source: ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
12 Patch0: gmp-shared.patch
13 Patch1: http://www.swox.com/gmp/mpf-conversions.diff.gz
14 Patch2: http://www.swox.com/gmp/gmp2.0.2p2.txt
15 Patch3: http://www.swox.com/gmp/gmp2.0.2p3.txt
16 Patch4: http://www.swox.com/gmp/gmp2.0.2p4.txt
17 Patch5: http://www.swox.com/gmp/gmp2.0.2p5.txt
18 Patch6: http://www.swox.com/gmp/gmp2.0.2p6.txt
19 Patch7: http://www.swox.com/gmp/gmp2.0.2p7.txt
20 Patch8: http://www.swox.com/gmp/gmp2.0.2p8.txt
21 Patch9: http://www.swox.com/gmp/gmp2.0.2p9.txt
22 Patch10: gmp-powerpc.patch
23 Patch11: gmp-info.patch
24 Patch12: gmp-DESTDIR.patch
25 Patch13: gmp-sparc.patch
26 URL: http://www.swox.com/gmp/
27 BuildRoot: /tmp/%{name}-%{version}-root
30 The gmp package contains GNU MP, a library for arbitrary precision
31 arithmetic, signed integers operations, rational numbers and floating point
32 numbers. GNU MP is designed for speed, for both small and very large
33 operands. GNU MP is fast for several reasons: It uses fullwords as the basic
34 arithmetic type, it uses fast algorithms, it carefully optimizes assembly
35 code for many CPUs' most common inner loops and it generally emphasizes
36 speed over simplicity/elegance in its operations.
38 Install the gmp package if you need a fast arbitrary precision library.
41 Das gmp-paket enthält GNU MP, eine Library für Arithmetik bei beliebiger
42 Genauigkeit, Operationen mit Intergern mit Vorzeichen, Rationale Zahlen, und
43 Floating Point-Zahlen. GNU MP wurde für Geschwindigkeit sowohl für kleine
44 als auch für sehr große Operanden optimiert. GNU MP ist aus mehreren Gründen
45 schnell: Es benutzt fullwords als grundlegenden Arithmetik-Typ, benutzt
46 schnelle Algorithmen, und benutzt Assembler-Code für verschiedene CPUs, und
47 legt mehr Wert auf Geschwindigkeit als auf Einfachheit der Funktionen.
49 Installieren Sie das gmp-Paket, wenn Sie eine schnelle Library für beliebige
53 Ce package contient la bibliothèque GNU MP. Cette dernière permet de
54 calculer avec une grande précision sur des nombres entiers, rationnels ou
55 même des fractions, signés ou non. GNU MP a été conçue pour être rapide
56 pour les petits nombres ainsi que les très grands grâce à plusieurs
57 techniques (calcul sur plusieurs chiffres hexa simultanés, algorithmes
58 optimisés, utilisation de l'assembleur pour les routines critiques) parfois
59 au détriment de la simplicité ou l'élégance.
61 Installez ce package si vous avez besoin d'une bibliothèque de calcul de
65 Pakiet zawiera bibliotekê arytmetyczn± wysokiej precyzji. Daje ona dostêp do
66 szerokiego grona szybkich funkcji arytmetycznych dzia³aj±cych na liczbach
67 ca³kowitych, rzeczywistych i zmiennoprzecinkowych.
70 Summary: GNU Arbitrary Precision header files, static libraries, and documentation.
71 Summary(de): Entwicklungstools für GNU MP
72 Summary(fr): Outils de développement pour la bibliothèque de calcul GMP
73 Summary(pl): Pliki nag³ówkowe i dokumentacja.
74 Group: Development/Libraries
75 Group(pl): Programowanie/Biblioteki
76 Prereq: /usr/sbin/fix-info-dir
79 The static libraries, header files and documentation for using the GNU MP
80 arbitrary precision library in applications.
82 If you want to develop applications which will use the GNU MP library,
83 you'll need to install the gmp-devel package.
85 %description -l de devel
86 Statische Libraries, Header Files und Dokumentation zum Benutzen der GNU MP
89 %description -l fr devel
90 Ce package comprend les bibliothèques statiques, les fichiers d'en-tête et
91 la documentation nécessaires pour utiliser la bibliothèque de calcul de
92 précision dans les applications.
94 Vous n'avez besoin de ce package que si vous comptez programmer des
95 applications utilisant la bibliothèque GNU MP.
97 %description -l pl devel
98 Pliko nag³ówkowe i dokumentacji do gmp. Dziêki temu pakietowi bêdziesz
99 móg³ tworzyæ w³asne programy z wykorzystaniem bblioteki arbitralnej z GNU.
102 Summary: GNU Arbitrary Precision static library.
103 Summary(pl): Biblioteka statyczna.
105 Requires: %{name} = %{version}
110 %description -l pl static
111 Biblioteka statyczna.
140 libtoolize --copy --force
142 make CC="gcc" CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s"
145 rm -rf $RPM_BUILD_ROOT
148 DESTDIR=$RPM_BUILD_ROOT \
149 infodir=%{_infodir} \
151 includedir=%{_includedir}
153 install mpn/gmp-mparam.h ${RPM_BUILD_ROOT}%{_includedir}/
155 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
157 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/gmp.info* \
160 %post -p /sbin/ldconfig
161 %postun -p /sbin/ldconfig
164 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
167 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
170 rm -rf $RPM_BUILD_ROOT
173 %defattr(644,root,root,755)
174 %attr(755,root,root) %{_libdir}/lib*.so.*.*
177 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_libdir}/lib*.so
181 %{_infodir}/gmp.info*
184 %defattr(644,root,root,755)