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 |
26 |
|
BuildRequires: ccache |
|
Requires(post): desktop-file-utils |
|
|
Requires(postun): desktop-file-utils |
|
27 |
|
|
28 |
Requires: python >= 2.4 |
Requires: python >= 2.4 |
29 |
Requires: pygtk2 >= 2.6, pygtk2-libglade |
Requires: pygtk2 >= 2.6 |
30 |
Requires: python-matplotlib, python-numeric |
Requires: pygtk2-libglade |
31 |
|
Requires: python-matplotlib |
32 |
|
Requires: python-numeric |
33 |
Requires: gtksourceview |
Requires: gtksourceview |
|
Requires: make |
|
|
Requires: gcc |
|
34 |
|
|
35 |
%description |
%description |
36 |
ASCEND IV is both a large-scale object-oriented mathematical |
ASCEND IV is both a large-scale object-oriented mathematical |
65 |
%setup -q |
%setup -q |
66 |
|
|
67 |
%build |
%build |
68 |
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 |
scons %{?_smp_mflags} CC="ccache gcc" CXX="ccache g++" 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 |
69 |
|
|
70 |
%install |
%install |
71 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
72 |
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 install |
scons %{?_smp_mflags} CC="ccache gcc" CXX="ccache g++" 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 install |
73 |
|
|
74 |
pushd pygtk/gnome |
pushd pygtk/gnome |
75 |
install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop |
install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop |
104 |
%{_datadir}/icons/hicolor/64x64/ascend.png |
%{_datadir}/icons/hicolor/64x64/ascend.png |
105 |
%{_datadir}/mime/packages/ascend.xml |
%{_datadir}/mime/packages/ascend.xml |
106 |
%{_datadir}/ascend/*.py |
%{_datadir}/ascend/*.py |
107 |
|
%{_datadir}/ascend/*.pyc |
108 |
|
%{_datadir}/ascend/*.pyo |
109 |
%{_datadir}/ascend/glade |
%{_datadir}/ascend/glade |
110 |
|
%{_datadir}/ascend/_ascpy.so |
111 |
|
|
112 |
# %package -n ascend-tcltk |
# %package -n ascend-tcltk |
113 |
%{_bindir}/ascend4 |
%{_bindir}/ascend4 |