]> git.pld-linux.org Git - packages/MathPlanner.git/blob - MathPlanner.spec
release 1 - STBR
[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.4
7 Release:        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 Patch1:         %{name}-plugin.patch
13 URL:            http://koti.mbnet.fi/jarmonik
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  kdelibs-devel >= 3
17 BuildRequires:  libtool
18 BuildRequires:  qt-devel >= 3.0.5
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22 %define         _mathdir        %{_datadir}/MathPlanner
23
24 %description
25 MathPlanner is mathematical design and publishing tool. MathPlanner
26 supports complex numbers, vectors, and basic math operations like
27 trigonometry, log, ln... Also integers and functions definations can
28 be used.
29
30 %description -l pl
31 MathPlanner jest matematycznym programem do tworzenia i publikacji.
32 Obs³uguje liczby zespolone, wertory i podstawowe operacje matematyczne
33 (trygonometria, logarytmy,...). Mog± byæ tak¿e u¿yte liczby ca³kowite
34 oraz definicje funkcji.
35
36 %prep
37 %setup -q
38 %patch0 -p0
39 %patch1 -p1
40
41 %build
42 QTDIR="/usr/X11R6"
43 export QTDIR
44
45 %{__libtoolize}
46 aclocal
47 %{__autoconf}
48 %{__automake}
49 %configure
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_pixmapsdir}/mini
55
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57
58 install icons/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
59 install icons/mini/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/mini
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog NEWS Doc.htm Doc examples
67 %attr(755,root,root) %{_bindir}/*
68 %dir %{_mathdir}
69 %{_mathdir}/*.txt
70 %{_mathdir}/pixmaps/*
71 %{_pixmapsdir}/*.xpm
72 %{_pixmapsdir}/mini/*.xpm
This page took 0.045149 seconds and 4 git commands to generate.