65 |
%setup -q -n @DISTTAR_NAME@ |
%setup -q -n @DISTTAR_NAME@ |
66 |
|
|
67 |
%build |
%build |
68 |
scons %{?_smp_mflags} CC="ccache gcc" CXX="ccache g++" DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_SHARE=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} WITH_PYTHON=1 WITH_TCLTK=1 TCL=/usr TCL_LIB=tcl8.4 TK_LIB=tk8.4 |
scons %{?_smp_mflags} CC="ccache gcc" CXX="ccache g++" DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_SHARE=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_includedir} TCL=/usr TCL_LIB=tcl8.4 TK_LIB=tk8.4 WITH_SOLVERS=QRSLV,LSOD,CMSLV libascend pygtk tcltk |
69 |
|
|
70 |
%install |
%install |
71 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
72 |
scons %{?_smp_mflags} CC="ccache gcc" CXX="ccache g++" DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_SHARE=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} WITH_PYTHON=1 WITH_TCLTK=1 install |
scons %{?_smp_mflags} install |
73 |
|
|
74 |
# Install menu entry for PyGTK interface, gtksourceview syntax highlighting, and MIME definition |
# Install menu entry for PyGTK interface, gtksourceview syntax highlighting, and MIME definition |
75 |
pushd pygtk/gnome |
pushd pygtk/gnome |