# # 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: 2.1 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 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 * Sat Apr 12 2025 Bjørn Lie - Drop baselibs.conf, 32bit support is not needed anymore * Sat Nov 4 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 2016 martin.liska@suse.com - Add gcc6-fix-errors.patch to remove errors seen by GCC6. * Thu Oct 18 2012 kkhere.geo@gmail.com - Update to 1.0.9: no changelog released upstream * Fri Sep 14 2012 p.drouand@gmail.com - Update to 1.0.8: * Mon Mar 26 2012 kkhere.geo@gmail.com - correct source URL * Thu Mar 22 2012 kkhere.geo@gmail.com - Create new package for ColPack with version 1.0.6