From 504d0bf53edb654a9ea0819297122f3ef0ddfd2effbfc9ea5a3d551b35c88e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 10:43:54 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main ColPack revision fedda46c967a076bce7b5ba56a4ad4b0 --- .gitattributes | 23 +++++++++++ ColPack-1.0.10.tar.gz | 3 ++ ColPack.changes | 36 +++++++++++++++++ ColPack.spec | 93 +++++++++++++++++++++++++++++++++++++++++++ baselibs.conf | 4 ++ 5 files changed, 159 insertions(+) create mode 100644 .gitattributes create mode 100644 ColPack-1.0.10.tar.gz create mode 100644 ColPack.changes create mode 100644 ColPack.spec create mode 100644 baselibs.conf 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/ColPack-1.0.10.tar.gz b/ColPack-1.0.10.tar.gz new file mode 100644 index 0000000..9d8e810 --- /dev/null +++ b/ColPack-1.0.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b22ead7da80fa1735291b2d83198adf41bf36101e4fcb2c4f07c1cfacf211c75 +size 658087 diff --git a/ColPack.changes b/ColPack.changes new file mode 100644 index 0000000..c2984bc --- /dev/null +++ b/ColPack.changes @@ -0,0 +1,36 @@ +------------------------------------------------------------------- +Sat Nov 4 21:57:54 UTC 2017 - aavindraa@gmail.com + +- Update to 1.0.10. For changes, see: + https://github.com/CSCsw/ColPack/compare/6fed3fdf83c36a19364c358e75575cb51f6200db...v1.0.10 +- Use new homepage and Github repo +- Remove colpack-return-in-non-void.patch, fixed in commit: + 5ebede191a2f005f9630b3f5989db248f6626d2f +- Remove gcc6-fix-errors.patch, merged: + https://github.com/CSCsw/ColPack/pull/11 +- Clean with spec-cleaner + +------------------------------------------------------------------- +Wed May 25 09:51:32 UTC 2016 - martin.liska@suse.com + +- Add gcc6-fix-errors.patch to remove errors seen by GCC6. + +------------------------------------------------------------------- +Thu Oct 18 09:25:19 UTC 2012 - kkhere.geo@gmail.com + +- Update to 1.0.9: no changelog released upstream + +------------------------------------------------------------------- +Fri Sep 14 20:34:46 UTC 2012 - p.drouand@gmail.com + +- Update to 1.0.8: + +------------------------------------------------------------------- +Mon Mar 26 14:35:20 UTC 2012 - kkhere.geo@gmail.com + +- correct source URL + +------------------------------------------------------------------- +Thu Mar 22 13:00:33 UTC 2012 - kkhere.geo@gmail.com + +- Create new package for ColPack with version 1.0.6 diff --git a/ColPack.spec b/ColPack.spec new file mode 100644 index 0000000..160090c --- /dev/null +++ b/ColPack.spec @@ -0,0 +1,93 @@ +# +# spec file for package ColPack +# +# Copyright (c) 2017 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/ +# + + +%define lname libColPack0 +Name: ColPack +Version: 1.0.10 +Release: 0 +Summary: Graph Coloring Library for C/C++ +License: LGPL-3.0 +Group: Development/Libraries/C and C++ +Url: http://cscapes.cs.purdue.edu/coloringpage/ +Source: https://github.com/CSCsw/ColPack/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source2: baselibs.conf +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libstdc++-devel +BuildRequires: libtool + +%description +This package provides algorithms for efficient solution of partitioning +problems occuring in the analysis of sparsity patterns in derivative +computations formulated as Graph Coloring problems. + +For details see http://www.cscapes.org/coloringpage/software.htm + +%package -n %{lname} +Summary: Graph Coloring Library for C/C++ +Group: System/Libraries + +%description -n %{lname} +This package provides algorithms for efficient solution of partitioning +problems occuring in the analysis of sparsity patterns in derivative +computations formulated as Graph Coloring problems. + +For details see http://www.cscapes.org/coloringpage/software.htm + +%package devel +Summary: Graph Coloring Library for C/C++ -- development files +Group: Development/Libraries/C and C++ +Requires: %{lname} = %{version} + +%description devel +This package provides algorithms for efficient solution of partitioning +problems occuring in the analysis of sparsity patterns in derivative +computations formulated as Graph Coloring problems. + +For details see http://www.cscapes.org/coloringpage/software.htm + +This package provides the development environment for ColPack + +%prep +%setup -q + +%build +autoreconf -v --install --force +%configure --prefix=%{_prefix} +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +find %{buildroot} -type f -name "*.a" -delete; +rm -rf %{buildroot}%{_builddir}/%{name}-%{version}/progs +rm -rf %{buildroot}%{_prefix}/examples/Basic + +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig + +%files -n %{lname} +%{_libdir}/libColPack.so.* + +%files devel +%dir %{_includedir}/ColPack +%{_includedir}/ColPack/*.h +%{_libdir}/libColPack.so + +%changelog diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..3a2ac2c --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libColPack0 +ColPack-devel + requires -ColPack- + requires "libColPack0- = "