%global checkout_date 20200807 %global debug_package %{nil} Name: neuroConstruct Version: 1.7.2 Release: 1%{?dist} Summary: Biophysically detailed neuronal modelling in 3D License: GPLv2 URL: http://www.neuroconstruct.org/ # Using the pre-built jar Source0: https://github.com/NeuralEnsemble/neuroConstruct/releases/download/v%{version}/neuroConstruct_%{version}.zip Requires: java-headless Requires: javapackages-filesystem BuildArch: noarch %description This is neuroConstruct, software for developing 3D networks for biologically realistic neuronal simulations. Some of the key features of neuroConstruct are: - neuroConstruct can import morphology files in GENESIS, NEURON, Neurolucida, SWC and MorphML format for inclusion in single cell or network models, or more abstract cells can also be built manually. - Creation of networks of conductance based neurons positioned in 3D - Complex connectivity patterns between cell groups can be specified for the networks - Simulation scripts can be generated for NEURON, GENESIS, MOOSE, PSICS and PyNN based simulators (note: not every project can be generated for every simulator) - Biophysically realistic cellular mechanisms (synapses/channel mechanisms) can be imported from native script files (*.mod or *.g) or created from templates using ChannelML - Automatic generation of code to record simulation data and visualisation/analysis of data in neuroConstruct - Recorded simulation runs can be viewed and managed through the Simulation Browser interface - A Python based scripting interface can be used to control model generation and execution, allowing multiple simulations to be run for cell and network model optimisation This package includes the pre-built Jar file along with the necessary dependencies. %prep %autosetup -n %{name}_%{version} # Fix the path sed -i 's|^export NC_HOME.*|export NC_HOME="%{_javadir}/%{name}/"|' nCenv.sh %build # Nothing to do here %install # Put stuff in the right place install -p -m 0644 -D -T %{name}_%{version}.jar %{buildroot}/%{_javadir}/%{name}/%{name}_%{version}.jar install -p -m 0755 -d %{buildroot}/%{_javadir}/%{name}/jNeuroMLJar/ cp -rv jNeuroMLJar/* %{buildroot}/%{_javadir}/%{name}/jNeuroMLJar/ install -p -m 0755 -d %{buildroot}/%{_javadir}/%{name}/lib/ cp -rv lib/* %{buildroot}/%{_javadir}/%{name}/lib/ install -p -m 0755 -D -T nC.sh %{buildroot}/%{_bindir}/nC.sh install -p -m 0755 -D -T nCenv.sh %{buildroot}/%{_bindir}/nCenv.sh %files %license licence.txt %{_javadir}/%{name} %{_bindir}/nC.sh %{_bindir}/nCenv.sh %changelog * Thu Sep 17 2020 Ankur Sinha - 1.7.2-1 - Initial build