wxMaxima-vl.spec 3.1 KB

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