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