1 Summary: GNU arbitrary precision library
2 Summary(pl): Biblioteka arytmetyczna GNU
9 URL: http://www.matematik.su.se/~tege/gmp/
10 Source: ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
11 Patch0: gmp-shared.patch
12 Patch1: http://www.matematik.su.se/~tege/gmp/mpf-conversions.diff.gz
13 Patch2: http://www.matematik.su.se/~tege/gmp/gmp2.0.2p2.txt
14 Patch3: http://www.matematik.su.se/~tege/gmp/gmp2.0.2p3.txt
15 Patch4: http://www.matematik.su.se/~tege/gmp/gmp2.0.2p4.txt
16 Patch5: http://www.matematik.su.se/~tege/gmp/gmp2.0.2p5.txt
17 Patch6: http://www.matematik.su.se/~tege/gmp/gmp2.0.2p6.txt
18 Patch7: http://www.matematik.su.se/~tege/gmp/gmp2.0.2p7.txt
19 Patch8: gmp-powerpc.patch
20 Patch9: gmp-info.patch
21 BuildRoot: /tmp/%{name}-%{version}-root
24 This is the GNU arbitrary precision library. Linking against it gives access
25 to functions for handling arbitrarily large numbers with either a high level
26 or a low level interface.
30 Pakiet zawiera bibliotekê arytmetyczn± wysokiej precyzji. Daje ona dostêp do
31 szerokiego grona szybkich funkcji arytmetycznych dzia³aj±cych na liczbach
32 ca³kowitych, rzeczywistych i zmiennoprzecinkowych.
35 Summary: GNU Arbitrary Precision header files, static libraries, and documentation.
36 Summary(pl): Pliki nag³ówkowe i dokumentacja.
38 PreReq: /sbin/install-info
41 These are the static libraries, header files, and documentation for using
42 the GNU arbitrary precision library in your own programs. With these, you
43 can create your own own programs that use this library.
45 %description -l pl devel
46 Pliko nag³ówkowe i dokumentacji do gmp. Dziêki temu pakietowi bêdziesz
47 móg³ tworzyæ w³asne programy z wykorzystaniem bblioteki arbitralnej z GNU.
50 Summary: GNU Arbitrary Precision static library.
51 Summary(pl): Biblioteka statyczna.
53 Requires: %{name} = %{version}
58 %description -l pl static
82 ./configure %{_target} \
84 make CC="gcc" CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s"
87 rm -rf $RPM_BUILD_ROOT
90 prefix=$RPM_BUILD_ROOT/usr
92 install mpn/gmp-mparam.h ${RPM_BUILD_ROOT}/usr/include/
94 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
96 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/gmp.info*
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 /sbin/install-info %{_infodir}/gmp.info.gz /usr/info/dir
105 if [ "$1" = 0 ]; then
106 /sbin/install-info --delete %{_infodir}/gmp.info.gz /etc/info-dir
110 rm -rf $RPM_BUILD_ROOT
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
117 %defattr(644,root,root,755)
118 %doc SPEED NEWS README
119 %attr(755,root,root) %{_libdir}/lib*.so
121 %{_infodir}/gmp.info*
124 %defattr(644,root,root,755)
128 * Wed Apr 28 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
130 - standarized {un}registering info pages (added gmp-info.patch),
131 - /sbin/ldconfig is now runed as -p parameter in %post{un},
132 - added static subpackage,
133 - added stripping shared libraries.
135 * Sat Mar 14 1999 David Kuestler <kuestler@zeta.org.au>
136 - Patch for PowerPC ( Power Mac )
138 * Thu Feb 18 1999 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
139 - Add bugfix patches from gmp homepage. (These are supposed to go into
140 gmp-2.0.3 when it is finally released.)
141 - Change the files section to use %attr tags (now buildable by non-root)
143 - Change the Copyright to LGPL.
144 - Change the URL to the gmp homepage.
146 * Thu Feb 11 1999 Michael Johnson <johnsonm@redhat.com>
147 - include the private header file gmp-mparam.h because several
148 apps seem to assume that they are building against the gmp
149 source tree and require it. Sigh.
151 * Tue Jan 12 1999 Michael K. Johnson <johnsonm@redhat.com>
152 - libtoolize to work on arm
154 * Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
155 - yet another touch of the spec file
157 * Wed Sep 2 1998 Michael Fulbright <msf@redhat.com>
158 - looked over before inclusion in RH 5.2
160 * Sat May 24 1998 Dick Porter <dick@cymru.net>
161 - Patch Makefile.in, not Makefile
162 - Don't specify i586, let configure decide the arch
164 * Sat Jan 24 1998 Marc Ewing <marc@redhat.com>
165 - started with package from Toshio Kuratomi <toshiok@cats.ucsc.edu>
166 - cleaned up file list
167 - fixed up install-info support