]> git.pld-linux.org Git - packages/wxMaxima.git/blob - wxMaxima.spec
- initial for PLD
[packages/wxMaxima.git] / wxMaxima.spec
1 Summary:        wxWidgets interface for maxima
2 Summary(pl):    Interfejs do maximy u¿ywaj±cy wxWidgets
3 Name:           wxMaxima
4 Version:        0.6.4
5 Release:        1
6 License:        GPL
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
14 Requires:       libxml2
15 Requires:       maxima >= 5.9.1
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 wxMaxima is a wxWidgets interface for the computer algebra system
20 Maxima.
21
22 %description -l pl
23 wxMaxima jest bazuj±cym na wxWidgets interfejsem dla systemu algebry
24 komputerowej Maxima.
25
26 %prep
27 %setup -q
28
29 %build
30 %{configure}
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 %{__make} install \
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
39
40 install -D maxima-new.png $RPM_BUILD_ROOT/%{_pixmapsdir}/maxima-new.png
41 %find_lang %{name}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files -f %{name}.lang
47 %defattr(644,root,root,755)
48 %doc README AUTHORS
49 %attr(755,root,root) %{_bindir}/wxmaxima
50 %{_datadir}/wxMaxima
51 %{_pixmapsdir}/maxima-new.png
52 %{_desktopdir}/wxmaxima.desktop
This page took 0.061859 seconds and 4 git commands to generate.