]>
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 |
15b7cf88 | 4 | Version: 0.7.1 |
2e6acfd5 | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Math | |
8 | Source0: http://dl.sourceforge.net/wxmaxima/%{name}-%{version}.tar.gz | |
15b7cf88 | 9 | # Source0-md5: 005f5bffe74caa987f66af2084d9df45 |
2e6acfd5 | 10 | URL: http://wxmaxima.sourceforge.net/ |
11 | BuildRequires: libxml2-devel | |
12 | BuildRequires: wxGTK2-devel | |
13 | BuildRequires: wxWidgets-devel | |
15b7cf88 | 14 | Requires: maxima >= 1:5.11.0 |
2e6acfd5 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | wxMaxima is a wxWidgets interface for the computer algebra system | |
19 | Maxima. | |
20 | ||
e735f0e8 JR |
21 | %description -l pl.UTF-8 |
22 | wxMaxima jest bazującym na wxWidgets interfejsem dla systemu algebry | |
2e6acfd5 | 23 | komputerowej Maxima. |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %build | |
3fdff51a | 29 | %{configure}\ |
30 | --with-wx-config=/usr/bin/wx-gtk2-ansi-config | |
31 | ||
2e6acfd5 | 32 | %{__make} |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | %{__make} install \ | |
37 | DESTDIR=$RPM_BUILD_ROOT | |
38 | install -D wxmaxima.desktop $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop | |
39 | sed -e "s@Application;Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;@Science;Math;@g" -i $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop | |
40 | ||
d9fde894 | 41 | install -D maxima-new.png $RPM_BUILD_ROOT%{_pixmapsdir}/maxima-new.png |
2e6acfd5 | 42 | %find_lang %{name} |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files -f %{name}.lang | |
48 | %defattr(644,root,root,755) | |
49 | %doc README AUTHORS | |
50 | %attr(755,root,root) %{_bindir}/wxmaxima | |
51 | %{_datadir}/wxMaxima | |
52 | %{_pixmapsdir}/maxima-new.png | |
53 | %{_desktopdir}/wxmaxima.desktop |