]>
Commit | Line | Data |
---|---|---|
2e6acfd5 | 1 | Summary: wxWidgets interface for maxima |
aeaeba1e | 2 | Summary(pl.UTF-8): Interfejs do maximy używający wxWidgets |
2e6acfd5 | 3 | Name: wxMaxima |
5a261f41 | 4 | Version: 0.8.6 |
2e6acfd5 | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Math | |
5a261f41 KK |
8 | Source0: http://downloads.sourceforge.net/wxmaxima/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 7b5528276fc37ddca2cbab7c75fe6280 | |
10 | Patch0: %{name}-pixmap.patch | |
11 | Patch1: %{name}-docdir.patch | |
2e6acfd5 | 12 | URL: http://wxmaxima.sourceforge.net/ |
5a261f41 KK |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
2e6acfd5 | 15 | BuildRequires: libxml2-devel |
5a261f41 | 16 | BuildRequires: wxGTK2-unicode-devel |
2e6acfd5 | 17 | BuildRequires: wxWidgets-devel |
15b7cf88 | 18 | Requires: maxima >= 1:5.11.0 |
2e6acfd5 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | wxMaxima is a wxWidgets interface for the computer algebra system | |
23 | Maxima. | |
24 | ||
e735f0e8 JR |
25 | %description -l pl.UTF-8 |
26 | wxMaxima jest bazującym na wxWidgets interfejsem dla systemu algebry | |
2e6acfd5 | 27 | komputerowej Maxima. |
28 | ||
29 | %prep | |
30 | %setup -q | |
5a261f41 KK |
31 | %patch0 -p1 |
32 | %patch1 -p0 | |
2e6acfd5 | 33 | |
34 | %build | |
5a261f41 KK |
35 | %{__aclocal} |
36 | %{__autoconf} | |
37 | %{__autoheader} | |
38 | %{__automake} | |
3fdff51a | 39 | %{configure}\ |
5a261f41 | 40 | --with-wx-config=%{_bindir}/wx-gtk2-unicode-config |
3fdff51a | 41 | |
2e6acfd5 | 42 | %{__make} |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | install -D wxmaxima.desktop $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop | |
49 | sed -e "s@Application;Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;@Science;Math;@g" -i $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop | |
50 | ||
2e6acfd5 | 51 | %find_lang %{name} |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files -f %{name}.lang | |
57 | %defattr(644,root,root,755) | |
58 | %doc README AUTHORS | |
59 | %attr(755,root,root) %{_bindir}/wxmaxima | |
60 | %{_datadir}/wxMaxima | |
58d6c351 | 61 | %{_pixmapsdir}/wxmaxima.png |
2e6acfd5 | 62 | %{_desktopdir}/wxmaxima.desktop |