wxMaxima-vl.spec 3.0 KB

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