43 |
%setup -q |
%setup -q |
44 |
|
|
45 |
%build |
%build |
46 |
scons %{?_smp_mflags} |
scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models |
47 |
|
|
48 |
%install |
%install |
49 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
50 |
scons DEFAULT_ASCENDLIBRARY=~/ascdata:%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} install |
scons DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} install |
51 |
|
|
52 |
pushd pygtk/interface/gnome |
pushd pygtk/interface/gnome |
53 |
install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop |
install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop |