1 Summary: wxWidgets interface for maxima
2 Summary(pl.UTF-8): Interfejs do maximy używający wxWidgets
7 Group: Applications/Math
8 Source0: http://dl.sourceforge.net/wxmaxima/%{name}-%{version}.tar.gz
9 # Source0-md5: 4a0c6099a60d5f54e262cc505d8caca7
10 URL: http://wxmaxima.sourceforge.net/
11 BuildRequires: libxml2-devel
12 BuildRequires: wxGTK2-devel
13 BuildRequires: wxWidgets-devel
14 Requires: maxima >= 1:5.11.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 wxMaxima is a wxWidgets interface for the computer algebra system
21 %description -l pl.UTF-8
22 wxMaxima jest bazującym na wxWidgets interfejsem dla systemu algebry
30 --with-wx-config=/usr/bin/wx-gtk2-ansi-config
35 rm -rf $RPM_BUILD_ROOT
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
41 install -D maxima-new.png $RPM_BUILD_ROOT%{_pixmapsdir}/maxima-new.png
45 rm -rf $RPM_BUILD_ROOT
47 %files -f %{name}.lang
48 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/wxmaxima
52 %{_pixmapsdir}/maxima-new.png
53 %{_desktopdir}/wxmaxima.desktop