]> git.pld-linux.org Git - packages/wxMaxima.git/blame - wxMaxima.spec
- rebuild with gtk3 and wxWidgets 3.2, rel 5
[packages/wxMaxima.git] / wxMaxima.spec
CommitLineData
2e6acfd5 1Summary: wxWidgets interface for maxima
aeaeba1e 2Summary(pl.UTF-8): Interfejs do maximy używający wxWidgets
2e6acfd5 3Name: wxMaxima
1defdae4 4Version: 12.01.0
a92c9c43 5Release: 5
2e6acfd5 6License: GPL
7Group: Applications/Math
5a261f41 8Source0: http://downloads.sourceforge.net/wxmaxima/%{name}-%{version}.tar.gz
1defdae4 9# Source0-md5: ef71ba8339fcdd7b715619af51bfa65e
5a261f41
KK
10Patch0: %{name}-pixmap.patch
11Patch1: %{name}-docdir.patch
2e6acfd5 12URL: http://wxmaxima.sourceforge.net/
5a261f41
KK
13BuildRequires: autoconf
14BuildRequires: automake
2e6acfd5 15BuildRequires: libxml2-devel
a92c9c43 16BuildRequires: wxGTK3-unicode-devel
2e6acfd5 17BuildRequires: wxWidgets-devel
15b7cf88 18Requires: maxima >= 1:5.11.0
2e6acfd5 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22wxMaxima is a wxWidgets interface for the computer algebra system
23Maxima.
24
e735f0e8
JR
25%description -l pl.UTF-8
26wxMaxima jest bazującym na wxWidgets interfejsem dla systemu algebry
2e6acfd5 27komputerowej Maxima.
28
29%prep
30%setup -q
5a261f41
KK
31%patch0 -p1
32%patch1 -p0
2e6acfd5 33
34%build
5a261f41
KK
35%{__aclocal}
36%{__autoconf}
37%{__autoheader}
38%{__automake}
3fdff51a 39%{configure}\
a92c9c43 40 --with-wx-config=%{_bindir}/wx-gtk3-unicode-config
3fdff51a 41
2e6acfd5 42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
6c6cb60d
JR
46install -d $RPM_BUILD_ROOT%{_desktopdir}
47
2e6acfd5 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
6c6cb60d
JR
50
51sed -e "s@Application;Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;@Science;Math;@g" wxmaxima.desktop \
52 > $RPM_BUILD_ROOT%{_desktopdir}/wxmaxima.desktop
53
54ln -s %{_pixmapsdir}/wxmaxima.png $RPM_BUILD_ROOT%{_datadir}/wxMaxima
2e6acfd5 55
2e6acfd5 56%find_lang %{name}
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files -f %{name}.lang
62%defattr(644,root,root,755)
63%doc README AUTHORS
64%attr(755,root,root) %{_bindir}/wxmaxima
65%{_datadir}/wxMaxima
58d6c351 66%{_pixmapsdir}/wxmaxima.png
2e6acfd5 67%{_desktopdir}/wxmaxima.desktop
This page took 0.163959 seconds and 4 git commands to generate.