]> git.pld-linux.org Git - packages/MathPlanner.git/blob - MathPlanner.spec
49047141eda4670c24881fc65da2b55b6d6c131e
[packages/MathPlanner.git] / MathPlanner.spec
1 Summary:        A Program for calculating many kind of things
2 Summary(pl):    Program do ³atwego wykonywania obliczeñ matematycznych
3 Name:           MathPlanner
4 Version:        3.0.6
5 Release:        1
6 License:        GPL v2
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)
16
17 %define         _mathdir        %{_datadir}/MathPlanner
18
19 %description
20 MathPlanner is mathematical design and publishing tool. MathPlanner
21 supports complex numbers, vectors, and basic math operations like
22 trigonometry, log, ln... Also integers and functions definations can
23 be used.
24
25 %description -l pl
26 MathPlanner jest matematycznym programem do tworzenia i publikacji.
27 Obs³uguje liczby zespolone, wertory i podstawowe operacje matematyczne
28 (trygonometria, logarytmy,...). Mog± byæ tak¿e u¿yte liczby ca³kowite
29 oraz definicje funkcji.
30
31 %prep
32 %setup -q
33
34 %build
35 QTDIR="/usr/X11R6"
36 export QTDIR
37
38 rm -f missing
39 %{__libtoolize}
40 %{__aclocal}
41 %{__autoconf}
42 %{__automake}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_pixmapsdir}/{mini,hicolor/{32x32,64x64}/mimetypes/},%{_applnkdir}/Scientific/Mathematics}
49 install -d $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
50
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52
53 install icons/64x64/apps/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
54 install icons/64x64/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/64x64/mimetypes/
55 install icons/32x32/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/32x32/mimetypes/
56 install mpl2.desktop $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Mathematics
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog NEWS Doc.htm Doc examples
65 %attr(755,root,root) %{_bindir}/*
66 %dir %{_mathdir}
67 %{_mathdir}/*.txt
68 %{_mathdir}/pixmaps/*
69 %{_mathdir}/ts/*
70 %{_pixmapsdir}/*.png
71 %{_pixmapsdir}/hicolor/*/mimetypes/*.png
72 %{_datadir}/mimelnk/application/*.desktop
73 %{_applnkdir}/Scientific/Mathematics/*.desktop
This page took 0.068187 seconds and 2 git commands to generate.