Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37324770
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: flint2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define soname 17

Name: flint2
Version: 2.9.0
Release: alt1
Summary: Fast Library for Number Theory

# Flint itself is LGPLv2+.  The hmod_mat extension is GPLv2+.

License: LGPL-2.0+ and GPL-2.0+
Group: System/Libraries
Url: https://www.flintlib.org/

Source: %url/%name-%version.tar.gz

BuildPreReq: rpm-build-ninja
BuildRequires: gcc-c++ cmake libgmp-devel libgc-devel libmpfr-devel texlive-collection-basic libblas-devel
#BuildRequires: flexiblas-devel ntl-devel

%description
FLINT is a C library for doing number theory, written by William Hart
and David Harvey.

%package  -n lib%name-%soname
Summary: %summary
Group: System/Libraries

%description  -n lib%name-%soname
FLINT is a C library for doing number theory, written by William Hart
and David Harvey.

%package -n lib%name-devel
Summary: Development files for FLINT
Group: Development/Other

%description -n lib%name-devel
The %name-devel package contains libraries and header files for
developing applications that use %name.

%prep
%setup

%build
%cmake -GNinja
cmake --build "%_cmake__builddir" -j%__nprocs

%install
%cmake_install

# Fix permissions

#chmod 0755 %%buildroot%%_libdir/libflint*.so.*

# Install CPimport.txt

#mkdir -p %%buildroot%%_datadir/flint
#cp -p qadic/CPimport.txt %%buildroot%%_datadir/flint

#%%ifnarch %%arm %%ix86

# Tests temporarily disabled on 32-bit builders.
# See https://github.com/wbhart/flint2/issues/786
#%%check
#export LD_LIBRARY_PATH=$PWD
#make check QUIET_CC= QUIET_CXX= QUIET_AR= \
#  LDFLAGS="%%build_ldflags" LIBDIR=%_lib
#%%endif

%files -n lib%name-%soname
%doc AUTHORS NEWS README LICENSE
%_libdir/libflint.so.%{soname}*
#%%_datadir/flint/

%files -n lib%name-devel
%_includedir/flint/
%_libdir/libflint.so

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin