Name: brial Version: 0.8.5 Release: 3%{?dist} Summary: Framework for Boolean Rings # The entire source code is GPLv2+ except the Cudd directory that is BSD License: GPLv2+ and BSD URL: https://github.com/BRiAl/BRiAl/ Source0: https://github.com/BRiAl/BRiAl/releases/download/%{version}/%{name}-%{version}.tar.bz2 # brial-0.8.5/Cudd/cudd/cudd.h:#define CUDD_VERSION "2.5.0" Provides: bundled(cudd) = 2.5.0 BuildRequires: boost-devel BuildRequires: gd-devel BuildRequires: python2-devel BuildRequires: m4ri-devel %description The core of BRiAl is a C++ library, which provides high-level data types for Boolean polynomials and monomials, exponent vectors, as well as for the underlying polynomial rings and subsets of the powerset of the Boolean variables. As a unique approach, binary decision diagrams are used as internal storage type for polynomial structures. On top of this C++-library we provide a Python interface. This allows parsing of complex polynomial systems, as well as sophisticated and extendable strategies for Gröbner base computation. BRiAL features a powerful reference implementation for Gröbner basis computation. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: boost-devel%{?_isa} Obsoletes: polybori-devel <= %{version}-1 Provides: polybori-devel = %{version}-%{release} %description devel Development headers and libraries for %{name}. %package -n python-%{name} Summary: Python interface to %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description -n python-%{name} Python interface to %{name}. %prep %setup -q %build export CXXFLAGS="%{optflags} -std=c++98" %configure --enable-shared --disable-static # Get rid of undesirable hardcoded rpaths, and workaround libtool reordering # -Wl,--as-needed after all the libraries. sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ -e 's|CC="\(g..\)"|CC="\1 -Wl,--as-needed"|' \ -i libtool make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc README %license LICENSE %{_libdir}/lib%{name}*.so.* %files devel %doc ChangeLog %{_includedir}/polybori.h %{_includedir}/polybori/ %{_libdir}/lib%{name}*.so %files -n python-%{name} %{python2_sitelib}/%{name}/ %changelog * Wed Aug 17 2016 pcpa 0.8.5-3 - Correct summary to talk about BRiAl and not PolyBori (#1367526#c4) * Tue Aug 16 2016 pcpa 0.8.5-2 - Correct setting of CXXFLAGS (#1367526#c2) - Add proper multiple license information (#1367526#c2) - Add Provides/Obsoletes to devel package (#1367526#c2) - Remove unused shared library dependencies (#1367526#c2) - Add version information to bundled Cudd (#1367526#c2) - Change to a more informational summary (#1367526#c2) * Wed Aug 10 2016 pcpa 0.8.5-1 - Initial brial spec file