24 |
BuildRequires: tk-devel < 8.5, tcl-devel < 8.5 |
BuildRequires: tk-devel < 8.5, tcl-devel < 8.5 |
25 |
BuildRequires: tktable < 2.10, tktable >= 2.8 |
BuildRequires: tktable < 2.10, tktable >= 2.8 |
26 |
BuildRequires: desktop-file-utils |
BuildRequires: desktop-file-utils |
27 |
|
BuildRequires: sundials >= 2.3.0 |
28 |
|
BuildRequires: conopt >= 3.14 |
29 |
|
|
30 |
# This contains the libg2c library; which on FC5 is not in the path, unfort. |
# This contains the libg2c library; which on FC5 is not in the path, unfort. |
31 |
BuildRequires: compat-gcc-32-g77 == 3.2.3 |
BuildRequires: compat-gcc-32-g77 == 3.2.3 |
37 |
Requires: python-numeric |
Requires: python-numeric |
38 |
Requires: gtksourceview |
Requires: gtksourceview |
39 |
Requires: xgraph >= 11 |
Requires: xgraph >= 11 |
40 |
|
Requires: sundials >= 2.3.0 |
41 |
|
|
42 |
%description |
%description |
43 |
ASCEND IV is both a large-scale object-oriented mathematical |
ASCEND IV is both a large-scale object-oriented mathematical |
72 |
%setup -q -n @DISTTAR_NAME@ |
%setup -q -n @DISTTAR_NAME@ |
73 |
|
|
74 |
%build |
%build |
75 |
scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models \ |
scons %{_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models \ |
76 |
INSTALL_ROOT=%{buildroot} \ |
INSTALL_ROOT=%{buildroot} \ |
77 |
INSTALL_PREFIX=%{_prefix} \ |
INSTALL_PREFIX=%{_prefix} \ |
78 |
INSTALL_SHARE=%{_datadir} \ |
INSTALL_SHARE=%{_datadir} \ |
79 |
INSTALL_BIN=%{_bindir} \ |
INSTALL_BIN=%{_bindir} \ |
80 |
INSTALL_INCLUDE=%{_includedir} \ |
INSTALL_INCLUDE=%{_includedir} \ |
81 |
F2C_LIBPATH=/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/ WITH_SOLVERS=QRSLV,LSOD,CMSLV pygtk tcltk |
F2C_LIBPATH=/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/ \ |
82 |
|
WITH_SOLVERS=QRSLV,LSOD,CMSLV,IDA,LRSLV,CONOPT \ |
83 |
|
pygtk tcltk |
84 |
|
|
85 |
%install |
%install |
86 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
87 |
scons %{?_smp_mflags} install |
scons %{_smp_mflags} install |
88 |
|
|
89 |
# Install menu entry for PyGTK interface, gtksourceview syntax highlighting, and MIME definition |
# Install menu entry for PyGTK interface, gtksourceview syntax highlighting, and MIME definition |
90 |
pushd pygtk/gnome |
pushd pygtk/gnome |
148 |
%{_includedir}/solver |
%{_includedir}/solver |
149 |
|
|
150 |
%changelog |
%changelog |
151 |
|
* Fri Jul 28 2006 John Pye <john.pye@student.unsw.edu.au> |
152 |
|
- Added CONOPT support |
153 |
|
|
154 |
* Wed Jul 12 2006 John Pye <john.pye@student.unsw.edu.au> |
* Wed Jul 12 2006 John Pye <john.pye@student.unsw.edu.au> |
155 |
- Fixed fortran linking |
- Fixed fortran linking |
156 |
- Removed ccache dependency |
- Removed ccache dependency |