diff --git a/rpm/nsd-app-wrap.spec b/rpm/nsd-app-wrap.spec index eaecbda5fa6fd0c6667c7cf60a5336970d973ca9..1f24225ff7da61788db58f4596d3e040de7c4b86 100644 --- a/rpm/nsd-app-wrap.spec +++ b/rpm/nsd-app-wrap.spec @@ -1,5 +1,5 @@ Name: nsd-app-wrap -Version: 2.13 +Version: 2.14 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson @@ -48,6 +48,7 @@ install -m 755 nr_launcher %{buildroot}%{_bindir}/ install -m 755 nsd-app-wrap.sh %{buildroot}%{_bindir}/ install -m 755 nsd-conda-wrap.sh %{buildroot}%{_bindir}/ install -m 755 nseplot %{buildroot}%{_bindir}/ +install -m 755 nxs2taco %{buildroot}%{_bindir}/ install -m 755 paraview %{buildroot}%{_bindir}/ install -m 755 pyrs %{buildroot}%{_bindir}/ install -m 755 quicknxs %{buildroot}%{_bindir}/ @@ -106,6 +107,9 @@ install -m 644 desktop/ibeatles.desktop %{buildroot}%{_datadir}/a %{_prefix}/share/applications/* %changelog +* Tue Dec 16 2025 John Hetrick +- Added nxs2taco, a pysen utility + * Thu Dec 04 2025 Daniel Caballero - Added McStas diff --git a/src/nxs2taco b/src/nxs2taco new file mode 100755 index 0000000000000000000000000000000000000000..6bb5810f91adbdbe23a20ea03a29885b49a5da5b --- /dev/null +++ b/src/nxs2taco @@ -0,0 +1,15 @@ +#!/bin/bash + +# select the environment to use +# current default is system version +PIXI_ENVIRON=pysen + +# import library to do the real work +# shellcheck disable=SC1091 +. "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" || + . /bin/nsd-app-wrap.sh + +# put together arguments - conda_env, application, argv +args=("${PIXI_ENVIRON}" "nxs2taco" "$@") +# launch the tool +pixi_launch "${args[@]}"