2 # Conditional build (only one option at time makes sense; if more specified
3 # - only "highest" is used):
4 # _with_mmx - with MMX instructions (i586, i686 targets)
5 # _with_p3mmx - with Pentium /// MMX instructions (i686 target)
6 # _with_k6 - with AMD K6 instructions (i586 target)
7 # _with_k62 - with AMD K6-2/K6-3 instructions (i586 target)
8 # _with_k7 - with AMD Athlon/Duron instructions (i686 target)
10 Summary: GNU arbitrary precision library
11 Summary(de): Beliebige Genauigkeits-Library
12 Summary(es): Biblioteca de precisión arbitraria de la GNU
13 Summary(fr): Bibliothèque de calcul de précision
14 Summary(pl): Biblioteka arytmetyczna GNU
15 Summary(pt_BR): Biblioteca de precisão arbitrária da GNU
16 Summary(uk): â¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦
17 Summary(ru): âÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ
23 Source0: ftp://ftp.gnu.org/pub/gnu/gmp/%{name}-%{version}.tar.gz
24 Patch0: %{name}-info.patch
25 Patch1: %{name}-am_fix.patch
26 Patch2: %{name}-asmcpu.patch
27 Patch3: http://www.swox.com/gmp/gmp-impl.h.sparc.diff
28 Patch4: http://www.swox.com/gmp/gmpxx.h.getnum.diff
29 Patch5: http://www.swox.com/gmp/randraw.c.41.diff
30 URL: http://www.swox.com/gmp/
31 BuildRequires: autoconf
32 BuildRequires: automake
33 BuildRequires: libtool
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 %define _cpu %{?_with_k62:k62}%{!?_with_k62:%{?_with_k6:k6}%{!?_with_k6:%{?_with_mmx:pentiummmx}%{!?_with_mmx:i586}}}
41 %define _cpu %{?_with_p3mmx:pentium3}%{!?_with_p3mmx:%{?_with_k7:athlon}%{!?_with_k7:%{?_with_mmx:pentium2}%{!?_with_mmx:i686}}}
48 The gmp package contains GNU MP, a library for arbitrary precision
49 arithmetic, signed integers operations, rational numbers and floating
50 point numbers. GNU MP is designed for speed, for both small and very
51 large operands. GNU MP is fast for several reasons: It uses fullwords
52 as the basic arithmetic type, it uses fast algorithms, it carefully
53 optimizes assembly code for many CPUs' most common inner loops and it
54 generally emphasizes speed over simplicity/elegance in its operations.
56 Install the gmp package if you need a fast arbitrary precision
60 Das gmp-paket enthält GNU MP, eine Library für Arithmetik bei
61 beliebiger Genauigkeit, Operationen mit Intergern mit Vorzeichen,
62 Rationale Zahlen, und Floating Point-Zahlen. GNU MP wurde für
63 Geschwindigkeit sowohl für kleine als auch für sehr große Operanden
64 optimiert. GNU MP ist aus mehreren Gründen schnell: Es benutzt
65 fullwords als grundlegenden Arithmetik-Typ, benutzt schnelle
66 Algorithmen, und benutzt Assembler-Code für verschiedene CPUs, und
67 legt mehr Wert auf Geschwindigkeit als auf Einfachheit der Funktionen.
69 Installieren Sie das gmp-Paket, wenn Sie eine schnelle Library für
70 beliebige Genauigket brauchen.
73 Esta es la biblioteca GNU de precisión arbitraria. Da acceso a
74 funciones para manipular arbitrariamente grandes números con
75 interfaces de alto o bajo nivel.
78 Ce package contient la bibliothèque GNU MP. Cette dernière permet de
79 calculer avec une grande précision sur des nombres entiers, rationnels
80 ou même des fractions, signés ou non. GNU MP a été conçue pour être
81 rapide pour les petits nombres ainsi que les très grands grâce à
82 plusieurs techniques (calcul sur plusieurs chiffres hexa simultanés,
83 algorithmes optimisés, utilisation de l'assembleur pour les routines
84 critiques) parfois au détriment de la simplicité ou l'élégance.
86 Installez ce package si vous avez besoin d'une bibliothèque de calcul
90 Pakiet zawiera bibliotekê arytmetyczn± wysokiej precyzji. Daje ona
91 dostêp do szerokiego grona szybkich funkcji arytmetycznych
92 dzia³aj±cych na liczbach ca³kowitych, rzeczywistych i
96 Esta é a biblioteca GNU de precisão arbitrária. Ela dá acesso a
97 funções para manipular arbitrariamente grandes números com interfaces
98 de alto ou baixo nível.
101 ㊦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦. ú¦ÒËÁ ÐÒÏÇÒÁÍ Ú ÎÅÀ ÎÁÄÁ¤ ÃÉÍ
102 ÐÒÏÇÒÁÍÁÍ ÄÏÓÔÕÐ ÄÏ ÆÕÎËÃ¦Ê ÄÌÑ ÒÏÂÏÔÉ Ú ÑË ÚÁ×ÇÏÄÎÏ ×ÅÌÉËÉÍÉ ÞÉÓÌÁÍÉ
103 ÞÅÒÅÚ ¦ÎÔÅÒÆÅÊÓÉ ÑË ÎÉÚØËÏÇÏ ÔÁË ¦ ×ÉÓÏËÏÇÏ Ò¦×ÎÑ.
106 üÔÏ ÂÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ. óÂÏÒËÁ Ó ÎÅÊ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ
107 ÄÏÓÔÕÐ Ë ÆÕÎËÃÉÑÍ ÄÌÑ ÒÁÂÏÔÙ ÓÏ ÓËÏÌØ ÕÇÏÄÎÏ ÂÏÌØÛÉÍÉ ÞÉÓÌÁÍÉ ËÁË
108 ÞÅÒÅÚ ÎÉÚËÏ-, ÔÁË É ÞÅÒÅÚ ×ÙÓÏËÏÕÒÏ×ÎÅ×ÙÊ ÉÎÔÅÒÆÅÊÓ.
111 Summary: GNU Arbitrary Precision header files, static libraries, and documentation
112 Summary(de): Entwicklungstools für GNU MP
113 Summary(es): Archivos de inclusión, bibliotecas y documentación de la biblioteca gmp
114 Summary(fr): Outils de développement pour la bibliothèque de calcul GMP
115 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki gmp
116 Summary(pt_BR): Arquivos de inclusão, bibliotecas e documentação da biblioteca gmp
117 Summary(uk): ¶ÎÓÔÒÕÍÅÎÔÉ ÒÏÚÒÏÂËÉ ÄÌÑ Â¦Â̦ÏÔÅËÉ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦
118 Summary(ru): éÎÓÔÒÕÍÅÎÔÙ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ
119 Group: Development/Libraries
120 Requires: %{name} = %{version}
121 Obsoletes: libgmp3-devel
124 The static libraries, header files and documentation for using the GNU
125 MP arbitrary precision library in applications.
127 If you want to develop applications which will use the GNU MP library,
128 you'll need to install the gmp-devel package.
130 %description devel -l de
131 Statische Libraries, Header Files und Dokumentation zum Benutzen der
134 %description devel -l es
135 Estas son las bibliotecas, archivos de inclusión y documentación para
136 usar la biblioteca GNU de precisión arbitraria en tus programas.
138 %description devel -l fr
139 Ce package comprend les bibliothèques statiques, les fichiers
140 d'en-tête et la documentation nécessaires pour utiliser la
141 bibliothèque de calcul de précision dans les applications.
143 Vous n'avez besoin de ce package que si vous comptez programmer des
144 applications utilisant la bibliothèque GNU MP.
146 %description devel -l pl
147 Pliki nag³ówkowe i dokumentacja do gmp. Dziêki temu pakietowi bêdziesz
148 móg³ tworzyæ w³asne programy z wykorzystaniem tej biblioteki.
150 %description devel -l pt_BR
151 Estas são as bibliotecas, arquivos de inclusão e documentação para
152 usar a biblioteca GNU de precisão arbitrária em seus programas.
154 %description devel -l uk
155 ㊦Â̦ÏÔÅËÁ ÐÒÏÇÒÁͦÓÔÁ, ÈÅÄÅÒÉ ÔÁ ÄÏËÕÍÅÎÔÁÃ¦Ñ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ
156 ¦Â̦ÏÔÅËÉ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ Õ ×ÁÛÉÈ ×ÌÁÓÎÉÈ ÐÒÏÇÒÁÍÁÈ.
158 %description devel -l ru
159 üÔÏ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÒÁÂÏÔÞÉËÁ, ÈÅÄÅÒÙ É ÄÏËÕÍÅÎÔÁÃÉÑ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
160 ÂÉÂÌÉÏÔÅËÉ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ × ×ÁÛÉÈ ÓÏÂÓÔ×ÅÎÎÙÈ ÐÒÏÇÒÁÍÍÁÈ.
163 Summary: GNU Arbitrary Precision static library
164 Summary(pl): Biblioteka statyczna gmp
165 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gmp
166 Summary(uk): â¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ - ÓÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ
167 Summary(ru): âÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ - ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ
168 Group: Development/Libraries
169 Requires: %{name}-devel = %{version}
174 %description static -l pl
175 Biblioteka statyczna gmp.
177 %description static -l pt_BR
178 Bibliotecas estáticas para desenvolvimento com gmp.
180 %description static -l uk
181 ãÅ ÓÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦.
183 %description static -l ru
184 üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ.
187 Summary: GNU arbitrary precision library - C++ interface
188 Summary(pl): Biblioteka arytmetyczna GNU - interfejs C++
190 Requires: %{name} = %{version}
193 C++ class interface to GNU arbitrary precision library.
195 %description c++ -l pl
196 Interfejs w postaci klas C++ do biblioteki arytmetycznej GNU.
199 Summary: GNU arbitrary precition library - C++ interface headers
200 Summary(pl): Biblioteka arytmetyczna GNU - pliki nag³ówkowe interfejsu C++
201 Group: Development/Libraries
202 Requires: %{name}-c++ = %{version}
203 Requires: %{name}-devel = %{version}
205 %description c++-devel
206 Header files for C++ class interface to GNU arbitrary precision
209 %description c++-devel -l pl
210 Pliki nag³ówkowe interfejsu w postaci klas C++ do biblioteki
214 Summary: GNU arbitrary precition library - C++ static library
215 Summary(pl): Biblioteka arytmetyczna GNU - statyczna biblioteka C++
216 Group: Development/Libraries
217 Requires: %{name}-c++-devel = %{version}
219 %description c++-static
220 Static version of C++ class interface to GNU arbitrary precision
223 %description c++-static -l pl
224 Statycza wersja interfejsu w postaci klas C++ do biblioteki
230 %if %(grep -q -e '--tag' `which libtool`; echo $?)
252 rm -rf $RPM_BUILD_ROOT
255 DESTDIR=$RPM_BUILD_ROOT
258 rm -rf $RPM_BUILD_ROOT
260 %post -p /sbin/ldconfig
261 %postun -p /sbin/ldconfig
262 %post c++ -p /sbin/ldconfig
263 %postun c++ -p /sbin/ldconfig
266 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
269 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
272 %defattr(644,root,root,755)
273 %doc AUTHORS ChangeLog NEWS README
274 %attr(755,root,root) %{_libdir}/libgmp.so.*.*
277 %defattr(644,root,root,755)
278 %attr(755,root,root) %{_libdir}/libgmp.so
281 %{_infodir}/gmp.info*
284 %defattr(644,root,root,755)
288 %defattr(644,root,root,755)
289 %attr(755,root,root) %{_libdir}/libgmpxx.so.*.*
292 %defattr(644,root,root,755)
293 %attr(755,root,root) %{_libdir}/libgmpxx.so
294 %{_libdir}/libgmpxx.la
295 %{_includedir}/gmpxx.h
298 %defattr(644,root,root,755)
299 %{_libdir}/libgmpxx.a