16 |
Vendor: The Inkscape Project |
Vendor: The Inkscape Project |
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
18 |
|
|
19 |
BuildRequires: python >= 2.4 |
BuildRequires: python >= 2.4, python-devel |
20 |
BuildRequires: python-devel |
BuildRequires: scons >= 0.96 |
21 |
BuildRequires: scons >= 0.96 |
BuildRequires: bison, flex |
22 |
BuildRequires: desktop-file-utils |
BuildRequires: swig >= 1.3.24 |
23 |
|
BuildRequires: desktop-file-utils |
24 |
|
|
25 |
Requires(post): desktop-file-utils |
Requires(post): desktop-file-utils |
26 |
Requires(postun): 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, pygtk2-libglade |
30 |
Requires: python-matplotlib, python-numeric |
Requires: python-matplotlib, python-numeric |
31 |
|
Requires: gtksourceview |
32 |
|
Requires: make |
33 |
|
|
34 |
%description |
%description |
35 |
ASCEND IV is both a large-scale object-oriented mathematical |
ASCEND IV is both a large-scale object-oriented mathematical |
49 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
50 |
scons INSTALL_PREFIX=%{buildroot}%{_prefix} INSTALL_DATA=%{buildroot}%{_datadir} INSTALL_BIN=%{buildroot}%{_bindir} install |
scons INSTALL_PREFIX=%{buildroot}%{_prefix} INSTALL_DATA=%{buildroot}%{_datadir} INSTALL_BIN=%{buildroot}%{_bindir} install |
51 |
|
|
52 |
|
pushd pygtk/interface/desktop |
53 |
|
install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop |
54 |
|
install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/ascend-app.png |
55 |
|
install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend.png |
56 |
|
install -o root -g root -m 644 -D ascend.xml %{buildroot}/%{_datadir}/mime/packages/ascend.xml |
57 |
|
install -o root -g root -m 644 -D ascend.lang %{buildroot}/%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang |
58 |
|
popd |
59 |
|
|
60 |
%clean |
%clean |
61 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
62 |
|
|
63 |
%files |
%files |
64 |
%defattr(-, root, root) |
%defattr(-, root, root) |
65 |
%doc AUTHORS COPYING ChangeLog NEWS README doc/keys.html |
%doc INSTALL tcltk98/license.txt |
66 |
%{_bindir}/ascend |
%{_bindir}/ascend |
67 |
%{_datadir}/applications/ascend.desktop |
%{_datadir}/applications/ascend.desktop |
68 |
%{_datadir}/ascend/* |
%{_datadir}/ascend/* |