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://downloads.sourceforge.net/wxmaxima/%{name}-%{version}.tar.gz
9 # Source0-md5: 7b5528276fc37ddca2cbab7c75fe6280
10 Patch0: %{name}-pixmap.patch
11 Patch1: %{name}-docdir.patch
12 URL: http://wxmaxima.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libxml2-devel
16 BuildRequires: wxGTK2-unicode-devel
17 BuildRequires: wxWidgets-devel
18 Requires: maxima >= 1:5.11.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 wxMaxima is a wxWidgets interface for the computer algebra system
25 %description -l pl.UTF-8
26 wxMaxima jest bazującym na wxWidgets interfejsem dla systemu algebry
40 --with-wx-config=%{_bindir}/wx-gtk2-unicode-config
45 rm -rf $RPM_BUILD_ROOT
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
54 rm -rf $RPM_BUILD_ROOT
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_bindir}/wxmaxima
61 %{_pixmapsdir}/wxmaxima.png
62 %{_desktopdir}/wxmaxima.desktop