--- trunk/ascend.spec.in 2006/04/04 23:43:43 445 +++ trunk/ascend.spec.in 2006/04/05 00:30:15 446 @@ -16,16 +16,20 @@ Vendor: The Inkscape Project BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: python >= 2.4 -BuildRequires: python-devel -BuildRequires: scons >= 0.96 -BuildRequires: desktop-file-utils +BuildRequires: python >= 2.4, python-devel +BuildRequires: scons >= 0.96 +BuildRequires: bison, flex +BuildRequires: swig >= 1.3.24 +BuildRequires: desktop-file-utils + Requires(post): desktop-file-utils Requires(postun): desktop-file-utils Requires: python >= 2.4 Requires: pygtk2 >= 2.6, pygtk2-libglade Requires: python-matplotlib, python-numeric +Requires: gtksourceview +Requires: make %description ASCEND IV is both a large-scale object-oriented mathematical @@ -45,12 +49,20 @@ rm -rf %{buildroot} scons INSTALL_PREFIX=%{buildroot}%{_prefix} INSTALL_DATA=%{buildroot}%{_datadir} INSTALL_BIN=%{buildroot}%{_bindir} install +pushd pygtk/interface/desktop +install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop +install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/ascend-app.png +install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend.png +install -o root -g root -m 644 -D ascend.xml %{buildroot}/%{_datadir}/mime/packages/ascend.xml +install -o root -g root -m 644 -D ascend.lang %{buildroot}/%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang +popd + %clean rm -rf %{buildroot} %files %defattr(-, root, root) -%doc AUTHORS COPYING ChangeLog NEWS README doc/keys.html +%doc INSTALL tcltk98/license.txt %{_bindir}/ascend %{_datadir}/applications/ascend.desktop %{_datadir}/ascend/*