]> git.pld-linux.org Git - packages/MathPlanner.git/blob - MathPlanner.spec
15c150b7fdae5b998c293b46daf7e1c553b2a787
[packages/MathPlanner.git] / MathPlanner.spec
1 # TODO:
2 # - desktop
3 Summary:        A Program for calculating many kind of things
4 Summary(pl):    Program do ³atwego wykonywania obliczeñ matematycznych
5 Name:           MathPlanner
6 Version:        3.0.3
7 Release:        0.1
8 License:        GPL v2
9 Group:          X11/Applications/Publishing
10 Source0:        http://koti.mbnet.fi/jarmonik/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-ac_fix.patch
12 URL:            http://koti.mbnet.fi/jarmonik
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  kdelibs-devel >= 3
16 BuildRequires:  libtool
17 BuildRequires:  qt-devel >= 3.0.1
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _prefix         /usr/X11R6
21 %define         _mathdir        %{_datadir}/MathPlanner3
22
23 %description
24 MathPlanner is mathematical design and publishing tool. MathPlanner
25 supports complex numbers, vectors, and basic math operations like
26 trigonometry, log, ln... Also integers and functions definations can
27 be used.
28
29 %description -l pl
30 MathPlanner jest matematycznym programem do tworzenia i publikacji.
31 Obs³uguje liczby zespolone, wertory i podstawowe operacje matematyczne
32 (trygonometria, logarytmy,...). Mog± byæ tak¿e u¿yte liczby ca³kowite
33 oraz definicje funkcji.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 QTDIR="/usr/X11R6"
41 export QTDIR
42
43 %{__libtoolize}
44 aclocal
45 %{__autoconf}
46 %{__automake}
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_pixmapsdir}/mini
53
54 %{__make} install DESTDIR=$RPM_BUILD_ROOT
55
56 install icons/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
57 install icons/mini/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/mini
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Changes.txt Doc.htm Doc examples
65 %attr(755,root,root) %{_bindir}/*
66 %dir %{_mathdir}
67 %{_mathdir}/*.txt
68 %{_mathdir}/pixmaps/*
69 %{_pixmapsdir}/*.xpm
70 %{_pixmapsdir}/mini/*.xpm
This page took 0.031892 seconds and 2 git commands to generate.