Loading nsd-app-wrap.spec +5 −1 Original line number Diff line number Diff line %global srcname nsd-app-wrap Name: nsd-app-wrap Version: 1.35 Version: 1.36 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson Loading Loading @@ -43,6 +43,7 @@ install -m 755 drtsans %{buildroot}%{_bindir}/ install -m 755 quicknxs3 %{buildroot}%{_bindir}/ install -m 755 refred %{buildroot}%{_bindir}/ install -m 755 jupyter %{buildroot}%{_bindir}/ install -m 755 shiver %{buildroot}%{_bindir}/ # put icons in the right place mkdir -p %{buildroot}/%{_datadir}/pixmaps/ install -m 644 pyrs.png %{buildroot}/%{_datadir}/pixmaps/ Loading @@ -67,6 +68,9 @@ install -m 644 jupyter.local.desktop %{buildroot}%{_datadir}/applications/ %license LICENSE %changelog * Tue Feb 28 2023 Ross Whitfield - Add shiver * Tue Dec 20 2022 Pete Peterson - Add support for qa environment of mantidtotalscattering Loading shiver 0 → 100755 +21 −0 Original line number Diff line number Diff line #!/bin/bash # select the environment to use CONDA_ENVIRON=shiver if [ -n "$1" ]; then if [ "$1" == "--dev" ]; then CONDA_ENVIRON=shiver-dev shift # drop this argument elif [ "$1" == "--qa" ]; then CONDA_ENVIRON=shiver-qa shift # drop this argument fi fi # import library to do the real work source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # put together arguments - conda_env, application, argv args=("${CONDA_ENVIRON}" "shiver" "$@") # launch the tool activate_and_launch "${args[@]}" Loading
nsd-app-wrap.spec +5 −1 Original line number Diff line number Diff line %global srcname nsd-app-wrap Name: nsd-app-wrap Version: 1.35 Version: 1.36 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson Loading Loading @@ -43,6 +43,7 @@ install -m 755 drtsans %{buildroot}%{_bindir}/ install -m 755 quicknxs3 %{buildroot}%{_bindir}/ install -m 755 refred %{buildroot}%{_bindir}/ install -m 755 jupyter %{buildroot}%{_bindir}/ install -m 755 shiver %{buildroot}%{_bindir}/ # put icons in the right place mkdir -p %{buildroot}/%{_datadir}/pixmaps/ install -m 644 pyrs.png %{buildroot}/%{_datadir}/pixmaps/ Loading @@ -67,6 +68,9 @@ install -m 644 jupyter.local.desktop %{buildroot}%{_datadir}/applications/ %license LICENSE %changelog * Tue Feb 28 2023 Ross Whitfield - Add shiver * Tue Dec 20 2022 Pete Peterson - Add support for qa environment of mantidtotalscattering Loading
shiver 0 → 100755 +21 −0 Original line number Diff line number Diff line #!/bin/bash # select the environment to use CONDA_ENVIRON=shiver if [ -n "$1" ]; then if [ "$1" == "--dev" ]; then CONDA_ENVIRON=shiver-dev shift # drop this argument elif [ "$1" == "--qa" ]; then CONDA_ENVIRON=shiver-qa shift # drop this argument fi fi # import library to do the real work source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # put together arguments - conda_env, application, argv args=("${CONDA_ENVIRON}" "shiver" "$@") # launch the tool activate_and_launch "${args[@]}"