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