Commit e44edaf8 authored by Borreguero Calvo, Jose's avatar Borreguero Calvo, Jose
Browse files

Merge branch 'nr_launcher' into 'main'

add nr_launcher script

See merge request !35
parents 4cf11e28 787bddf0
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -31,10 +31,12 @@ The `Dockerfile` is based on a centos7 image with rpm-build installed.
It creates the rpm then uses `scp` to copy noarch to packages.sns.gov.
The analysis cluster is configured to automatically update `nsd-app-wrap` rpm whenever a new one is available.


Adding a new application
------------------------

In adittion to adding a new application script, don't forget to:
In adittion to adding a new application script, don't forget to update file  `nsd-app-wrap.spec`:

* update the "Version:" number in spec file `nsd-app-wrap.spec`. Otherwise, the rpm will not be installed on the target machines.
* describe your changes in "%changelog", also in spec file `nsd-app-wrap.spec`
 No newline at end of file
* instruct the application to be copied to the bin directory in section `%install`
* update the `Version:` number. Otherwise, the rpm will not be installed on the target machines.
* describe your changes in `%changelog`
+2 −1
Original line number Diff line number Diff line
%global srcname nsd-app-wrap

Name:           nsd-app-wrap
Version:        1.46
Version:        1.47
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson
@@ -37,6 +37,7 @@ install -m 755 mantidworkbench %{buildroot}%{_bindir}/
install -m 755 mantidtotalscattering %{buildroot}%{_bindir}/
install -m 755 nsd-app-wrap.sh %{buildroot}%{_bindir}/
install -m 755 nsd-conda-wrap.sh %{buildroot}%{_bindir}/
install -m 755 nr_launcher %{buildroot}%{_bindir}/
install -m 755 pyrs %{buildroot}%{_bindir}/
install -m 755 sasview %{buildroot}%{_bindir}/
install -m 755 drtsans %{buildroot}%{_bindir}/