source: sasview/build_tools/sasview.spec @ 363fbfa

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 363fbfa 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
Line 
1Summary: sasview
2Name: sasview
3Version: 4.0.0
4Release: 8
5Group: Applications/Engineering
6prefix: /opt/sasview
7BuildRoot: %{_tmppath}/%{name}
8License: Open
9Source: 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
15SasView analysis application for small-angle scattering
16
17%prep
18%setup -q -n %{name}
19
20%build
21
22%install
23rm -rf %{buildroot}
24mkdir -p %{buildroot}%{site_packages}
25
26export PYTHONPATH=$PYTHONPATH:%{buildroot}%{site_packages}
27easy_install -s %{buildroot}%{_bindir} -d %{buildroot}%{site_packages} sasview*.egg
28easy_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.