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