source: sasview/build_tools/rpm/sansview.spec.template @ 5fe019f

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 5fe019f was 5fe019f, checked in by Mathieu Doucet <doucetm@…>, 13 years ago

Re #3 improve versioning

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