2014-02-05 16:41:17 +01:00
|
|
|
#
|
|
|
|
# spec file for package gap-float
|
|
|
|
#
|
2017-09-11 20:44:58 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-02-05 16:41:17 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gap-float
|
2017-09-08 19:01:14 +02:00
|
|
|
Version: 0.7.6
|
2014-02-05 16:41:17 +01:00
|
|
|
Release: 0
|
2017-09-11 20:44:58 +02:00
|
|
|
Summary: GAP: Integration of mpfr, mpfi, mpc, fplll and cxsc in GAP
|
2014-04-18 13:51:51 +02:00
|
|
|
License: GPL-3.0+
|
2014-02-05 16:41:17 +01:00
|
|
|
Group: Productivity/Scientific/Math
|
|
|
|
Url: http://laurentbartholdi.github.com/float/
|
|
|
|
|
|
|
|
#Git-Clone: git://github.com/laurentbartholdi/float/
|
2017-09-17 21:33:53 +02:00
|
|
|
Source: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/float-%version.tar.bz2
|
2014-02-05 16:41:17 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: cxsc-devel
|
2014-04-18 13:51:51 +02:00
|
|
|
BuildRequires: gap-devel >= 4.7
|
2014-02-05 16:41:17 +01:00
|
|
|
BuildRequires: gap-rpm-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: mpc-devel
|
|
|
|
BuildRequires: mpfi-devel
|
|
|
|
BuildRequires: mpfr-devel
|
2017-09-11 20:44:58 +02:00
|
|
|
BuildRequires: pkgconfig(fplll)
|
2014-04-18 13:51:51 +02:00
|
|
|
Requires: gap-core >= 4.7
|
2014-02-05 16:41:17 +01:00
|
|
|
Requires: gap-gapdoc >= 1.0
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Float package allows GAP to manipulate floating-point numbers
|
|
|
|
with arbitrary precision. It is based on MPFR, MPFI, MPC, CXSC,
|
|
|
|
FPLLL.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -qn float-%version
|
|
|
|
|
|
|
|
%build
|
2014-06-18 19:23:18 +02:00
|
|
|
autoreconf -fi
|
2014-02-05 16:41:17 +01:00
|
|
|
%configure --with-gaproot="%gapdir" --with-cxsc-include="%_includedir/cxsc" \
|
2017-04-29 23:28:50 +02:00
|
|
|
--with-fplll="%_prefix"
|
2014-02-05 16:41:17 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -Rf bin/*/.libs
|
|
|
|
find bin -type f ! -name float.so -delete
|
2014-06-18 19:23:18 +02:00
|
|
|
rm -Rf {aclocal.m4,autom4*,build-aux,config.*,configu*,libtool*,m4,src}
|
|
|
|
find . -type f -name "Makefile*" -delete
|
2014-02-05 16:41:17 +01:00
|
|
|
%gappkg_simple_install
|
|
|
|
|
|
|
|
%files -f %name.files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|