From cae66efa846c1fa229ea0090b2071a2223ba1750 Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Sep 18 2020 16:30:49 +0000 Subject: Install all neuroml files also --- diff --git a/neuroConstruct.spec b/neuroConstruct.spec index ee91bd2..511cbd0 100644 --- a/neuroConstruct.spec +++ b/neuroConstruct.spec @@ -22,7 +22,9 @@ Source0: https://github.com/NeuralEnsemble/neuroConstruct/releases/downlo Requires: java-headless Requires: javapackages-filesystem +Provides: bundled(jneuroml2) = 2.0.0 Provides: bundled(jneuroml) = 0.8.3 +Provides: bundled(lems) = 0.8.3 Provides: bundled(junit) = 4.8.1 # Version not provided Provides: bundled(jhdf5) @@ -91,7 +93,7 @@ install -p -m 0755 -D -T nCenv.sh %{buildroot}/%{_bindir}/nCenv.sh # everything is hard-coded to go into the NC_HOME dir cp -rv jNeuroMLJar %{buildroot}/%{_javadir}/%{name}/ -rm -rfv lib/hdf5/win* lib/neuroml2 +rm -rfv lib/hdf5/win* find lib -name "*windows*" -delete find lib -name "*Windows*" -delete find lib -name "*macosx*" -delete @@ -105,6 +107,7 @@ find lib -name "*SunOS*jar" -delete cp -rv lib %{buildroot}/%{_javadir}/%{name}/ cp -rv nCexamples %{buildroot}/%{_javadir}/%{name}/ cp -rv templates %{buildroot}/%{_javadir}/%{name}/ +cp -rv NeuroML2 %{buildroot}/%{_javadir}/%{name}/ # Do this separately because some bits are to go into docs in the files section install -p -m 0755 -d %{buildroot}/%{_javadir}/%{name}/docs/ @@ -114,7 +117,7 @@ install -p -m 0755 -d %{buildroot}/%{_datadir}/%{name} cp -rv matlabOctave %{buildroot}/%{_datadir}/%{name}/ # Remove unneeded stuff -rm -rf *.sh *.bat NeuroML2 tests testProjects src *.xml docs/website +rm -rf *.sh *.bat tests testProjects src *.xml docs/website %files %license licence.txt