]> git.pld-linux.org Git - packages/gmp.git/blob - gmp.spec
s/configure/configure2_13/
[packages/gmp.git] / gmp.spec
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
5 Name:           gmp
6 Version:        2.0.2
7 Release:        15
8 License:        LGPL
9 Group:          Libraries
10 Group(de):      Libraries
11 Group(es):      Bibliotecas
12 Group(fr):      Librairies
13 Group(pl):      Biblioteki
14 Source0:        ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-shared.patch
16 Patch1:         http://www.swox.com/gmp/mpf-conversions.diff.gz
17 Patch2:         http://www.swox.com/gmp/%{name}2.0.2p2.txt
18 Patch3:         http://www.swox.com/gmp/%{name}2.0.2p3.txt
19 Patch4:         http://www.swox.com/gmp/%{name}2.0.2p4.txt
20 Patch5:         http://www.swox.com/gmp/%{name}2.0.2p5.txt
21 Patch6:         http://www.swox.com/gmp/%{name}2.0.2p6.txt
22 Patch7:         http://www.swox.com/gmp/%{name}2.0.2p7.txt
23 Patch8:         http://www.swox.com/gmp/%{name}2.0.2p8.txt
24 Patch9:         http://www.swox.com/gmp/%{name}2.0.2p9.txt
25 Patch10:        %{name}-powerpc.patch
26 Patch11:        %{name}-info.patch
27 Patch12:        %{name}-DESTDIR.patch
28 Patch13:        %{name}-sparc.patch
29 URL:            http://www.swox.com/gmp/
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 The gmp package contains GNU MP, a library for arbitrary precision
34 arithmetic, signed integers operations, rational numbers and floating
35 point numbers. GNU MP is designed for speed, for both small and very
36 large operands. GNU MP is fast for several reasons: It uses fullwords
37 as the basic arithmetic type, it uses fast algorithms, it carefully
38 optimizes assembly code for many CPUs' most common inner loops and it
39 generally emphasizes speed over simplicity/elegance in its operations.
40
41 Install the gmp package if you need a fast arbitrary precision
42 library.
43
44 %description -l de
45 Das gmp-paket enthält GNU MP, eine Library für Arithmetik bei
46 beliebiger Genauigkeit, Operationen mit Intergern mit Vorzeichen,
47 Rationale Zahlen, und Floating Point-Zahlen. GNU MP wurde für
48 Geschwindigkeit sowohl für kleine als auch für sehr große Operanden
49 optimiert. GNU MP ist aus mehreren Gründen schnell: Es benutzt
50 fullwords als grundlegenden Arithmetik-Typ, benutzt schnelle
51 Algorithmen, und benutzt Assembler-Code für verschiedene CPUs, und
52 legt mehr Wert auf Geschwindigkeit als auf Einfachheit der Funktionen.
53
54 Installieren Sie das gmp-Paket, wenn Sie eine schnelle Library für
55 beliebige Genauigket brauchen.
56
57 %description -l fr
58 Ce package contient la bibliothèque GNU MP. Cette dernière permet de
59 calculer avec une grande précision sur des nombres entiers, rationnels
60 ou même des fractions, signés ou non. GNU MP a été conçue pour être
61 rapide pour les petits nombres ainsi que les très grands grâce à
62 plusieurs techniques (calcul sur plusieurs chiffres hexa simultanés,
63 algorithmes optimisés, utilisation de l'assembleur pour les routines
64 critiques) parfois au détriment de la simplicité ou l'élégance.
65
66 Installez ce package si vous avez besoin d'une bibliothèque de calcul
67 de précision rapide
68
69 %description -l pl
70 Pakiet zawiera bibliotekê arytmetyczn± wysokiej precyzji. Daje ona
71 dostêp do szerokiego grona szybkich funkcji arytmetycznych
72 dzia³aj±cych na liczbach ca³kowitych, rzeczywistych i
73 zmiennoprzecinkowych.
74
75 %package devel
76 Summary:        GNU Arbitrary Precision header files, static libraries, and documentation
77 Summary(de):    Entwicklungstools für GNU MP
78 Summary(fr):    Outils de développement pour la bibliothèque de calcul GMP
79 Summary(pl):    Pliki nag³ówkowe i dokumentacja
80 Group:          Development/Libraries
81 Group(de):      Entwicklung/Libraries
82 Group(fr):      Development/Librairies
83 Group(pl):      Programowanie/Biblioteki
84
85 %description devel
86 The static libraries, header files and documentation for using the GNU
87 MP arbitrary precision library in applications.
88
89 If you want to develop applications which will use the GNU MP library,
90 you'll need to install the gmp-devel package.
91
92 %description -l de devel
93 Statische Libraries, Header Files und Dokumentation zum Benutzen der
94 GNU MP Library.
95
96 %description -l fr devel
97 Ce package comprend les bibliothèques statiques, les fichiers
98 d'en-tête et la documentation nécessaires pour utiliser la
99 bibliothèque de calcul de précision dans les applications.
100
101 Vous n'avez besoin de ce package que si vous comptez programmer des
102 applications utilisant la bibliothèque GNU MP.
103
104 %description -l pl devel
105 Pliko nag³ówkowe i dokumentacji do gmp. Dziêki temu pakietowi bêdziesz
106 móg³ tworzyæ w³asne programy z wykorzystaniem bblioteki arbitralnej z
107 GNU.
108
109 %package static
110 Summary:        GNU Arbitrary Precision static library
111 Summary(pl):    Biblioteka statyczna gmp
112 Group:          Development/Libraries
113 Group(de):      Entwicklung/Libraries
114 Group(fr):      Development/Librairies
115 Group(pl):      Programowanie/Biblioteki
116 Requires:       %{name} = %{version} 
117
118 %description static
119 Static gmp library.
120
121 %description -l pl static
122 Biblioteka statyczna gmp.
123
124 %prep
125 %setup -q
126 %patch0 -p1
127 %patch1 -p1
128 cd mpq
129 %patch2 -p0
130 cd ../mpn
131 %patch3 -p0
132 cd ../mpz/tests
133 %patch4 -p0
134 cd ../..
135 %patch5 -p1
136 cd mpq
137 %patch6 -p0
138 cd ../mpz
139 %patch7 -p0
140 cd ../mpf
141 %patch8 -p0
142 cd ../mpn/generic
143 %patch9 -p0
144 cd ../..
145 %patch10 -p1
146 %patch11 -p1
147 %patch12 -p1
148 %patch13 -p1
149
150 %build
151 libtoolize --copy --force
152 %configure2_13
153 %{__make} CC="%{__cc}" CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}"
154
155 %install
156 rm -rf $RPM_BUILD_ROOT
157
158 %{__make} install \
159         DESTDIR=$RPM_BUILD_ROOT \
160         infodir=%{_infodir} \
161         libdir=%{_libdir} \
162         includedir=%{_includedir}
163
164 install mpn/gmp-mparam.h ${RPM_BUILD_ROOT}%{_includedir}/
165
166 gzip -9nf SPEED NEWS README
167
168 %post   -p /sbin/ldconfig
169 %postun -p /sbin/ldconfig
170
171 %post devel
172 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
173
174 %postun devel
175 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
176
177 %clean
178 rm -rf $RPM_BUILD_ROOT
179
180 %files
181 %defattr(644,root,root,755)
182 %attr(755,root,root) %{_libdir}/lib*.so.*.*
183
184 %files devel
185 %defattr(644,root,root,755)
186 %doc *.gz
187 %attr(755,root,root) %{_libdir}/lib*.so
188 %{_includedir}/*
189 %{_infodir}/gmp.info*
190
191 %files static
192 %defattr(644,root,root,755)
193 %{_libdir}/lib*.a
This page took 0.088367 seconds and 4 git commands to generate.