]> git.pld-linux.org Git - packages/gmp.git/blob - gmp.spec
- posted highly destroyed version, now good (really)
[packages/gmp.git] / gmp.spec
1 #
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)
9
10 Summary:        GNU arbitrary precision library
11 Summary(de):    Beliebige Genauigkeits-Library
12 Summary(fr):    Bibliothèque de calcul de précision
13 Summary(pl):    Biblioteka arytmetyczna GNU
14 Summary(uk):    â¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦
15 Summary(ru):    âÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ
16 Summary(pt_BR): Biblioteca de precisão arbitrária da GNU
17 Summary(es):    Biblioteca de precisión arbitraria de la GNU
18 Name:           gmp
19 Version:        4.0
20 Release:        4
21 License:        LGPL
22 Group:          Libraries
23 Group(de):      Libraries
24 Group(es):      Bibliotecas
25 Group(fr):      Librairies
26 Group(pl):      Biblioteki
27 Group(pt_BR):   Bibliotecas
28 Group(ru):      âÉÂÌÉÏÔÅËÉ
29 Group(uk):      â¦Â̦ÏÔÅËÉ
30 Source0:        ftp://ftp.gnu.org/pub/gnu/gmp/%{name}-%{version}.tar.gz
31 Patch0:         %{name}-info.patch
32 Patch1:         %{name}-am_fix.patch
33 URL:            http://www.swox.com/gmp/
34 BuildRequires:  autoconf
35 BuildRequires:  automake
36 BuildRequires:  libtool
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Obsoletes:      libgmp3
39
40 %ifarch i586
41 %define _cpu %{?_with_k62:k62}%{!?_with_k62:%{?_with_k6:k6}%{!?_with_k6:%{?_with_mmx:pentiummmx}%{!?_with_mmx:i586}}}
42 %else
43 %ifarch i686
44 %define _cpu %{?_with_p3mmx:pentium3}%{!?_with_p3mmx:%{?_with_k7:athlon}%{!?_with_k7:%{?_with_mmx:pentium2}%{!?_with_mmx:i686}}}
45 %else
46 %define _cpu %{_arch}
47 %endif
48
49 %description
50 The gmp package contains GNU MP, a library for arbitrary precision
51 arithmetic, signed integers operations, rational numbers and floating
52 point numbers. GNU MP is designed for speed, for both small and very
53 large operands. GNU MP is fast for several reasons: It uses fullwords
54 as the basic arithmetic type, it uses fast algorithms, it carefully
55 optimizes assembly code for many CPUs' most common inner loops and it
56 generally emphasizes speed over simplicity/elegance in its operations.
57
58 Install the gmp package if you need a fast arbitrary precision
59 library.
60
61 %description -l de
62 Das gmp-paket enthält GNU MP, eine Library für Arithmetik bei
63 beliebiger Genauigkeit, Operationen mit Intergern mit Vorzeichen,
64 Rationale Zahlen, und Floating Point-Zahlen. GNU MP wurde für
65 Geschwindigkeit sowohl für kleine als auch für sehr große Operanden
66 optimiert. GNU MP ist aus mehreren Gründen schnell: Es benutzt
67 fullwords als grundlegenden Arithmetik-Typ, benutzt schnelle
68 Algorithmen, und benutzt Assembler-Code für verschiedene CPUs, und
69 legt mehr Wert auf Geschwindigkeit als auf Einfachheit der Funktionen.
70
71 Installieren Sie das gmp-Paket, wenn Sie eine schnelle Library für
72 beliebige Genauigket brauchen.
73
74 %description -l fr
75 Ce package contient la bibliothèque GNU MP. Cette dernière permet de
76 calculer avec une grande précision sur des nombres entiers, rationnels
77 ou même des fractions, signés ou non. GNU MP a été conçue pour être
78 rapide pour les petits nombres ainsi que les très grands grâce à
79 plusieurs techniques (calcul sur plusieurs chiffres hexa simultanés,
80 algorithmes optimisés, utilisation de l'assembleur pour les routines
81 critiques) parfois au détriment de la simplicité ou l'élégance.
82
83 Installez ce package si vous avez besoin d'une bibliothèque de calcul
84 de précision rapide
85
86 %description -l pl
87 Pakiet zawiera bibliotekê arytmetyczn± wysokiej precyzji. Daje ona
88 dostêp do szerokiego grona szybkich funkcji arytmetycznych
89 dzia³aj±cych na liczbach ca³kowitych, rzeczywistych i
90 zmiennoprzecinkowych.
91
92 %description -l uk
93 ㊦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦. ú¦ÒËÁ ÐÒÏÇÒÁÍ Ú ÎÅÀ ÎÁÄÁ¤ ÃÉÍ
94 ÐÒÏÇÒÁÍÁÍ ÄÏÓÔÕРÄÏ ÆÕÎËæʠÄÌÑ ÒÏÂÏÔÉ Ú ÑË ÚÁ×ÇÏÄÎÏ ×ÅÌÉËÉÍÉ ÞÉÓÌÁÍÉ
95 ÞÅÒÅÚ ¦ÎÔÅÒÆÅÊÓÉ ÑË ÎÉÚØËÏÇÏ ÔÁË ¦ ×ÉÓÏËÏÇÏ Ò¦×ÎÑ.
96
97 %description -l ru
98 üÔÏ ÂÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ. óÂÏÒËÁ Ó ÎÅÊ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ
99 ÄÏÓÔÕРˠÆÕÎËÃÉÑÍ ÄÌÑ ÒÁÂÏÔÙ ÓÏ ÓËÏÌØ ÕÇÏÄÎÏ ÂÏÌØÛÉÍÉ ÞÉÓÌÁÍÉ ËÁË
100 ÞÅÒÅÚ ÎÉÚËÏ-, ÔÁË É ÞÅÒÅÚ ×ÙÓÏËÏÕÒÏ×ÎÅ×ÙÊ ÉÎÔÅÒÆÅÊÓ.
101
102 %description -l pt_BR
103 Esta é a biblioteca GNU de precisão arbitrária. Ela dá acesso a
104 funções para manipular arbitrariamente grandes números com interfaces
105 de alto ou baixo nível.
106
107 %description -l es
108 Esta es la biblioteca GNU de precisión arbitraria. Da acceso a
109 funciones para manipular arbitrariamente grandes números con
110 interfaces de alto o bajo nivel.
111
112 %package devel
113 Summary:        GNU Arbitrary Precision header files, static libraries, and documentation
114 Summary(de):    Entwicklungstools für GNU MP
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(uk):    ¶ÎÓÔÒÕÍÅÎÔÉ ÒÏÚÒÏÂËÉ ÄÌѠ¦Â̦ÏÔÅËÉ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦
118 Summary(ru):    éÎÓÔÒÕÍÅÎÔÙ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ
119 Summary(pt_BR): Arquivos de inclusão, bibliotecas e documentação da biblioteca gmp
120 Summary(es):    Archivos de inclusión, bibliotecas y documentación de la biblioteca gmp
121 Group:          Development/Libraries
122 Group(de):      Entwicklung/Libraries
123 Group(es):      Desarrollo/Bibliotecas
124 Group(fr):      Development/Librairies
125 Group(pl):      Programowanie/Biblioteki
126 Group(pt_BR):   Desenvolvimento/Bibliotecas
127 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
128 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
129 Requires:       %{name} = %{version} 
130 Obsoletes:      libgmp3-devel
131
132 %description devel
133 The static libraries, header files and documentation for using the GNU
134 MP arbitrary precision library in applications.
135
136 If you want to develop applications which will use the GNU MP library,
137 you'll need to install the gmp-devel package.
138
139 %description -l de devel
140 Statische Libraries, Header Files und Dokumentation zum Benutzen der
141 GNU MP Library.
142
143 %description -l fr devel
144 Ce package comprend les bibliothèques statiques, les fichiers
145 d'en-tête et la documentation nécessaires pour utiliser la
146 bibliothèque de calcul de précision dans les applications.
147
148 Vous n'avez besoin de ce package que si vous comptez programmer des
149 applications utilisant la bibliothèque GNU MP.
150
151 %description -l pl devel
152 Pliki nag³ówkowe i dokumentacja do gmp. Dziêki temu pakietowi bêdziesz
153 móg³ tworzyæ w³asne programy z wykorzystaniem tej biblioteki.
154
155 %description -l uk devel
156 ㊦Â̦ÏÔÅËÁ ÐÒÏÇÒÁͦÓÔÁ, ÈÅÄÅÒÉ ÔÁ ÄÏËÕÍÅÎÔÁæѠÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ
157 ¦Â̦ÏÔÅËÉ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ Õ ×ÁÛÉÈ ×ÌÁÓÎÉÈ ÐÒÏÇÒÁÍÁÈ.
158
159 %description -l ru devel
160 üÔÏ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÒÁÂÏÔÞÉËÁ, ÈÅÄÅÒÙ É ÄÏËÕÍÅÎÔÁÃÉÑ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
161 ÂÉÂÌÉÏÔÅËÉ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ × ×ÁÛÉÈ ÓÏÂÓÔ×ÅÎÎÙÈ ÐÒÏÇÒÁÍÍÁÈ.
162
163 %description -l pt_BR devel
164 Estas são as bibliotecas, arquivos de inclusão e documentação para
165 usar a biblioteca GNU de precisão arbitrária em seus programas.
166
167 %description -l es devel
168 Estas son las bibliotecas, archivos de inclusión y documentación para
169 usar la biblioteca GNU de precisión arbitraria en tus programas.
170
171 %package static
172 Summary:        GNU Arbitrary Precision static library
173 Summary(pl):    Biblioteka statyczna gmp
174 Summary(uk):    â¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦ - ÓÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ
175 Summary(ru):    âÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ - ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ
176 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gmp
177 Group:          Development/Libraries
178 Group(de):      Entwicklung/Libraries
179 Group(es):      Desarrollo/Bibliotecas
180 Group(fr):      Development/Librairies
181 Group(pl):      Programowanie/Biblioteki
182 Group(pt_BR):   Desenvolvimento/Bibliotecas
183 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
184 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
185 Requires:       %{name}-devel = %{version} 
186
187 %description static
188 Static gmp library.
189
190 %description -l pl static
191 Biblioteka statyczna gmp.
192
193 %description -l uk static
194 ãÅ ÓÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ GNU ÄÏצÌØÎϧ ÔÏÞÎÏÓÔ¦.
195
196 %description -l ru static
197 üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ GNU ÐÒÏÉÚ×ÏÌØÎÏÊ ÔÏÞÎÏÓÔÉ.
198
199 %description -l pt_BR static
200 Bibliotecas estáticas para desenvolvimento com gmp.
201
202 %prep
203 %setup -q
204 %patch0 -p1
205 %patch1 -p1
206
207 %build
208 rm -f missing
209 libtoolize --copy --force
210 aclocal
211 autoconf
212 automake -a -c
213 %configure \
214         --host=%{_cpu}-%{_vendor}-%{_target_os} \
215         --enable-cxx \
216         --enable-fft
217
218 %{__make}
219
220 %install
221 rm -rf $RPM_BUILD_ROOT
222
223 %{__make} install \
224         DESTDIR=$RPM_BUILD_ROOT
225
226 gzip -9nf AUTHORS ChangeLog NEWS README
227
228 %clean
229 rm -rf $RPM_BUILD_ROOT
230
231 %post   -p /sbin/ldconfig
232 %postun -p /sbin/ldconfig
233
234 %post devel
235 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
236
237 %postun devel
238 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
239
240 %files
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_libdir}/lib*.so.*.*
243
244 %files devel
245 %defattr(644,root,root,755)
246 %doc *.gz
247 %attr(755,root,root) %{_libdir}/lib*.so
248 %{_includedir}/*
249 %{_infodir}/gmp.info*
250
251 %files static
252 %defattr(644,root,root,755)
253 %{_libdir}/lib*.a
This page took 0.115098 seconds and 4 git commands to generate.