From: piti Date: Tue, 21 Feb 2006 09:40:08 +0000 (+0000) Subject: - initial for PLD X-Git-Tag: auto/th/wxMaxima-12_01_0-1~12 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=2e6acfd5ece383fe7cbeb95c84879d83c48b893e;p=packages%2FwxMaxima.git - initial for PLD Changed files: wxMaxima.spec -> 1.1 --- 2e6acfd5ece383fe7cbeb95c84879d83c48b893e diff --git a/wxMaxima.spec b/wxMaxima.spec new file mode 100644 index 0000000..9a5d372 --- /dev/null +++ b/wxMaxima.spec @@ -0,0 +1,52 @@ +Summary: wxWidgets interface for maxima +Summary(pl): Interfejs do maximy u¿ywaj±cy wxWidgets +Name: wxMaxima +Version: 0.6.4 +Release: 1 +License: GPL +Group: Applications/Math +Source0: http://dl.sourceforge.net/wxmaxima/%{name}-%{version}.tar.gz +# Source0-md5: 4f4c2999deb7ee45d0e3fabb4b16a50b +URL: http://wxmaxima.sourceforge.net/ +BuildRequires: libxml2-devel +BuildRequires: wxGTK2-devel +BuildRequires: wxWidgets-devel +Requires: libxml2 +Requires: maxima >= 5.9.1 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +wxMaxima is a wxWidgets interface for the computer algebra system +Maxima. + +%description -l pl +wxMaxima jest bazuj±cym na wxWidgets interfejsem dla systemu algebry +komputerowej Maxima. + +%prep +%setup -q + +%build +%{configure} +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT +install -D wxmaxima.desktop $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop +sed -e "s@Application;Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;@Science;Math;@g" -i $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop + +install -D maxima-new.png $RPM_BUILD_ROOT/%{_pixmapsdir}/maxima-new.png +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc README AUTHORS +%attr(755,root,root) %{_bindir}/wxmaxima +%{_datadir}/wxMaxima +%{_pixmapsdir}/maxima-new.png +%{_desktopdir}/wxmaxima.desktop