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