gmp/gmp.spec

429 lines
13 KiB
RPMSpec
Raw Normal View History

#
# Important for %{ix86}:
# This rpm has to be build on a CPU with sse2 support like Pentium 4 !
#
%define configure CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; ./configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --datadir=%{_datadir} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir}
%define mpfr_version 2.2.0
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
Summary: A GNU arbitrary precision library.
Name: gmp
2006-07-14 19:44:08 +00:00
Version: 4.1.4
Release: 10
URL: http://www.swox.com/gmp/
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
Source1: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
Source2: gmp.h
Source3: gmp-mparam.h
Patch0: gmp-4.0.1-s390.patch
2006-07-14 19:44:08 +00:00
Patch1: gmp-4.1.2-ppc64.patch
Patch2: gmp-4.1.2-autoconf.patch
2006-07-14 19:44:08 +00:00
Patch3: gmp-4.1.4-fpu.patch
# http://www.mpfr.org/mpfr-%{mpfr_version}/patches
Patch4: mpfr-2.2.0-cumulative.patch
License: LGPL
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-root
2006-07-14 19:44:08 +00:00
BuildRequires: automake16 autoconf libtool
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%description
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 because 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.
%package devel
Summary: Development tools for the GNU MP arbitrary precision library.
Group: Development/Libraries
2006-07-14 19:44:08 +00:00
Requires: %{name} = %{version}
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
PreReq: /sbin/install-info
%description devel
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. You'll also need to
install the gmp package.
%prep
%setup -q -a1
%patch0 -p1
2006-07-14 19:44:08 +00:00
#patch1 -p1
%patch2 -p1
2006-07-14 19:44:08 +00:00
%patch3 -p1 -b .fpu
cd mpfr-%{mpfr_version}
%patch4 -p1
cd ..
2006-07-14 19:44:08 +00:00
libtoolize --force
aclocal-1.6 -I mpn -I mpfr
automake-1.6
autoconf
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%build
if as --help | grep -q execstack; then
# the object files do not require an executable stack
export CCAS="gcc -c -Wa,--noexecstack"
fi
2006-07-14 19:44:08 +00:00
mkdir base
cd base
ln -s ../configure .
%configure --enable-mpbsd --disable-mpfr --enable-cxx
perl -pi -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=\"-L\\\$libdir\"|g;' libtool
export LD_LIBRARY_PATH=`pwd`/.libs
make %{?_smp_mflags}
cd ..
%ifarch %{ix86}
mkdir build-sse2
cd build-sse2
ln -s ../configure .
CFLAGS="-O2 -g -march=pentium4"
2006-07-14 19:44:08 +00:00
%configure --enable-mpbsd --enable-mpfr --enable-cxx pentium4-redhat-linux
perl -pi -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=\"-L\\\$libdir\"|g;' libtool
export LD_LIBRARY_PATH=`pwd`/.libs
make %{?_smp_mflags}
cd ..
%endif
cd mpfr-%{mpfr_version}
# XXX Apparently mpfr doesn't support separate build dir
ln -s ../gmp-impl.h ../base/
ln -s ../longlong.h ../base/
%configure --disable-assert --with-gmp-build=`cd ../base; pwd`
make %{?_smp_mflags}
cd ..
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
2006-07-14 19:44:08 +00:00
cd base
export LD_LIBRARY_PATH=`pwd`/.libs
%{makeinstall}
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
install -m 644 gmp-mparam.h ${RPM_BUILD_ROOT}%{_includedir}
rm -f $RPM_BUILD_ROOT%{_libdir}/lib{gmp,mp,gmpxx}.la
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
ln -sf libgmpxx.so.3 $RPM_BUILD_ROOT%{_libdir}/libgmpxx.so
cd ..
%ifarch %{ix86}
cd build-sse2
export LD_LIBRARY_PATH=`pwd`/.libs
mkdir $RPM_BUILD_ROOT%{_libdir}/sse2
install -m 644 .libs/libgmp.so.3.* $RPM_BUILD_ROOT%{_libdir}/sse2
cp -a .libs/libgmp.so.3 $RPM_BUILD_ROOT%{_libdir}/sse2
chmod 644 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmp.so.3
install -m 644 .libs/libgmpxx.so.3.* $RPM_BUILD_ROOT%{_libdir}/sse2
cp -a .libs/libgmpxx.so.3 $RPM_BUILD_ROOT%{_libdir}/sse2
chmod 644 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmpxx.so.3
install -m 644 .libs/libmp.so.3.* $RPM_BUILD_ROOT%{_libdir}/sse2
cp -a .libs/libmp.so.3 $RPM_BUILD_ROOT%{_libdir}/sse2
chmod 644 $RPM_BUILD_ROOT%{_libdir}/sse2/libmp.so.3
cd ..
%endif
cd mpfr-%{mpfr_version}
%{makeinstall}
rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la
install -m 644 ../mpfrxx.h $RPM_BUILD_ROOT%{_includedir}
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
cd ..
# Rename gmp.h to gmp-<arch>.h and gmp-mparam.h to gmp-mparam-<arch>.h to
# avoid file conflicts on multilib systems and install wrapper include files
# gmp.h and gmp-mparam-<arch>.h
basearch=%{_arch}
# always use i386 for iX86
%ifarch %{ix86}
basearch=i386
%endif
# Rename files and install wrappers
mv %{buildroot}/%{_includedir}/gmp.h %{buildroot}/%{_includedir}/gmp-${basearch}.h
install -m644 %{SOURCE2} %{buildroot}/%{_includedir}/gmp.h
mv %{buildroot}/%{_includedir}/gmp-mparam.h %{buildroot}/%{_includedir}/gmp-mparam-${basearch}.h
install -m644 %{SOURCE3} %{buildroot}/%{_includedir}/gmp-mparam.h
%check
2004-09-26 09:14:59 +00:00
%ifnarch ppc
2006-07-14 19:44:08 +00:00
cd base
export LD_LIBRARY_PATH=`pwd`/.libs
make %{?_smp_mflags} check
cd ..
2004-09-26 09:14:59 +00:00
%endif
%ifarch %{ix86}
cd build-sse2
export LD_LIBRARY_PATH=`pwd`/.libs
make %{?_smp_mflags} check
cd ..
%endif
cd mpfr-%{mpfr_version}
make %{?_smp_mflags} check
cd ..
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel
2006-07-14 19:44:08 +00:00
/sbin/install-info %{_infodir}/gmp.info.gz %{_infodir}/dir
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%preun devel
if [ "$1" = 0 ]; then
2006-07-14 19:44:08 +00:00
/sbin/install-info --delete %{_infodir}/gmp.info.gz %{_infodir}/dir
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
fi
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING COPYING.LIB NEWS README
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%{_libdir}/libgmp.so.*
%{_libdir}/libmp.so.*
%{_libdir}/libgmpxx.so.*
%ifarch %{ix86}
2006-07-14 19:44:08 +00:00
%{_libdir}/sse2/*
%endif
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%files devel
%defattr(-,root,root)
%{_libdir}/libmp.so
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%{_libdir}/libgmp.so
%{_libdir}/libgmpxx.so
%{_libdir}/libmp.a
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%{_libdir}/libgmp.a
%{_libdir}/libgmpxx.a
2006-07-14 19:44:08 +00:00
%{_libdir}/libmpfr.a
%{_includedir}/*.h
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%{_infodir}/gmp.info*
2006-07-14 19:44:08 +00:00
%{_infodir}/mpfr.info*
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
%changelog
* Thu Nov 2 2006 Thomas Woerner <twoerner@redhat.com> 4.1.4-10
- fixed arch order in gmp.h and gmp-mparam.h wrapper for all architectures
* Thu Nov 2 2006 Joe Orton <jorton@redhat.com> 4.1.4-10
- include ppc64 header on ppc64 not ppc header
* Fri Oct 27 2006 Thomas Woerner <twoerner@redhat.com> - 4.1.4-9
- fixed multilib devel conflicts for gmp (#212286)
* Thu Oct 26 2006 Jakub Jelinek <jakub@redhat.com> - 4.1.4-8
- upgrade mpfr to 2.2.0 (#211971)
- apply mpfr 2.2.0 cumulative patch
* Fri Jul 14 2006 Thomas Woerner <twoerner@redhat.com> - 4.1.4-7
2006-07-14 19:45:15 +00:00
- release bump
2006-02-11 03:12:15 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.1.4-6.2.1
- bump again for double-long bug on ppc(64)
2006-02-07 11:49:57 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.1.4-6.2
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:40:35 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Mon Apr 18 2005 Thomas Woerner <twoerner@redhat.com> 4.1.4-6
- fixed __setfpucw call in mpfr-test.h
2005-03-02 12:37:34 +00:00
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 4.1.4-5
- build with gcc-4
2005-02-09 10:29:36 +00:00
* Wed Feb 09 2005 Karsten Hopp <karsten@redhat.de> 4.1.4-4
- rebuilt
2004-09-26 08:35:44 +00:00
* Sun Sep 26 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- 4.1.4
- disable ppc64 patch, now fixed upstream
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon May 24 2004 Thomas Woerner <twoerner@redhat.com> 4.1.3-1
- new version 4.1.3
* Wed Mar 31 2004 Thomas Woerner <twoerner@redhat.com> 4.1.2-14
- dropped RPATH (#118506)
* Sat Mar 06 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- also build SSE2 DSOs, patch from Ulrich Drepper
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu Jan 29 2004 Thomas Woerner <twoerner@redhat.com> 4.1.2-11
- BuildRequires for automake16
* Mon Dec 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- fix symlink to libgmpxx.so.3 #111135
- add patch to factorize.c from gmp homepage
* Thu Oct 23 2003 Joe Orton <jorton@redhat.com> 4.1.2-9
- build with -Wa,--noexecstack
* Thu Oct 23 2003 Joe Orton <jorton@redhat.com> 4.1.2-8
- build assembly code with -Wa,--execstack
- use parallel make
- run tests, and fix C++ therein
* Thu Oct 02 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- enable mpfr #104395
- enable cxx #80195
- add COPYING.LIB
- add fixes from gmp web-site
- remove some cruft patches for older libtool releases
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Jun 03 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- make configure.in work with newer autoconf
* Sun Jun 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- do not set extra_functions for s390x #92001
* Thu Feb 13 2003 Elliot Lee <sopwith@redhat.com> 4.1.2-3
- Add ppc64 patch, accompanied by running auto*
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Wed Jan 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 4.1.2
* Tue Dec 03 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 4.1.1
- remove un-necessary patches
- adjust s390/x86_64 patch
* Sun Oct 06 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- add s390x patch
- disable current x86-64 support in longlong.h
* Mon Jul 8 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 4.1-4
- Add 4 patches, among them one for #67918
- Update URL
- s/Copyright/License/
* Mon Jul 8 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 4.1-3
- Redefine the configure macro, the included configure
script isn't happy about the rpm default one (#68190). Also, make
sure the included libtool isn't replaced,
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Sat May 25 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- update to version 4.1
- patch s390 gmp-mparam.h to match other archs.
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Mon Mar 11 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 4.0.1-3
- Use standard %%configure macro and edit %%{_tmppath}
* Tue Feb 26 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 4.0.1-2
- Rebuild
* Tue Jan 22 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 4.0.1
- bzip2 src
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Mon Feb 05 2001 Philipp Knirsch <pknirsch@redhat.de>
- Fixed bugzilla bug #25515 where GMP wouldn't work on IA64 as IA64 is not
correctly identified as a 64 bit platform.
* Mon Dec 18 2000 Preston Brown <pbrown@redhat.com>
- include bsd mp library
* Tue Oct 17 2000 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 3.1.1
* Sun Sep 3 2000 Florian La Roche <Florian.LaRoche@redhat.com>
- update to 3.1
auto-import changelog data from gmp-3.0.1-5.src.rpm Sat Aug 19 2000 Preston Brown <pbrown@redhat.com> - devel subpackage depends on main package so that .so symlink is OK. Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 03 2000 Nalin Dahyabhai <nalin@redhat.com> - switch to the configure and makeinstall macros - FHS-compliance fixing - move docs to non-devel package Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - libtoolize for ia64 Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0.1 Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com> - sparc64 fixes for 3.0 Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 3.0 Mon Feb 14 2000 Matt Wilson <msw@redhat.com> - #include <string.h> in files that use string functions Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> - fix description and summary Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com> - s/GPL/LGPL/ - build as non-root (#7604) Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz> - merge in some debian gmp fixes - Ulrich Drepper's __gmp_scale2 fix - my mpf_set_q fix - sparc64 fixes Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com> - add sparc patch for PIC handling Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 8) 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 02 1998 Michael Fulbright <msf@redhat.com> - looked over before inclusion in RH 5.2 Sun 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
2004-09-09 05:20:35 +00:00
* Sat Aug 19 2000 Preston Brown <pbrown@redhat.com>
- devel subpackage depends on main package so that .so symlink is OK.
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Sat Jun 3 2000 Nalin Dahyabhai <nalin@redhat.com>
- switch to the configure and makeinstall macros
- FHS-compliance fixing
- move docs to non-devel package
* Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
- libtoolize for ia64
* Fri Apr 28 2000 Florian La Roche <Florian.LaRoche@redhat.com>
- update to 3.0.1
* Thu Apr 27 2000 Jakub Jelinek <jakub@redhat.com>
- sparc64 fixes for 3.0
* Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
- update to 3.0
* Mon Feb 14 2000 Matt Wilson <msw@redhat.com>
- #include <string.h> in files that use string functions
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
- fix description and summary
* Mon Dec 06 1999 Michael K. Johnson <johnsonm@redhat.com>
- s/GPL/LGPL/
- build as non-root (#7604)
* Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz>
- merge in some debian gmp fixes
- Ulrich Drepper's __gmp_scale2 fix
- my mpf_set_q fix
- sparc64 fixes
* Wed Apr 28 1999 Cristian Gafton <gafton@redhat.com>
- add sparc patch for PIC handling
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 8)
* 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