ticket-1094-headless
Last change
on this file since 3f89c0e was
6dd6e32,
checked in by Mathieu Doucet <doucetm@…>, 9 years ago
|
fix os-dependent UI options
|
-
Property mode set to
100644
|
File size:
761 bytes
|
Line | |
---|
1 | Summary: sasview |
---|
2 | Name: sasview |
---|
3 | Version: 4.0.0 |
---|
4 | Release: 8 |
---|
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} |
---|
27 | easy_install -s %{buildroot}%{_bindir} -d %{buildroot}%{site_packages} sasview*.egg |
---|
28 | easy_install -d %{buildroot}%{site_packages} sasmodels*.egg |
---|
29 | %post |
---|
30 | |
---|
31 | %files |
---|
32 | /usr/lib/python2.7 |
---|
33 | /usr/bin/sasview |
---|
34 | /usr/bin/bumps |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.