]> git.pld-linux.org Git - packages/wxMaxima.git/blob - wxMaxima.spec
- up to 0.7.2
[packages/wxMaxima.git] / wxMaxima.spec
1 Summary:        wxWidgets interface for maxima
2 Summary(pl.UTF-8):      Interfejs do maximy używający wxWidgets
3 Name:           wxMaxima
4 Version:        0.7.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://dl.sourceforge.net/wxmaxima/%{name}-%{version}.tar.gz
9 # Source0-md5:  4a0c6099a60d5f54e262cc505d8caca7
10 URL:            http://wxmaxima.sourceforge.net/
11 BuildRequires:  libxml2-devel
12 BuildRequires:  wxGTK2-devel
13 BuildRequires:  wxWidgets-devel
14 Requires:       maxima >= 1:5.11.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 wxMaxima is a wxWidgets interface for the computer algebra system
19 Maxima.
20
21 %description -l pl.UTF-8
22 wxMaxima jest bazującym na wxWidgets interfejsem dla systemu algebry
23 komputerowej Maxima.
24
25 %prep
26 %setup -q
27
28 %build
29 %{configure}\
30         --with-wx-config=/usr/bin/wx-gtk2-ansi-config
31
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38 install -D wxmaxima.desktop $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop
39 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
41 install -D maxima-new.png $RPM_BUILD_ROOT%{_pixmapsdir}/maxima-new.png
42 %find_lang %{name}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files -f %{name}.lang
48 %defattr(644,root,root,755)
49 %doc README AUTHORS
50 %attr(755,root,root) %{_bindir}/wxmaxima
51 %{_datadir}/wxMaxima
52 %{_pixmapsdir}/maxima-new.png
53 %{_desktopdir}/wxmaxima.desktop
This page took 0.043103 seconds and 4 git commands to generate.