]> git.pld-linux.org Git - packages/gmp.git/blobdiff - gmp.spec
- release 14,
[packages/gmp.git] / gmp.spec
index 4b220b75f5fafad8bda84c2f906cbb5fbd27bf6d..08f407f19581290a9cfe99263d1be49b92105c43 100644 (file)
--- a/gmp.spec
+++ b/gmp.spec
@@ -1,47 +1,98 @@
 Summary:       GNU arbitrary precision library
+Summary(de):   Beliebige Genauigkeits-Library
+Summary(fr):   Bibliothèque de calcul de précision
 Summary(pl):   Biblioteka arytmetyczna GNU
 Name:          gmp
 Version:       2.0.2
-Release:       11
+Release:       14
 Copyright:     LGPL 
 Group:         Libraries
 Group(pl):     Biblioteki
-URL:           http://www.matematik.su.se/~tege/gmp/
 Source:                ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
 Patch0:                gmp-shared.patch
-Patch1:                http://www.matematik.su.se/~tege/gmp/mpf-conversions.diff.gz
-Patch2:                http://www.matematik.su.se/~tege/gmp/gmp2.0.2p2.txt
-Patch3:                http://www.matematik.su.se/~tege/gmp/gmp2.0.2p3.txt
-Patch4:                http://www.matematik.su.se/~tege/gmp/gmp2.0.2p4.txt
-Patch5:                http://www.matematik.su.se/~tege/gmp/gmp2.0.2p5.txt
-Patch6:                http://www.matematik.su.se/~tege/gmp/gmp2.0.2p6.txt
-Patch7:                http://www.matematik.su.se/~tege/gmp/gmp2.0.2p7.txt
-Patch8:                gmp-powerpc.patch
-Patch9:                gmp-info.patch
-Patch10:       gmp-DESTDIR.patch
+Patch1:                http://www.swox.com/gmp/mpf-conversions.diff.gz
+Patch2:                http://www.swox.com/gmp/gmp2.0.2p2.txt
+Patch3:                http://www.swox.com/gmp/gmp2.0.2p3.txt
+Patch4:                http://www.swox.com/gmp/gmp2.0.2p4.txt
+Patch5:                http://www.swox.com/gmp/gmp2.0.2p5.txt
+Patch6:                http://www.swox.com/gmp/gmp2.0.2p6.txt
+Patch7:                http://www.swox.com/gmp/gmp2.0.2p7.txt
+Patch8:                http://www.swox.com/gmp/gmp2.0.2p8.txt
+Patch9:                http://www.swox.com/gmp/gmp2.0.2p9.txt
+Patch10:       gmp-powerpc.patch
+Patch11:       gmp-info.patch
+Patch12:       gmp-DESTDIR.patch
+Patch13:       gmp-sparc.patch
+URL:           http://www.swox.com/gmp/
 BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
-This is the GNU arbitrary precision library. Linking against it gives access
-to functions for handling arbitrarily large numbers with either a high level
-or a low level interface.
+The gmp package contains GNU MP, a library for arbitrary precision
+arithmetic, signed integers operations, rational numbers and floating point
+numbers. GNU MP is designed for speed, for both small and very large
+operands. GNU MP is fast for several reasons: It uses fullwords as the basic
+arithmetic type, it uses fast algorithms, it carefully optimizes assembly
+code for many CPUs' most common inner loops and it generally emphasizes
+speed over simplicity/elegance in its operations.
+
+Install the gmp package if you need a fast arbitrary precision library.
+
+%description -l de
+Das gmp-paket enthält GNU MP, eine Library für Arithmetik bei beliebiger
+Genauigkeit, Operationen mit Intergern mit Vorzeichen, Rationale Zahlen, und
+Floating Point-Zahlen. GNU MP wurde für Geschwindigkeit sowohl für kleine
+als auch für sehr große Operanden optimiert. GNU MP ist aus mehreren Gründen
+schnell: Es benutzt fullwords als grundlegenden Arithmetik-Typ, benutzt
+schnelle Algorithmen, und benutzt Assembler-Code für verschiedene CPUs, und
+legt mehr Wert auf Geschwindigkeit als auf Einfachheit der Funktionen.
+
+Installieren Sie das gmp-Paket, wenn Sie eine schnelle Library für beliebige
+Genauigket brauchen.
+
+%description -l fr
+Ce package contient la bibliothèque GNU MP. Cette dernière permet de
+calculer avec une grande précision sur des nombres entiers, rationnels ou
+même des fractions, signés ou non.  GNU MP a été conçue pour être rapide
+pour les petits nombres ainsi que les très grands grâce à plusieurs
+techniques (calcul sur plusieurs chiffres hexa simultanés, algorithmes
+optimisés, utilisation de l'assembleur pour les routines critiques) parfois
+au détriment de la simplicité ou l'élégance.
+
+Installez ce package si vous avez besoin d'une bibliothèque de calcul de
+précision rapide
 
 %description -l pl
-
 Pakiet zawiera bibliotekê arytmetyczn± wysokiej precyzji. Daje ona dostêp do
 szerokiego grona szybkich funkcji arytmetycznych dzia³aj±cych na liczbach
 ca³kowitych, rzeczywistych i zmiennoprzecinkowych.
 
 %package devel
 Summary:       GNU Arbitrary Precision header files, static libraries, and documentation.
+Summary(de):   Entwicklungstools für GNU MP
+Summary(fr):   Outils de développement pour la bibliothèque de calcul GMP
 Summary(pl):   Pliki nag³ówkowe i dokumentacja.
-Group:         Libraries
-PreReq:                /sbin/install-info
+Group:         Development/Libraries
+Group(pl):     Programowanie/Biblioteki
+Prereq:                /usr/sbin/fix-info-dir
 
 %description devel
-These are the static libraries, header files, and documentation for using
-the GNU arbitrary precision library in your own programs. With these, you
-can create your own own programs that use this library.
+The static libraries, header files and documentation for using the GNU MP
+arbitrary precision library in applications.
+
+If you want to develop applications which will use the GNU MP library,
+you'll need to install the gmp-devel package.
+
+%description -l de devel
+Statische Libraries, Header Files und Dokumentation zum Benutzen der GNU MP
+Library.
+
+%description -l fr devel
+Ce package comprend les bibliothèques statiques, les fichiers d'en-tête et
+la documentation nécessaires pour utiliser la bibliothèque de calcul de
+précision dans les applications.
+
+Vous n'avez besoin de ce package que si vous comptez programmer des
+applications utilisant la bibliothèque GNU MP.
 
 %description -l pl devel
 Pliko nag³ówkowe i dokumentacji do gmp. Dziêki temu pakietowi bêdziesz
@@ -75,12 +126,18 @@ cd mpq
 %patch6 -p0
 cd ../mpz
 %patch7 -p0
-cd ..
-%patch8  -p1
-%patch9  -p1
+cd ../mpf
+%patch8 -p0
+cd ../mpn/generic
+%patch9 -p0
+cd ../..
 %patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 
 %build
+libtoolize --copy --force
 %configure 
 make CC="gcc" CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s"
 
@@ -97,18 +154,17 @@ install mpn/gmp-mparam.h ${RPM_BUILD_ROOT}%{_includedir}/
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
 
-gzip -9nf $RPM_BUILD_ROOT%{_infodir}/gmp.info*
+gzip -9nf $RPM_BUILD_ROOT%{_infodir}/gmp.info* \
+       SPEED NEWS README
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %post devel
-/sbin/install-info %{_infodir}/gmp.info.gz /usr/info/dir
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%preun devel
-if [ "$1" = 0 ]; then
-       /sbin/install-info --delete %{_infodir}/gmp.info.gz /etc/info-dir
-fi
+%postun devel
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -119,7 +175,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc SPEED NEWS README
+%doc *.gz
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_includedir}/*
 %{_infodir}/gmp.info*
@@ -127,50 +183,3 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
-
-%changelog
-* Sat May 29 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.0.2-11]
-- now package is FHS 2.0 compliant,
-- recompiled on new rpm.
-
-* Wed Apr 28 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.0.2-10]
-- standarized {un}registering info pages (added gmp-info.patch),
-- /sbin/ldconfig is now runed as -p parameter in %post{un},
-- added static subpackage,
-- added stripping shared libraries.
-
-* Sat Mar 14 1999 David Kuestler <kuestler@zeta.org.au>
-- Patch for PowerPC ( Power Mac )
-
-* Thu Feb 18 1999 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
-- Add bugfix patches from gmp homepage. (These are supposed to go into
-  gmp-2.0.3 when it is finally released.)
-- Change the files section to use %attr tags (now buildable by non-root)
-- Add a Prefix: tag.
-- Change the Copyright to LGPL.
-- Change the URL to the gmp homepage.
-
-* Thu Feb 11 1999 Michael Johnson <johnsonm@redhat.com>
-- include the private header file gmp-mparam.h because several
-  apps seem to assume that they are building against the gmp
-  source tree and require it.  Sigh.
-
-* Tue Jan 12 1999 Michael K. Johnson <johnsonm@redhat.com>
-- libtoolize to work on arm
-
-* Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
-- yet another touch of the spec file
-
-* Wed Sep  2 1998 Michael Fulbright <msf@redhat.com>
-- looked over before inclusion in RH 5.2
-
-* Sat May 24 1998 Dick Porter <dick@cymru.net>
-- Patch Makefile.in, not Makefile
-- Don't specify i586, let configure decide the arch
-
-* Sat Jan 24 1998 Marc Ewing <marc@redhat.com>
-- started with package from Toshio Kuratomi <toshiok@cats.ucsc.edu>
-- cleaned up file list
-- fixed up install-info support
This page took 0.124387 seconds and 4 git commands to generate.