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
34 rm -rf $RPM_BUILD_ROOT
36 DESTDIR=$RPM_BUILD_ROOT
37 install -D wxmaxima.desktop $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop
38 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 install -D maxima-new.png $RPM_BUILD_ROOT/%{_pixmapsdir}/maxima-new.png
44 rm -rf $RPM_BUILD_ROOT
46 %files -f %{name}.lang
47 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/wxmaxima
51 %{_pixmapsdir}/maxima-new.png
52 %{_desktopdir}/wxmaxima.desktop