commit fcf3e1bbdff4ad858870750fc3ef507bdb13277e86b76cc90fe9a51060814dae Author: Atri Bhattacharya Date: Mon Sep 21 11:00:06 2020 +0000 Accepting request 835181 from home:jengelh:branches:science OBS-URL: https://build.opensuse.org/request/show/835181 OBS-URL: https://build.opensuse.org/package/show/science/libbraiding?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libbraiding-1.1.tar.gz b/libbraiding-1.1.tar.gz new file mode 100644 index 0000000..d816e61 --- /dev/null +++ b/libbraiding-1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f436998c8639b4ae6073a4d16a024f7278abbd305961c901347accd6b70c4a53 +size 377161 diff --git a/libbraiding.changes b/libbraiding.changes new file mode 100644 index 0000000..fcfc50f --- /dev/null +++ b/libbraiding.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Sep 17 11:30:39 UTC 2020 - Jan Engelhardt + +- Initial package (version 1.1) for build.opensuse.org diff --git a/libbraiding.spec b/libbraiding.spec new file mode 100644 index 0000000..257c3ed --- /dev/null +++ b/libbraiding.spec @@ -0,0 +1,77 @@ +# +# spec file for package libbraiding +# +# Copyright (c) 2020 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.1 +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/1.1/%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