20 |
BuildRequires: bison, flex |
BuildRequires: bison, flex |
21 |
BuildRequires: swig >= 1.3.24 |
BuildRequires: swig >= 1.3.24 |
22 |
BuildRequires: desktop-file-utils |
BuildRequires: desktop-file-utils |
23 |
|
BuildRequires: tk-devel < 8.5 |
24 |
|
BuildRequires: tcl-devel < 8.5 |
25 |
|
BuildRequires: tktable < 2.10, tktable >= 2.8 |
26 |
|
|
27 |
Requires(post): desktop-file-utils |
Requires(post): desktop-file-utils |
28 |
Requires(postun): desktop-file-utils |
Requires(postun): desktop-file-utils |
67 |
%setup -q |
%setup -q |
68 |
|
|
69 |
%build |
%build |
70 |
scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} WITH_PYTHON=1 WITH_TCLTK=1 |
scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} WITH_PYTHON=1 WITH_TCLTK=1 TCL=/usr TCL_LIB=tcl8.4 TK_LIB=tk8.4 |
71 |
|
|
72 |
%install |
%install |
73 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |