24 |
BuildRequires: tk-devel < 8.5 |
BuildRequires: tk-devel < 8.5 |
25 |
BuildRequires: tcl-devel < 8.5 |
BuildRequires: tcl-devel < 8.5 |
26 |
BuildRequires: tktable < 2.10, tktable >= 2.8 |
BuildRequires: tktable < 2.10, tktable >= 2.8 |
27 |
|
BuildRequires: compat-gcc-32-g77 == 3.2.3 |
28 |
|
|
29 |
Requires: python >= 2.4 |
Requires: python >= 2.4 |
30 |
Requires: pygtk2 >= 2.6 |
Requires: pygtk2 >= 2.6 |
67 |
%setup -q -n @DISTTAR_NAME@ |
%setup -q -n @DISTTAR_NAME@ |
68 |
|
|
69 |
%build |
%build |
70 |
scons %{?_smp_mflags} 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 pygtk tcltk |
scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models \ |
71 |
|
INSTALL_ROOT=%{buildroot} \ |
72 |
|
INSTALL_PREFIX=%{_prefix} \ |
73 |
|
INSTALL_SHARE=%{_datadir} \ |
74 |
|
INSTALL_BIN=%{_bindir} \ |
75 |
|
INSTALL_INCLUDE=%{_includedir} \ |
76 |
|
F2C_LIBPATH=/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/ \ |
77 |
|
WITH_SOLVERS=QRSLV,LSOD,CMSLV \ |
78 |
|
pygtk tcltk |
79 |
|
|
80 |
%install |
%install |
81 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |