2 |
Summary: ASCEND modelling environment |
Summary: ASCEND modelling environment |
3 |
Version: @VERSION@ |
Version: @VERSION@ |
4 |
|
|
5 |
# Use release "0" so that distro-released versions will override ours. |
# Use release 0.* so that other users can do patch releases with a higher number |
6 |
Release: 0.jdpipe |
Release: @RELEASE@ |
7 |
|
|
8 |
License: GPL |
License: GPL |
9 |
Group: Applications/Engineering |
Group: Applications/Engineering |
23 |
BuildRequires: tk-devel < 8.5 |
BuildRequires: tk-devel < 8.5 |
24 |
BuildRequires: tcl-devel < 8.5 |
BuildRequires: tcl-devel < 8.5 |
25 |
BuildRequires: tktable < 2.10, tktable >= 2.8 |
BuildRequires: tktable < 2.10, tktable >= 2.8 |
|
BuildRequires: ccache |
|
26 |
|
|
27 |
Requires: python >= 2.4 |
Requires: python >= 2.4 |
28 |
Requires: pygtk2 >= 2.6 |
Requires: pygtk2 >= 2.6 |
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=%{_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 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 |
69 |
|
|
70 |
%install |
%install |
71 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |