Changeset bd0a2115 in sasview for build_tools/rpm
- Timestamp:
- Aug 23, 2012 3:23:53 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 615ef8d
- Parents:
- 7bfc888
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/rpm/sansview.spec.template
r5247084 rbd0a2115 1 Name: sa nsview1 Name: sasview 2 2 Version: [VERSION] 3 3 Release: r[REVISION]%{?dist} … … 6 6 License: BSD 7 7 URL: http://danse.chem.utk.edu 8 Source0: sa nsview-[VERSION]_[REVISION]-py2.6-linux-x86_64.egg8 Source0: sasview-[VERSION]_[REVISION]-py2.6-linux-x86_64.egg 9 9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 10 10 11 11 %description 12 Sa nsView data analysis12 SasView data analysis 13 13 14 14 %prep … … 18 18 19 19 %install 20 mkdir -p $RPM_BUILD_ROOT/opt/sa nsview20 mkdir -p $RPM_BUILD_ROOT/opt/sasview 21 21 mkdir -p $RPM_BUILD_ROOT/usr/local/bin 22 export PYTHONPATH=$RPM_BUILD_ROOT/opt/sa nsview23 easy_install -d $RPM_BUILD_ROOT/opt/sa nsview ../SOURCES/sansview*.egg22 export PYTHONPATH=$RPM_BUILD_ROOT/opt/sasview 23 easy_install -d $RPM_BUILD_ROOT/opt/sasview ../SOURCES/sasview*.egg 24 24 cd $RPM_BUILD_ROOT/usr/local/bin 25 ln -sf /opt/sa nsview/sansview sansview25 ln -sf /opt/sasview/sasview sasview 26 26 27 27 %clean … … 31 31 %files 32 32 %defattr(-,root,root,-) 33 /opt/sa nsview34 /usr/local/bin/sa nsview33 /opt/sasview 34 /usr/local/bin/sasview 35 35 36 36
Note: See TracChangeset
for help on using the changeset viewer.