Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
flint
flint.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File flint.spec of Package flint
# # spec file for package flint # # Copyright (c) 2015 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 http://bugs.opensuse.org/ # Name: flint %define lname libflint0 Version: 2.4.5 Release: 0 Summary: C library for doing number theory License: GPL-2.0+ Group: Productivity/Scientific/Math Url: http://flintlib.org/ #Git-Clone: git://github.com/wbhart/flint2 f14355e9070e235a68b933b3da8c238468e9a0e2 [2.4.4] #Git-Clone: git://git.inai.de/flint master ec03518870f1aff8bf351ba2c83a0e2a8ba3f7b0 [patch1] Source: http://flintlib.org/%name-%version.tar.gz Patch1: 0001-build-provide-autotools-files.patch Patch2: 0002-compile-fixes.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gmp-devel >= 5 BuildRequires: libtool BuildRequires: mpfr-devel >= 3 BuildRequires: ntl-devel %description FLINT (Fast Library for Number Theory) is a C library in support of computations in number theory. It is also a research project into algorithms in number theory. At this stage, FLINT consists mainly of fast integer and polynomial arithmetic and linear algebra. %package -n %lname Summary: C library for doing number theory Group: System/Libraries %description -n %lname FLINT (Fast Library for Number Theory) is a C library in support of computations in number theory. It is also a research project into algorithms in number theory. At this stage, FLINT consists mainly of fast integer and polynomial arithmetic and linear algebra. %package devel Summary: Development files for flint Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel FLINT (Fast Library for Number Theory) is a C library in support of computations in number theory. It is also a research project into algorithms in number theory. At this stage, FLINT consists mainly of fast integer and polynomial arithmetic and linear algebra. This subpackage contains the include files and library links for developing against the FLINT library. %prep %setup -q %patch -P 1 -P 2 -p1 %build chmod a+x *.sh ./autogen.sh export CFLAGS="%optflags" export CXXFLAGS="%optflags -std=gnu++11" %ifarch x86_64 %ix86 export CFLAGS="$CFLAGS -mno-popcnt" export CXXFLAGS="$CXXFLAGS -mno-popcnt" %endif %configure --disable-static --with-ntl --enable-reentrant --enable-silent-rules make %{?_smp_mflags} %install b="%buildroot"; %make_install DESTDIR="$b" rm -f "$b/%_libdir"/*.la %fdupes %buildroot/%_prefix %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %_libdir/libflint.so.0* %doc gpl-2.0.txt %files devel %defattr(-,root,root) %_includedir/flint/ %_libdir/libflint.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor