2021-06-21 17:34:12 +02:00
|
|
|
#
|
|
|
|
# spec file for package pplite
|
|
|
|
#
|
2023-11-12 18:21:57 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2021-06-21 17:34:12 +02: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 https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-11-12 18:21:57 +01:00
|
|
|
%define lname libpplite4
|
2021-06-21 17:34:12 +02:00
|
|
|
%define _lto_cflags %nil
|
|
|
|
Name: pplite
|
2023-11-12 18:21:57 +01:00
|
|
|
Version: 0.11
|
2021-06-21 17:34:12 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Computations with polyhedra
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Productivity/Scientific/Math
|
2023-11-12 18:21:57 +01:00
|
|
|
URL: https://github.com/ezaffanella/PPLite/
|
|
|
|
Source: https://github.com/ezaffanella/PPLite/raw/main/releases/%name-%version.tar.gz
|
2021-06-21 17:34:12 +02:00
|
|
|
BuildRequires: flint-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gmp-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
PPLite is a C++ library implementing the abstract domain of convex polyhedra,
|
|
|
|
to be used in tools for static analysis and verification.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: Library for computations with polyhedra
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
PPLite is a C++ library implementing the abstract domain of convex polyhedra,
|
|
|
|
to be used in tools for static analysis and verification.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Headers and generators for pplite
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
PPLite is a C++ library implementing the abstract domain of convex polyhedra,
|
|
|
|
to be used in tools for static analysis and verification.
|
|
|
|
The main characteristics of PPLite:
|
|
|
|
|
|
|
|
* Both closed and NNC rational convex polyhedra are supported.
|
|
|
|
* Exact computations are based on FLINT.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
|
|
|
|
%check
|
2023-11-12 21:55:40 +01:00
|
|
|
if ! %make_build check; then
|
|
|
|
%ifnarch ppc64le
|
|
|
|
exit 1
|
|
|
|
%endif
|
|
|
|
:
|
|
|
|
fi
|
2021-06-21 17:34:12 +02:00
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
2021-06-21 18:01:26 +02:00
|
|
|
%license COPYING
|
2021-06-21 17:34:12 +02:00
|
|
|
%_libdir/libpplite.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%_bindir/pplite_lcdd
|
|
|
|
%_libdir/libpplite.so
|
|
|
|
%_includedir/pplite/
|
|
|
|
|
|
|
|
%changelog
|