## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Testing needs to be online %global with_check 0 %global blaslib flexiblas %global cmake_blas_flags -DBLA_VENDOR=FlexiBLAS Name: qrmumps Version: 3.1 Release: %autorelease Summary: A multithreaded multifrontal QR solver License: LGPL-3.0-or-later URL: http://buttari.perso.enseeiht.fr/qr_mumps/ Source0: https://gitlab.com/qr_mumps/qr_mumps/-/archive/%{version}/qr_mumps-%{version}.tar.gz BuildRequires: gcc-gfortran, gcc-c++, gcc BuildRequires: cmake BuildRequires: metis-devel >= 5.1.0-12 BuildRequires: scotch-devel BuildRequires: suitesparse-devel BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: flexiblas-devel Requires: gcc-gfortran%{?_isa} Provides: qr_mumps = 0:%{version}-%{release} Obsoletes: qr_mumps < 0:3.0-1 # Add libraries soname and fix the installation paths Patch0: %{name}-fix_libpaths+libsoname.patch %description qr_mumps is a software package for the solution of sparse, linear systems on multicore computers. It implements a direct solution method based on the QR factorization of the input matrix. Therefore, it is suited to solving sparse least-squares problems and to computing the minimum-norm solution of sparse, underdetermined problems. It can obviously be used for solving square problems in which case the stability provided by the use of orthogonal transformations comes at the cost of a higher operation count with respect to solvers based on, e.g., the LU factorization. qr_mumps supports real and complex, single or double precision arithmetic. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Shared links and header files of %{name}. %package benchmarks Summary: Benchmark files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description benchmarks Benchamrks to evaluate the performance of QRM are provided in the =timing/= directory. These allow for running experiments on the solution of dense and sparse linear systems through the $QR$ and Cholesky factorizations. Use the =-h= command line argument to get help on using these benchmarks. %package doc Summary: PDF/HTML documentation files of %{name} BuildArch: noarch %description doc PDF documentation files of %{name}. ######################################################## %prep %autosetup -n qr_mumps-%{version} -p1 # Those files should actually be the ones provided by CMake itself. rm -f aux/find/Find{BLAS,LAPACK}.cmake %build %cmake -Wno-dev -S . -DQRM_VERSION:STRING=%{version} \ -DARITH="d;s;z;c" -DCMAKE_BUILD_TYPE:STRING=Release \ -DQRM_ORDERING_AMD:BOOL=ON -DQRM_ORDERING_METIS:BOOL=ON \ -DQRM_ORDERING_SCOTCH:BOOL=ON -DQRM_WITH_STARPU:BOOL=OFF \ -DQRM_WITH_CUDA:BOOL=OFF -DAMD_INCLUDE_DIRS:PATH=%{_includedir}/suitesparse \ %{cmake_blas_flags} \ -DBLAS_VERBOSE:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \ -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES %cmake_build %install %cmake_install %if 0%{?with_check} %check export LD_LIBRARY_PATH=%{buildroot}%{_libdir} %ctest %endif %files %license doc/COPYING.LESSER %doc Changelog.org README.org %{_libdir}/lib*qrm.so.3 %{_libdir}/libqrm_common.so.3 %{_libdir}/lib*qrm.so.%{version} %{_libdir}/libqrm_common.so.%{version} %files devel %{_includedir}/qrm/ %{_fmoddir}/qrm/ %{_libdir}/lib*qrm.so %{_libdir}/libqrm_common.so %{_libdir}/cmake/qrm/ %files benchmarks %{_bindir}/*qrm_* %files doc %license doc/COPYING.LESSER %doc doc/* %changelog ## START: Generated by rpmautospec * Fri Sep 13 2024 Antonio Trande - 3.1-1 - Release 3.1 * Fri Aug 16 2024 Sandro Mani - 3.0.2-16 - Rebuild (scotch-7.0.4) * Fri Jul 19 2024 Fedora Release Engineering - 3.0.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Miroslav Suchý - 3.0.2-14 - convert LGPLv3+ license to SPDX * Sun Feb 04 2024 Orion Poplawski - 3.0.2-13 - Rebuild with suitesparse 7.6.0 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Aug 17 2023 Antonio Trande - 3.0.2-10 - Rebuild for scotch-7.0.4 * Fri Jul 21 2023 Fedora Release Engineering - 3.0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Apr 27 2023 Antonio Trande - 3.0.2-8 - Rebuild for scotch-7.0.3 * Fri Jan 20 2023 Fedora Release Engineering - 3.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 3.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 3.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 13 2021 Björn Esser - 3.0.2-3 - Remove troublesome vendor modified versions of CMake modules * Tue Jul 13 2021 Björn Esser - 3.0.2-2 - Properly set BLA_VENDOR to FlexiBLAS for cmake >= 3.19 * Thu May 06 2021 Antonio Trande - 3.0.2-1 - Release 3.0.2 * Fri Feb 19 2021 Antonio T - 3.0.1-1 - Release 3.0.1 * Wed Jan 27 2021 Fedora Release Engineering - 3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 18 2020 Antonio T - 3.0-2 - Adapt the package to epel8 * Mon Nov 16 2020 Antonio T - 3.0-1 - Release 3.0 * Sun Aug 16 2020 sagitter - 2.0-29 - Add FLEXIBLAS=netlib * Sun Aug 16 2020 sagitter - 2.0-28 - Add new Makefile.inc * Sun Aug 16 2020 sagitter - 2.0-27 - Add qrmumps-exclude_examples.patch * Sun Aug 16 2020 sagitter - 2.0-26 - Exclude examples * Sun Aug 16 2020 Iñaki Úcar - 2.0-25 - https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager * Wed Jul 29 2020 Fedora Release Engineering - 2.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 03 2020 sagitter - 2.0-23 - Patched for GCC 10 * Thu Jan 30 2020 Fedora Release Engineering - 2.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jan 26 2020 sagitter - 2.0-21 - Fix comment * Sun Jan 26 2020 sagitter - 2.0-20 - Disable tests on ARM * Sun Jan 26 2020 sagitter - 2.0-19 - Fix compiler flags * Sun Jan 26 2020 sagitter - 2.0-18 - Workaround for GCC 10 (-fallow-argument-mismatch) * Fri Jul 26 2019 Fedora Release Engineering - 2.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 28 2019 Igor Gnatenko - 2.0-15 - Remove obsolete Group tag * Thu Jul 19 2018 Sandro Mani - 2.0-14 - Rebuild (scotch) * Sat Jul 14 2018 Fedora Release Engineering - 2.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Feb 17 2018 sagitter - 2.0-12 - Use %%%%ldconfig_scriptlets * Fri Feb 09 2018 Fedora Release Engineering - 2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 31 2018 sagitter - 2.0-10 - Tests disabled on f28+ only * Wed Jan 31 2018 sagitter - 2.0-9 - Disable tests * Wed Jan 31 2018 sagitter - 2.0-8 - Rebuild for GCC-8 * Wed Nov 08 2017 sagitter - 2.0-7 - Rebuild against openblas except s390x/arm arches * Wed Nov 08 2017 sagitter - 2.0-6 - Rebuild against openblas * Thu Aug 03 2017 Fedora Release Engineering - 2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 31 2017 sagitter - 2.0-2 - Rebuild for gcc-gfortran * Tue Dec 06 2016 sagitter - 2.0-1 - New package ## END: Generated by rpmautospec