Loading gsas2 0 → 100644 +13 −0 Original line number Diff line number Diff line #!/bin/sh # select the environment to use CONDA_ENVIRON=gsas2 # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" # start the application python /opt/anaconda/envs/gsas2/GSASII/GSASII.py 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.14 Version: 1.15 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson Loading @@ -25,6 +25,7 @@ Wrapper scripts to launch python applications installed via anaconda rm -rf $RPM_BUILD_ROOT # put things in the bin directory mkdir -p %{buildroot}%{_bindir}/ mv gsas2 %{buildroot}%{_bindir}/ mv neutron-imaging %{buildroot}%{_bindir}/ mv mantidtotalscattering %{buildroot}%{_bindir}/ mv nsd-app-wrap.sh %{buildroot}%{_bindir}/ Loading @@ -47,6 +48,9 @@ mv pyrs.desktop %{buildroot}%{_datadir}/applications/ %license LICENSE %changelog * Mon Oct 4 2021 Donnie Earnest - added gsas2 * Mon Sep 2 2021 Donnie Earnest - changed notebook folder for dev Loading Loading
gsas2 0 → 100644 +13 −0 Original line number Diff line number Diff line #!/bin/sh # select the environment to use CONDA_ENVIRON=gsas2 # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" # start the application python /opt/anaconda/envs/gsas2/GSASII/GSASII.py
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.14 Version: 1.15 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson Loading @@ -25,6 +25,7 @@ Wrapper scripts to launch python applications installed via anaconda rm -rf $RPM_BUILD_ROOT # put things in the bin directory mkdir -p %{buildroot}%{_bindir}/ mv gsas2 %{buildroot}%{_bindir}/ mv neutron-imaging %{buildroot}%{_bindir}/ mv mantidtotalscattering %{buildroot}%{_bindir}/ mv nsd-app-wrap.sh %{buildroot}%{_bindir}/ Loading @@ -47,6 +48,9 @@ mv pyrs.desktop %{buildroot}%{_datadir}/applications/ %license LICENSE %changelog * Mon Oct 4 2021 Donnie Earnest - added gsas2 * Mon Sep 2 2021 Donnie Earnest - changed notebook folder for dev Loading