source: sasview/build_tools/rpm/sansview.spec.template @ b568fb7f

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.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since b568fb7f was 4c8a372, checked in by Mathieu Doucet <doucetm@…>, 10 years ago

RPM tweak

  • Property mode set to 100644
File size: 795 bytes
RevLine 
[bd0a2115]1Name:       sasview         
[5a13f0d]2Version:        [VERSION]
[5fe019f]3Release:        r[REVISION]%{?dist}
[2637a31]4Summary:        Data analysis for Small Angle Scattering
5
6License:        BSD
7URL:            http://danse.chem.utk.edu
[bd0a2115]8Source0:        sasview-[VERSION]_[REVISION]-py2.6-linux-x86_64.egg
[2637a31]9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10
11%description
[bd0a2115]12SasView data analysis
[2637a31]13
14%prep
15
16%build
17
18
19%install
[bd0a2115]20mkdir -p $RPM_BUILD_ROOT/opt/sasview
[2637a31]21mkdir -p $RPM_BUILD_ROOT/usr/local/bin
[bd0a2115]22export PYTHONPATH=$RPM_BUILD_ROOT/opt/sasview
[4c8a372]23easy_install -N -d $RPM_BUILD_ROOT/opt/sasview ../SOURCES/sasview*.egg
[2637a31]24cd $RPM_BUILD_ROOT/usr/local/bin
[bd0a2115]25ln -sf /opt/sasview/sasview sasview
[2637a31]26
27%clean
28rm -rf $RPM_BUILD_ROOT
29
30
31%files
32%defattr(-,root,root,-)
[bd0a2115]33/opt/sasview
34/usr/local/bin/sasview
[2637a31]35
36
37%changelog
Note: See TracBrowser for help on using the repository browser.