File gap-float.spec of Package gap-float

# spec file for package gap-float
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

Name:           gap-float
Version:        0.7.6
Release:        0
Summary:        GAP: Integration of mpfr, mpfi, mpc, fplll and cxsc in GAP
License:        GPL-3.0+
Group:          Productivity/Scientific/Math

#Git-Clone:	git://
Patch1:         fplll.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  cxsc-devel
BuildRequires:  gap-devel >= 4.7
BuildRequires:  gap-rpm-devel
BuildRequires:  gcc-c++
BuildRequires:  libtool
BuildRequires:  mpc-devel
BuildRequires:  mpfi-devel
BuildRequires:  mpfr-devel
BuildRequires:  pkgconfig(fplll)
Requires:       gap-core >= 4.7
Requires:       gap-gapdoc >= 1.0

The Float package allows GAP to manipulate floating-point numbers
with arbitrary precision. It is based on MPFR, MPFI, MPC, CXSC,

%setup -qn float-%version
%patch -P 1 -p1

autoreconf -fi
%configure --with-gaproot="%gapdir" --with-cxsc-include="%_includedir/cxsc" \
make %{?_smp_mflags}

rm -Rf bin/*/.libs
find bin -type f ! -name -delete
rm -Rf {aclocal.m4,autom4*,build-aux,config.*,configu*,libtool*,m4,src}
find . -type f -name "Makefile*" -delete

%files -f %name.files

openSUSE Build Service is sponsored by