Summary: wxWidgets interface for maxima
Name: wxMaxima
Version: @VERSION@
Release: 1
License: GPL
Group: Sciences/Mathematics
URL: https://andrejv.github.io/wxmaxima/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: gtk2, libxml2, wxGTK
BuildRequires: libxml2-devel, wxGTK-devel

%description
wxMaxima is a wxWidgets interface for the computer algebra system Maxima.

%prep
%setup -q

%build
%{configure} --disable-dnd
make DESTDIR=${RPM_BUILD_ROOT}

%install
make install DESTDIR=${RPM_BUILD_ROOT}
install -D -m 644 wxmaxima.desktop ${RPM_BUILD_ROOT}/usr/share/applications/wxmaxima.desktop
install -D -m 644 wxmaxima.png ${RPM_BUILD_ROOT}/usr/share/pixmaps/wxmaxima.png
install -D -m 644 wxmaxima.svg ${RPM_BUILD_ROOT}/usr/share/pixmaps/wxmaxima.svg

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/wxmaxima
%{_datadir}/wxMaxima/*
/usr/share/pixmaps/wxmaxima.png
/usr/share/pixmaps/wxmaxima.svg
/usr/share/applications/wxmaxima.desktop

%changelog
* Fri Jun 23 2006 Andrej Vodopivec <andrejv@users.sourceforge.net>
- Updated for wxMaxima 0.6.6

* Wed Dec 15 2004 Andrej Vodopivec <andrejv@users.sourceforge.net>
- Added french translation files.

* Wed Aug 25 2004 Andrej Vodopivec <andrejv@users.sourceforge.net>
- Initial spec file.
