1 Summary: wxWidgets interface for maxima
2 Summary(pl): 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: 4f4c2999deb7ee45d0e3fabb4b16a50b
10 URL: http://wxmaxima.sourceforge.net/
11 BuildRequires: libxml2-devel
12 BuildRequires: wxGTK2-devel
13 BuildRequires: wxWidgets-devel
15 Requires: maxima >= 5.9.1
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 wxMaxima is a wxWidgets interface for the computer algebra system
23 wxMaxima jest bazuj±cym na wxWidgets interfejsem dla systemu algebry
31 --with-wx-config=/usr/bin/wx-gtk2-ansi-config
36 rm -rf $RPM_BUILD_ROOT
38 DESTDIR=$RPM_BUILD_ROOT
39 install -D wxmaxima.desktop $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop
40 sed -e "s@Application;Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;@Science;Math;@g" -i $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop
42 install -D maxima-new.png $RPM_BUILD_ROOT%{_pixmapsdir}/maxima-new.png
46 rm -rf $RPM_BUILD_ROOT
48 %files -f %{name}.lang
49 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/wxmaxima
53 %{_pixmapsdir}/maxima-new.png
54 %{_desktopdir}/wxmaxima.desktop