wxMaxima-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Name: wxMaxima
  2. Version: 12.04.0
  3. Release: 1%{?_dist_release}
  4. License: GPL
  5. Group: Applications/Engineering
  6. URL: http://wxmaxima.sourceforge.net/
  7. Source0: %{name}-%{version}.tar.gz
  8. Patch0: fix_desktop.patch
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Requires: maxima >= 5.11
  11. BuildRequires: libxml2-devel, wxGTK-devel, desktop-file-utils
  12. Summary: Graphical user interface for Maxima
  13. Summary(ja): Maxima のグラフィカルユーザインタフェース
  14. %description
  15. wxMaxima is a cross platform GUI for the computer algebra system
  16. maxima based on wxWidgets.
  17. wxMaxima features include:
  18. * 2D formatted math display: wxMaxima implements its own math display
  19. engine to nicely display maxima output.
  20. * Menu system: most maxima commands are available through menus. Most
  21. used functions are also available through a button panel at below
  22. the input line.
  23. * Dialogs: commands which require more that one argument can be
  24. entered through dialogs so that there is no need to remember the
  25. exact syntax.
  26. * Command line history: the input line has command history and
  27. command completion based on previous input.
  28. * Create documents: text can be mixed with math calculations to
  29. create documents. See the howto for tips on how to use these
  30. features. Documents can be saved and edited again later.
  31. %prep
  32. %setup -q
  33. %patch0 -p1
  34. %build
  35. %configure --enable-dnd --enable-printing
  36. make
  37. %install
  38. rm -rf %{buildroot}
  39. make install DESTDIR=%{buildroot}
  40. desktop-file-install --vendor="" \
  41. --dir %{buildroot}%{_datadir}/applications \
  42. --add-category="Development" \
  43. --add-category="Math" \
  44. --remove-category="Utility" \
  45. wxmaxima.desktop
  46. %find_lang %{name}
  47. %clean
  48. rm -rf %{buildroot}
  49. %post
  50. update-desktop-database -q &> /dev/null
  51. %postun
  52. update-desktop-database -q &> /dev/null
  53. %files -f %{name}.lang
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS COPYING ChangeLog README
  56. %{_bindir}/*
  57. %{_datadir}/%{name}/*
  58. %{_datadir}/applications/wxmaxima.desktop
  59. %changelog
  60. * Sun Jul 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 12.04.0-1
  61. - new usptream release
  62. - added Summary(ja)
  63. - added BuildRequires: desktop-file-utils
  64. - changed BuildRequires: wx-gtk2-devel to wxGTK-devel
  65. - run desktop-file-utils
  66. - run update-desktop-database
  67. * Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-1vl5
  68. - applied new versioning policy, spec in utf-8
  69. * Sun Dec 30 2007 Shu KONNO <owa@bg.wakwak.com> 1.2-0vl4
  70. - rebuilt with wx-gtk2-2.8.7
  71. * Thu May 3 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 0.7.2-0vl1
  72. - Initial build.