1 Summary: A Program for calculating many kind of things
2 Summary(pl): Program do ³atwego wykonywania obliczeñ matematycznych
7 Group: X11/Applications/Publishing
8 Source0: http://koti.mbnet.fi/jarmonik/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
10 URL: http://koti.mbnet.fi/jarmonik
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRequires: qt-devel >= 3.0.5
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _prefix /usr/X11R6
18 %define _mathdir %{_datadir}/MathPlanner
21 MathPlanner is mathematical design and publishing tool. MathPlanner
22 supports complex numbers, vectors, and basic math operations like
23 trigonometry, log, ln... Also integers and functions definations can
27 MathPlanner jest matematycznym programem do tworzenia i publikacji.
28 Obs³uguje liczby zespolone, wertory i podstawowe operacje matematyczne
29 (trygonometria, logarytmy,...). Mog± byæ tak¿e u¿yte liczby ca³kowite
30 oraz definicje funkcji.
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_pixmapsdir}/{mini,hicolor/{32x32,64x64}/mimetypes/},%{_applnkdir}/Scientific/Mathematics}
50 install -d $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
52 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54 install icons/64x64/apps/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
55 install icons/64x64/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/64x64/mimetypes/
56 install icons/32x32/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/32x32/mimetypes/
57 install mpl2.desktop $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
58 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Mathematics
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS Doc.htm Doc examples
66 %attr(755,root,root) %{_bindir}/*
72 %{_pixmapsdir}/hicolor/*/mimetypes/*.png
73 %{_datadir}/mimelnk/application/*.desktop
74 %{_applnkdir}/Scientific/Mathematics/*.desktop