]> git.pld-linux.org Git - packages/MathPlanner.git/blob - MathPlanner.spec
- 3.0.5 - added desktop, removed included patch - 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:        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 Patch0:         %{name}-ac_fix.patch
11 URL:            http://koti.mbnet.fi/jarmonik
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  kdelibs-devel >= 3.0.3
15 BuildRequires:  libtool
16 BuildRequires:  qt-devel >= 3.0.5
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mathdir        %{_datadir}/MathPlanner
21
22 %description
23 MathPlanner is mathematical design and publishing tool. MathPlanner
24 supports complex numbers, vectors, and basic math operations like
25 trigonometry, log, ln... Also integers and functions definations can
26 be used.
27
28 %description -l pl
29 MathPlanner jest matematycznym programem do tworzenia i publikacji.
30 Obs³uguje liczby zespolone, wertory i podstawowe operacje matematyczne
31 (trygonometria, logarytmy,...). Mog± byæ tak¿e u¿yte liczby ca³kowite
32 oraz definicje funkcji.
33
34 %prep
35 %setup -q
36 %patch0 -p0
37
38 %build
39 QTDIR="/usr/X11R6"
40 export QTDIR
41
42 %{__libtoolize}
43 aclocal
44 %{__autoconf}
45 %{__automake}
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_pixmapsdir}/mini,%{_applnkdir}/Scientific}
52
53 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54
55 install icons/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
56 install icons/mini/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/mini
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/
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 %{_pixmapsdir}/*.xpm
70 %{_pixmapsdir}/mini/*.xpm
71 %{_applnkdir}/Scientific/*.desktop
This page took 0.044271 seconds and 4 git commands to generate.