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 Patch0: %{name}-makefile.patch
10 Patch1: %{name}-opt.patch
11 URL: http://koti.mbnet.fi/jarmonik
12 BuildRequires: kdelibs-devel >= 3
13 BuildRequires: qt-devel >= 3.0.1
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 MathPlanner is mathematical design and publishing tool. MathPlanner
18 supports complex numbers, vectors, and basic math operations like
19 trigonometry, log, ln... Also integers and functions definations can
23 MathPlanner jest matematycznym programem do tworzenia i publikacji.
24 Obs³uguje liczby zespolone, wertory i podstawowe operacje matematyczne
25 (trygonometria, logarytmy,...). Mog± byæ tak¿e u¿yte liczby ca³kowite
26 oraz definicje funkcji.
29 %setup -q -n %{name}3-install
34 CFLAGS="-I%{_prefix}/X11R6/include/qt"
35 LDFLAGS="-L/usr/X11R6/lib/qt/plugins-mt/styles/ -lqplatinumstyle -lqmotifstyle"
37 %{__make} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" build
40 rm -rf $RPM_BUILD_ROOT
41 #mkdir -p $RPM_BUILD_ROOT/usr/bin
42 #mkdir -p $RPM_BUILD_ROOT/opt/MathPlanner3
44 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46 #install -s -m 755 MathPlanner3 $RPM_BUILD_ROOT/usr/bin/MathPlanner3
47 #cp -R Data/* $RPM_BUILD_ROOT/opt/MathPlanner3
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc Data/{Changes.txt,Doc.htm,MPLConfig.txt}
56 #/usr/bin/MathPlanner3