## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec %global _description %{expand: This package provides Python libNeuroML, for working with neuronal models specified in NeuroML 2 (http://neuroml.org/neuromlv2). NeuroML provides an object model for describing neuronal morphologies, ion channels, synapses and 3D network structure. Documentation is available at http://readthedocs.org/docs/libneuroml/en/latest/ } Name: python-libNeuroML Version: 0.3.1 Release: %autorelease Summary: Python libNeuroML for working with neuronal models specified in NeuroML License: BSD URL: http://neuroml.org/ Source0: https://github.com/NeuralEnsemble/libNeuroML/archive/v%{version}/libNeuroML-%{version}.tar.gz BuildArch: noarch %description %_description %package -n python3-libNeuroML Summary: %{summary} BuildRequires: python3-devel %description -n python3-libNeuroML %_description %package doc Summary: Documentation for libNeuroML %description doc %_description %prep %autosetup -n libNeuroML-%{version} # remove shebang sed -i '1d' neuroml/nml/nml.py # correct end of line encoding sed -i 's/\r$//' neuroml/examples/test_files/tmp2.swc # Do not try to use pytables snapshots from GitHub (Fedora already carries upstream patches for pytables) sed -i -e '/^git/ d' -e 's/^tables.*/tables >= 3.3.0/' requirements.txt # Do not try to install generateds: it is used by upstream to regenerate nml.py from schema but we don't do this in our build sed -i '/generateds/ d' requirements-dev.txt %generate_buildrequires %pyproject_buildrequires -r requirements.txt requirements-dev.txt %build %pyproject_wheel # Do not include sphinx docs since it bundles fonts and js %install %pyproject_install %pyproject_save_files neuroml %check %{pytest} -k "not mongodb" %files -n python3-libNeuroML -f %{pyproject_files} %license LICENSE %doc README.md AUTHORS %files doc %license LICENSE %doc README.md AUTHORS %doc neuroml/examples %changelog * Sat Dec 25 2021 Vanessa_kris 0.3.1-1 - update to latest release * Mon Nov 01 2021 Ankur Sinha (Ankur Sinha Gmail) 0.2.58-1 - feat: update to 0.2.58 * Fri Jul 23 2021 Fedora Release Engineering 0.2.55-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint 0.2.55-2 - Rebuilt for Python 3.10 * Mon Mar 22 2021 Ankur Sinha (Ankur Sinha Gmail) 0.2.55-1 - Update to 0.2.55 * Thu Feb 18 2021 Ankur Sinha (Ankur Sinha Gmail) 0.2.54-1 - Update to latest release * Wed Jan 27 2021 Fedora Release Engineering 0.2.52-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 19 2021 Tom Stellard 0.2.52-2 - Add BuildRequires: make * Fri Sep 04 2020 Ankur Sinha (Ankur Sinha Gmail) 0.2.52-1 - Update to 0.2.52 * Wed Jul 29 2020 Fedora Release Engineering 0.2.50-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 25 2020 Ankur Sinha (Ankur Sinha Gmail) 0.2.50-2 - Explicitly BR setuptools * Sun Jun 07 2020 Ankur Sinha (Ankur Sinha Gmail) 0.2.50-1 - Update to 0.2.50 * Tue May 26 2020 Miro Hrončok 0.2.47-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering 0.2.47-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok 0.2.47-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok 0.2.47-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering 0.2.47-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 11 2019 Ankur Sinha (Ankur Sinha Gmail) 0.2.47-1 - Update to 0.2.47 * Sat Feb 02 2019 Fedora Release Engineering 0.2.45-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 27 2018 Ankur Sinha (Ankur Sinha Gmail) 0.2.45-2 - Use conditional to manage uniform specs for releases * Sat Oct 27 2018 Ankur Sinha (Ankur Sinha Gmail) 0.2.45-1 - Initial import