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 # Source0-md5: 803a8de68056a4ec2e4c456b1ba9b320
10 Source1: %{name}.desktop
11 Patch0: %{name}-no_qstyles.patch
12 URL: http://koti.mbnet.fi/jarmonik/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: qt-devel >= 3.0.5
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _mathdir %{_datadir}/MathPlanner
22 MathPlanner is mathematical design and publishing tool. MathPlanner
23 supports complex numbers, vectors, and basic math operations like
24 trigonometry, log, ln... Also integers and functions definations can
28 MathPlanner jest matematycznym programem do tworzenia i publikacji.
29 Obs³uguje liczby zespolone, wektory i podstawowe operacje matematyczne
30 (trygonometria, logarytmy,...). Mog± byæ tak¿e u¿yte liczby ca³kowite
31 oraz definicje funkcji.
42 moc `basename $i .moc`.h >$i;
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_pixmapsdir}/{mini,hicolor/{32x32,64x64}/mimetypes/},%{_desktopdir}} \
57 $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
60 DESTDIR=$RPM_BUILD_ROOT
62 install icons/64x64/apps/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
63 install icons/64x64/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/64x64/mimetypes/
64 install icons/32x32/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/32x32/mimetypes/
65 install mpl2.desktop $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
66 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS Doc.htm Doc examples
74 %attr(755,root,root) %{_bindir}/*
80 %{_pixmapsdir}/hicolor/*/mimetypes/*.png
81 %{_datadir}/mimelnk/application/*.desktop
82 %{_desktopdir}/*.desktop