source: sasview/build_tools/sasview.spec @ 9cc1f49

ticket-1094-headless
Last change on this file since 9cc1f49 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
RevLine 
[9586bf9]1Summary: sasview
2Name: sasview
3Version: 4.0.0
[6dd6e32]4Release: 8
[9586bf9]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}
[6dd6e32]27easy_install -s %{buildroot}%{_bindir} -d %{buildroot}%{site_packages} sasview*.egg
[9586bf9]28easy_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.