## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 #global commit 0e12e41b52deb8ea746bc760cddd6e100ca5cfd8 #global shortcommit %%(c=%{commit}; echo ${c:0:7}) Name: moose Version: 4.3.1 Release: %autorelease Summary: Multiscale Neuroscience and Systems Biology Simulator # The shipped files (compiled _moose module and the moose/rdesigneur Python # packages) are under a mix of licenses: # - LGPL-2.1-only: bulk of the compiled C++ core (basecode/, biophysics/, # builtins/, device/, diffusion/, hsolve/, intfire/, kinetics/, ksolve/, # mesh/, mpi/, msg/, scheduling/, shell/, signeur/, synapse/, utility/) # - GPL-2.0-only: basecode/Cinfo.h, builtins/Streamer*, device/PIDController.h, # device/RC.h, randnum/Distributions.h, randnum/test_normal_dist.cpp # - GPL-2.0-or-later: utility/simple_logger.hpp, # python/rdesigneur/{jardesigner,rdes2json,rdesigneur}.py # - GPL-3.0-only: ksolve/VoxelPools.cpp, pymoose/MooseVec.h, # randnum/{Definitions.h,NormalDistribution.hpp} # - GPL-3.0-or-later: several biophysics/, builtins/ and python/moose files # - LGPL-3.0-only: builtins/TableBase.h # - LGPL-3.0-or-later: biophysics/VClamp.cpp, ksolve/FuncRateTerm.h # - MIT: basecode/testGlobals.cpp, pymoose/MooseVec.cpp, randnum/{RNG.cpp,randnum.h}, # utility/utility.cpp, plus bundled exprtk and libsoda # - BSL-1.0: utility/current_function.hpp, utility/simple_assert.hpp License: LGPL-2.1-only AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-3.0-only AND LGPL-3.0-or-later AND MIT AND BSL-1.0 URL: https://mooseneuro.github.io/ %if %{defined commit} Source0: https://github.com/MooseNeuro/moose-core/archive/%{commit}.tar.gz#/moose-core-%{shortcommit}.tar.gz %else Source0: https://github.com/MooseNeuro/moose-core/archive/v%{version}.tar.gz#/moose-core-%{version}.tar.gz %endif Patch: 0001-Replace-python-with-python3.patch Patch: 0002-Use-system-nanobind.patch Patch: 0003-Make-neuroml-optional-dependency.patch Patch: 0004-Remove-pybind11-check-in-test.patch Patch: 0005-Use-system-fmt.patch Patch: 0006-Add-missing-includes.patch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} ExcludeArch: s390x BuildRequires: fmt-devel BuildRequires: gcc-c++ BuildRequires: git-core BuildRequires: gsl-devel BuildRequires: hdf5-devel BuildRequires: meson BuildRequires: ninja-build BuildRequires: pkgconf-pkg-config BuildRequires: python3-devel BuildRequires: python3-libsbml BuildRequires: robin-map-devel BuildRequires: %{py3_dist nanobind} BuildRequires: %{py3_dist numpy} BuildRequires: %{py3_dist pint} BuildRequires: %{py3_dist scipy} BuildRequires: %{py3_dist setuptools} %description MOOSE is the base and numerical core for large, detailed simulations including Computational Neuroscience and Systems Biology. MOOSE spans the range from single molecules to subcellular networks, from single cells to neuronal networks, and to still larger systems. It is backwards-compatible with GENESIS, and forward compatible with Python and XML-based model definition standards like SBML and NeuroML. MOOSE uses Python as its primary scripting language. For backward compatibility we have a GENESIS scripting module, but this is deprecated. MOOSE numerical code is written in C++. %package -n python3-%{name} Summary: %{summary} # libsoda and exprtk are bundled in the compiled module; they are not # packaged in Fedora and upstream has no mechanism to build against system # versions. Provides: bundled(libsoda) Provides: bundled(exprtk) Requires: python3-libsbml Requires: python3-matplotlib-qt5 Requires: %{py3_dist lxml} Requires: %{py3_dist matplotlib} Requires: %{py3_dist numpy} Requires: %{py3_dist pint} %description -n python3-%{name} This package contains the %{summary}. %prep %autosetup -n moose-core-%{version} -S git rm -f python/rdesigneur/.gitignore rm -rf external/fmt sed -i '/^#!/d' python/moose/channels/build_icg_meta.py python/moose/channels/update_citations_icg.py %conf %meson -Duse_hdf5=true %build # On armv7 we get a failure with LTO. # Disable LTO for armv7 %ifarch armv7hl %define _lto_cflags %{nil} %endif %meson_build %install %meson_install %check PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -c "import moose; moose.le()" %global _docdir_fmt %{name} %files -n python3-%{name} %{python3_sitearch}/moose %{python3_sitearch}/rdesigneur %license LICENSE %doc README.md %changelog ## START: Generated by rpmautospec * Wed Aug 05 2026 Ankur Sinha (Ankur Sinha Gmail) - 4.3.1-4 - feat: update licenses - Fixes rhbz#2504355 - Fixes rhbz#2377333 - Fixes rhbz#2414807 - Fixes rhbz#2422121 - Fixes rhbz#2459472 * Wed Aug 05 2026 Ankur Sinha (Ankur Sinha Gmail) - 4.3.1-3 - feat: unbundle fmt, note other bundled libs * Wed Aug 05 2026 Ankur Sinha - 4.3.1-1 - Update to 4.3.1 - Port build system from CMake to Meson - Build against system nanobind instead of the bundled subproject - Make NeuroML2 (pyneuroml) support optional - The moose binary and libmoose shared library are no longer built upstream; MOOSE is now a Python-only package * Thu Jul 16 2026 Fedora Release Engineering - 3.1.5-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Fri Jun 12 2026 Yaakov Selkowitz - 3.1.5-37 - Rebuilt for openssl 4.0 * Wed Jun 03 2026 Python Maint - 3.1.5-36 - Rebuilt for Python 3.15 * Sat Apr 18 2026 Orion Poplawski - 3.1.5-35 - Rebuild for hdf5 2.1 * Fri Apr 03 2026 Cristian Le - 3.1.5-34 - Allow to build with CMake 4.0 (rhbz#2380789) * Mon Feb 02 2026 Elliott Sales de Andrade - 3.1.5-33 - Drop support for i686 * Fri Jan 16 2026 Fedora Release Engineering - 3.1.5-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 3.1.5-31 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 3.1.5-30 - Rebuilt for Python 3.14.0rc2 bytecode * Thu Jul 24 2025 Fedora Release Engineering - 3.1.5-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 3.1.5-28 - Rebuilt for Python 3.14 * Sun Feb 02 2025 Orion Poplawski - 3.1.5-27 - Rebuild with gsl 2.8 * Fri Jan 17 2025 Fedora Release Engineering - 3.1.5-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Dec 22 2024 Sandro - 3.1.5-25 - Rebuild for NumPy 2.x * Fri Oct 25 2024 Orion Poplawski - 3.1.5-24 - Rebuild for hdf5 1.14.5 * Mon Jul 29 2024 Miroslav Suchý - 3.1.5-23 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 3.1.5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 3.1.5-21 - Rebuilt for Python 3.13 * Thu Jan 25 2024 Fedora Release Engineering - 3.1.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 3.1.5-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 3.1.5-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 3.1.5-17 - Rebuilt for Python 3.12 * Thu Jan 19 2023 Fedora Release Engineering - 3.1.5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 23 2022 Mamoru TASAKA - 3.1.5-15 - Rebuild for gsl-2.7.1 * Thu Jul 21 2022 Fedora Release Engineering - 3.1.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 3.1.5-13 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 3.1.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 21 2021 Orion Poplawski - 3.1.5-11 - Rebuild for hdf5 1.12.1 * Tue Aug 31 2021 Ankur Sinha - 3.1.5-10 - Fix FTI: python3-matplotlib-qt4 was obsoleted by -qt5 - https://bugzilla.redhat.com/show_bug.cgi?id=1996423 - Remove unneeded provides macro * Mon Aug 16 2021 Orion Poplawski - 3.1.5-9 - Add patch for python 3.10 support (bz#1899115) * Tue Aug 10 2021 Orion Poplawski - 3.1.5-8 - Rebuild for hdf5 1.10.7 * Thu Jul 22 2021 Fedora Release Engineering - 3.1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.1.5-6 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 3.1.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Aug 31 2020 Ankur Sinha - 3.1.5-4 - Undefine cmake macro for F < 33 * Sat Aug 29 2020 Ankur Sinha - 3.1.5-3 - Update patch * Thu Aug 27 2020 Ankur Sinha - 3.1.5-2 - Add patch to fix ppc build - Disable lto on arm * Wed Aug 26 2020 Ankur Sinha - 3.1.5-1 - Update to 3.1.5 - Use new cmake macros - Include patch to fix on Py3.9 * Sat Aug 01 2020 Fedora Release Engineering - 3.1.4-15 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 3.1.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 24 2020 Jeff Law - 3.1.4-13 - Use __cmake_in_source_build * Thu Jun 25 2020 Orion Poplawski - 3.1.4-12 - Rebuild for hdf5 1.10.6 * Tue May 26 2020 Miro Hrončok - 3.1.4-11 - Rebuilt for Python 3.9 * Wed Jan 29 2020 Fedora Release Engineering - 3.1.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 27 2019 Zbigniew Jędrzejewski-Szmek - 3.1.4-9 - Add missing libmoose.so (#1754997) * Tue Aug 20 2019 Susi Lehtola - 3.1.4-8 - Rebuilt for GSL 2.6. * Mon Aug 19 2019 Miro Hrončok - 3.1.4-7 - Rebuilt for Python 3.8 * Thu Jul 25 2019 Fedora Release Engineering - 3.1.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Mar 16 2019 Orion Poplawski - Rebuild for hdf5 1.10.5 * Fri Feb 01 2019 Fedora Release Engineering - 3.1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 14 2019 Miro Hrončok - 3.1.4-3 - Subpackage python2-moose has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Tue Aug 28 2018 Zbigniew Jędrzejewski-Szmek - 3.1.4-2 - Rebuild because the package was not tagged properly * Tue Aug 14 2018 Zbigniew Jędrzejewski-Szmek - 3.1.4-1 - Switch source back to use "moose-core" instead of "moose" - Update to latest version - Actually run the tests and look at the output * Tue Aug 7 2018 Zbigniew Jędrzejewski-Szmek - 3.1.3-1 - Update to latest version, fix packaging (#1604882) - Libmubml seems to be gone - Add some dependencies useful for tests * Fri Jul 13 2018 Fedora Release Engineering - 3.0.2-0.19.beta.2.git0e12e41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 3.0.2-0.18.beta.2.git0e12e41 - Rebuilt for Python 3.7 * Thu Feb 08 2018 Fedora Release Engineering - 3.0.2-0.17.beta.2.git0e12e41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 09 2018 Iryna Shcherbina - 3.0.2-0.16.beta.2.git0e12e41 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Aug 03 2017 Fedora Release Engineering - 3.0.2-0.15.beta.2.git0e12e41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Zbigniew Jędrzejewski-Szmek - 3.0.2-0.14.beta.2.git0e12e41 - Rebuild for gsl-2.4 * Fri Feb 10 2017 Fedora Release Engineering - 3.0.2-0.13.beta.2.git0e12e41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 3.0.2-0.12.beta.2.git0e12e41 - Rebuild for Python 3.6 * Mon Sep 26 2016 Dominik Mierzejewski - 3.0.2-0.11.beta.2.git0e12e41 - rebuilt for matplotlib-2.0.0 * Tue Jul 19 2016 Fedora Release Engineering - 3.0.2-0.10.beta.2.git0e12e41 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon Mar 7 2016 Zbigniew Jędrzejewski-Szmek - 3.0.2-0.9.beta.2.git0e12e41 - Restore patch that removes broken shared linking * Mon Mar 7 2016 Zbigniew Jędrzejewski-Szmek - 3.0.2-0.8.beta.2.git0e12e41 - Update to git snapshot - Add python3 subpackage * Tue Feb 23 2016 Orion Poplawski - 3.0.2-0.7.beta.2 - Rebuild for gsl 2.1 * Thu Feb 04 2016 Fedora Release Engineering - 3.0.2-0.6.beta.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 21 2016 Orion Poplawski - 3.0.2-0.5.beta.2 - Rebuild for hdf5 1.8.16 * Sun Dec 13 2015 Zbigniew Jędrzejewski-Szmek - 3.0.2-0.4.beta.2 - Fix permissions on files in debuginfo subpackage - Tweak python package generation * Sun Dec 13 2015 Zbigniew Jędrzejewski-Szmek - 3.0.2-0.3.beta.2 - Fix build on i686 * Sat Dec 12 2015 Zbigniew Jędrzejewski-Szmek - 3.0.2-0.2.beta.2 - Remove obsolete cxx11 fix - Use chrpath --delete * Wed Dec 9 2015 Zbigniew Jędrzejewski-Szmek - 3.0.2-0.1.beta.2 - Initial packaging ## END: Generated by rpmautospec