[info=6cb0993631a4c21703fe4da80d389184aa58f83aee23a15724e9bce01e84de9f]
OBS-URL: https://build.opensuse.org/package/show/science/libbraiding?expand=0&rev=5
This commit is contained in:
77
libbraiding.spec
Normal file
77
libbraiding.spec
Normal file
@@ -0,0 +1,77 @@
|
||||
#
|
||||
# spec file for package libbraiding
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: libbraiding
|
||||
%define lname libbraiding0
|
||||
Version: 1.2
|
||||
Release: 0
|
||||
Summary: Library for computations on braid groups
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Scientific/Math
|
||||
URL: https://github.com/miguelmarco/libbraiding
|
||||
Source: https://github.com/miguelmarco/libbraiding/releases/download/%version/%name-%version.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
CBraid is a C++ library for various computations on braid groups,
|
||||
such as normal forms.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for computations on braid groups
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
CBraid is a C++ library for various computations on braid groups,
|
||||
such as normal forms.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the CBraid library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
CBraid is a C++ library for various computations on braid groups,
|
||||
such as normal forms.
|
||||
|
||||
This subpackage provides the development headers for it.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%_libdir/libbraiding.so.0*
|
||||
|
||||
%files devel
|
||||
%_libdir/libbraiding.so
|
||||
%_includedir/*braid*.h
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user