2 # Conditional build (only one option at time makes sense; if more specified
3 # - only "highest" is used):
4 %bcond_with mmx # with MMX instructions (i586, i686 targets)
5 %bcond_with p3mmx # with Pentium /// MMX instructions (i686 target)
6 %bcond_with k6 # with AMD K6 instructions (i586 target)
7 %bcond_with k62 # with AMD K6-2/K6-3 instructions (i586 target)
8 %bcond_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 # Source0-md5: bdbb9136fa22a0ccf028d0f87aae1dd2
25 Patch0: %{name}-info.patch
26 Patch1: %{name}-asmcpu.patch
27 Patch2: %{name}-gcc-version.patch
28 Patch3: %{name}-amd64.patch
29 Patch4: %{name}-acinclude.patch
30 URL: http://www.swox.com/gmp/
31 BuildRequires: autoconf >= 2.52
32 BuildRequires: automake
33 BuildRequires: libstdc++-devel
34 BuildRequires: libtool >= 2:1.4d-3
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 %define _cpu %{?with_k62:k62}%{!?with_k62:%{?with_k6:k6}%{!?with_k6:%{?with_mmx:pentiummmx}%{!?with_mmx:i586}}}
42 %define _cpu %{?with_p3mmx:pentium3}%{!?with_p3mmx:%{?with_k7:athlon}%{!?with_k7:%{?with_mmx:pentium2}%{!?with_mmx:i686}}}
49 The gmp package contains GNU MP, a library for arbitrary precision
50 arithmetic, signed integers operations, rational numbers and floating
51 point numbers. GNU MP is designed for speed, for both small and very
52 large operands. GNU MP is fast for several reasons: It uses fullwords
53 as the basic arithmetic type, it uses fast algorithms, it carefully
54 optimizes assembly code for many CPUs' most common inner loops and it
55 generally emphasizes speed over simplicity/elegance in its operations.
57 Install the gmp package if you need a fast arbitrary precision
61 Das gmp-paket enthält GNU MP, eine Library für Arithmetik bei
62 beliebiger Genauigkeit, Operationen mit Intergern mit Vorzeichen,
63 Rationale Zahlen, und Floating Point-Zahlen. GNU MP wurde für
64 Geschwindigkeit sowohl für kleine als auch für sehr große Operanden
65 optimiert. GNU MP ist aus mehreren Gründen schnell: Es benutzt
66 fullwords als grundlegenden Arithmetik-Typ, benutzt schnelle
67 Algorithmen, und benutzt Assembler-Code für verschiedene CPUs, und
68 legt mehr Wert auf Geschwindigkeit als auf Einfachheit der Funktionen.
70 Installieren Sie das gmp-Paket, wenn Sie eine schnelle Library für
71 beliebige Genauigket brauchen.
74 Esta es la biblioteca GNU de precisión arbitraria. Da acceso a
75 funciones para manipular arbitrariamente grandes números con
76 interfaces de alto o bajo nivel.
79 Ce package contient la bibliothèque GNU MP. Cette dernière permet de
80 calculer avec une grande précision sur des nombres entiers, rationnels
81 ou même des fractions, signés ou non. GNU MP a été conçue pour être
82 rapide pour les petits nombres ainsi que les très grands grâce à
83 plusieurs techniques (calcul sur plusieurs chiffres hexa simultanés,
84 algorithmes optimisés, utilisation de l'assembleur pour les routines
85 critiques) parfois au détriment de la simplicité ou l'élégance.
87 Installez ce package si vous avez besoin d'une bibliothèque de calcul
91 Pakiet zawiera bibliotekê arytmetyczn± wysokiej precyzji. Daje ona
92 dostêp do szerokiego grona szybkich funkcji arytmetycznych
93 dzia³aj±cych na liczbach ca³kowitych, rzeczywistych i
97 Esta é a biblioteca GNU de precisão arbitrária. Ela dá acesso a
98 funções para manipular arbitrariamente grandes números com interfaces
99 de alto ou baixo nível.
102 ㊦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦. ú¦ÒËÁ ÐÒÏÇÒÁÍ Ú ÎÅÀ ÎÁÄÁ¤ ÃÉÍ
103 ÐÒÏÇÒÁÍÁÍ ÄÏÓÔÕÐ ÄÏ ÆÕÎËÃ¦Ê ÄÌÑ ÒÏÂÏÔÉ Ú ÑË ÚÁ×ÇÏÄÎÏ ×ÅÌÉËÉÍÉ ÞÉÓÌÁÍÉ
104 ÞÅÒÅÚ ¦ÎÔÅÒÆÅÊÓÉ ÑË ÎÉÚØËÏÇÏ ÔÁË ¦ ×ÉÓÏËÏÇÏ Ò¦×ÎÑ.
107 üÔÏ ÂÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ. óÂÏÒËÁ Ó ÎÅÊ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ
108 ÄÏÓÔÕÐ Ë ÆÕÎËÃÉÑÍ ÄÌÑ ÒÁÂÏÔÙ ÓÏ ÓËÏÌØ ÕÇÏÄÎÏ ÂÏÌØÛÉÍÉ ÞÉÓÌÁÍÉ ËÁË
109 ÞÅÒÅÚ ÎÉÚËÏ-, ÔÁË É ÞÅÒÅÚ ×ÙÓÏËÏÕÒÏ×ÎÅ×ÙÊ ÉÎÔÅÒÆÅÊÓ.
112 Summary: GNU Arbitrary Precision header files, static libraries, and documentation
113 Summary(de): Entwicklungstools für GNU MP
114 Summary(es): Archivos de inclusión, bibliotecas y documentación de la biblioteca gmp
115 Summary(fr): Outils de développement pour la bibliothèque de calcul GMP
116 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki gmp
117 Summary(pt_BR): Arquivos de inclusão, bibliotecas e documentação da biblioteca gmp
118 Summary(uk): ¶ÎÓÔÒÕÍÅÎÔÉ ÒÏÚÒÏÂËÉ ÄÌÑ Â¦Â̦ÏÔÅËÉ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦
119 Summary(ru): éÎÓÔÒÕÍÅÎÔÙ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ
120 Group: Development/Libraries
121 Requires: %{name} = %{version}-%{release}
122 Obsoletes: libgmp3-devel
125 The static libraries, header files and documentation for using the GNU
126 MP arbitrary precision library in applications.
128 If you want to develop applications which will use the GNU MP library,
129 you'll need to install the gmp-devel package.
131 %description devel -l de
132 Statische Libraries, Header Files und Dokumentation zum Benutzen der
135 %description devel -l es
136 Estas son las bibliotecas, archivos de inclusión y documentación para
137 usar la biblioteca GNU de precisión arbitraria en tus programas.
139 %description devel -l fr
140 Ce package comprend les bibliothèques statiques, les fichiers
141 d'en-tête et la documentation nécessaires pour utiliser la
142 bibliothèque de calcul de précision dans les applications.
144 Vous n'avez besoin de ce package que si vous comptez programmer des
145 applications utilisant la bibliothèque GNU MP.
147 %description devel -l pl
148 Pliki nag³ówkowe i dokumentacja do gmp. Dziêki temu pakietowi bêdziesz
149 móg³ tworzyæ w³asne programy z wykorzystaniem tej biblioteki.
151 %description devel -l pt_BR
152 Estas são as bibliotecas, arquivos de inclusão e documentação para
153 usar a biblioteca GNU de precisão arbitrária em seus programas.
155 %description devel -l uk
156 ㊦Â̦ÏÔÅËÁ ÐÒÏÇÒÁͦÓÔÁ, ÈÅÄÅÒÉ ÔÁ ÄÏËÕÍÅÎÔÁÃ¦Ñ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ
157 ¦Â̦ÏÔÅËÉ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ Õ ×ÁÛÉÈ ×ÌÁÓÎÉÈ ÐÒÏÇÒÁÍÁÈ.
159 %description devel -l ru
160 üÔÏ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÒÁÂÏÔÞÉËÁ, ÈÅÄÅÒÙ É ÄÏËÕÍÅÎÔÁÃÉÑ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
161 ÂÉÂÌÉÏÔÅËÉ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ × ×ÁÛÉÈ ÓÏÂÓÔ×ÅÎÎÙÈ ÐÒÏÇÒÁÍÍÁÈ.
164 Summary: GNU Arbitrary Precision static library
165 Summary(pl): Biblioteka statyczna gmp
166 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gmp
167 Summary(uk): â¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ - ÓÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ
168 Summary(ru): âÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ - ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ
169 Group: Development/Libraries
170 Requires: %{name}-devel = %{version}-%{release}
175 %description static -l pl
176 Biblioteka statyczna gmp.
178 %description static -l pt_BR
179 Bibliotecas estáticas para desenvolvimento com gmp.
181 %description static -l uk
182 ãÅ ÓÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦.
184 %description static -l ru
185 üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ.
188 Summary: GNU arbitrary precision library - C++ interface
189 Summary(pl): Biblioteka arytmetyczna GNU - interfejs C++
191 Requires: %{name} = %{version}-%{release}
194 C++ class interface to GNU arbitrary precision library.
196 %description c++ -l pl
197 Interfejs w postaci klas C++ do biblioteki arytmetycznej GNU.
200 Summary: GNU arbitrary precition library - C++ interface headers
201 Summary(pl): Biblioteka arytmetyczna GNU - pliki nag³ówkowe interfejsu C++
202 Group: Development/Libraries
203 Requires: %{name}-c++ = %{version}-%{release}
204 Requires: %{name}-devel = %{version}-%{release}
206 %description c++-devel
207 Header files for C++ class interface to GNU arbitrary precision
210 %description c++-devel -l pl
211 Pliki nag³ówkowe interfejsu w postaci klas C++ do biblioteki
215 Summary: GNU arbitrary precition library - C++ static library
216 Summary(pl): Biblioteka arytmetyczna GNU - statyczna biblioteka C++
217 Group: Development/Libraries
218 Requires: %{name}-c++-devel = %{version}-%{release}
220 %description c++-static
221 Static version of C++ class interface to GNU arbitrary precision
224 %description c++-static -l pl
225 Statycza wersja interfejsu w postaci klas C++ do biblioteki
250 rm -rf $RPM_BUILD_ROOT
253 DESTDIR=$RPM_BUILD_ROOT
256 rm -rf $RPM_BUILD_ROOT
258 %post -p /sbin/ldconfig
259 %postun -p /sbin/ldconfig
260 %post c++ -p /sbin/ldconfig
261 %postun c++ -p /sbin/ldconfig
264 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
267 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
270 %defattr(644,root,root,755)
271 %doc AUTHORS ChangeLog NEWS README
272 %attr(755,root,root) %{_libdir}/libgmp.so.*.*
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_libdir}/libgmp.so
279 %{_infodir}/gmp.info*
282 %defattr(644,root,root,755)
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_libdir}/libgmpxx.so.*.*
290 %defattr(644,root,root,755)
291 %attr(755,root,root) %{_libdir}/libgmpxx.so
292 %{_libdir}/libgmpxx.la
293 %{_includedir}/gmpxx.h
296 %defattr(644,root,root,755)
297 %{_libdir}/libgmpxx.a