source:
sasview/build_tools/rpm/sasview.spec.template
@
573e7034
Last change on this file since 573e7034 was 79492222, checked in by krzywon, 10 years ago | |
---|---|
|
|
File size: 795 bytes |
Rev | Line | |
---|---|---|
[bd0a2115] | 1 | Name: sasview |
[5a13f0d] | 2 | Version: [VERSION] |
[5fe019f] | 3 | Release: r[REVISION]%{?dist} |
[2637a31] | 4 | Summary: Data analysis for Small Angle Scattering |
5 | ||
6 | License: BSD | |
7 | URL: http://danse.chem.utk.edu | |
[bd0a2115] | 8 | Source0: sasview-[VERSION]_[REVISION]-py2.6-linux-x86_64.egg |
[2637a31] | 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 | ||
11 | %description | |
[bd0a2115] | 12 | SasView data analysis |
[2637a31] | 13 | |
14 | %prep | |
15 | ||
16 | %build | |
17 | ||
18 | ||
19 | %install | |
[bd0a2115] | 20 | mkdir -p $RPM_BUILD_ROOT/opt/sasview |
[2637a31] | 21 | mkdir -p $RPM_BUILD_ROOT/usr/local/bin |
[bd0a2115] | 22 | export PYTHONPATH=$RPM_BUILD_ROOT/opt/sasview |
[4c8a372] | 23 | easy_install -N -d $RPM_BUILD_ROOT/opt/sasview ../SOURCES/sasview*.egg |
[2637a31] | 24 | cd $RPM_BUILD_ROOT/usr/local/bin |
[bd0a2115] | 25 | ln -sf /opt/sasview/sasview sasview |
[2637a31] | 26 | |
27 | %clean | |
28 | rm -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.