source: sasview/build_tools/sasview.spec @ 7f75a3f

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 7f75a3f 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
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.