Last change
on this file since 7949dcf7 was
6dd6e32,
checked in by Mathieu Doucet <doucetm@…>, 8 years ago
|
fix os-dependent UI options
|
-
Property mode set to
100644
|
File size:
761 bytes
|
Rev | Line | |
---|
[9586bf9] | 1 | Summary: sasview |
---|
| 2 | Name: sasview |
---|
| 3 | Version: 4.0.0 |
---|
[6dd6e32] | 4 | Release: 8 |
---|
[9586bf9] | 5 | Group: Applications/Engineering |
---|
| 6 | prefix: /opt/sasview |
---|
| 7 | BuildRoot: %{_tmppath}/%{name} |
---|
| 8 | License: Open |
---|
| 9 | Source: sasview.tgz |
---|
| 10 | |
---|
| 11 | %define debug_package %{nil} |
---|
| 12 | %define site_packages %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | SasView analysis application for small-angle scattering |
---|
| 16 | |
---|
| 17 | %prep |
---|
| 18 | %setup -q -n %{name} |
---|
| 19 | |
---|
| 20 | %build |
---|
| 21 | |
---|
| 22 | %install |
---|
| 23 | rm -rf %{buildroot} |
---|
| 24 | mkdir -p %{buildroot}%{site_packages} |
---|
| 25 | |
---|
| 26 | export PYTHONPATH=$PYTHONPATH:%{buildroot}%{site_packages} |
---|
[6dd6e32] | 27 | easy_install -s %{buildroot}%{_bindir} -d %{buildroot}%{site_packages} sasview*.egg |
---|
[9586bf9] | 28 | easy_install -d %{buildroot}%{site_packages} sasmodels*.egg |
---|
| 29 | %post |
---|
| 30 | |
---|
| 31 | %files |
---|
[6dd6e32] | 32 | /usr/lib/python2.7 |
---|
| 33 | /usr/bin/sasview |
---|
| 34 | /usr/bin/bumps |
---|
[9586bf9] | 35 | |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.