]> git.pld-linux.org Git - packages/MathPlanner.git/blob - MathPlanner.spec
7e2100336823ff3199db4b2bf86b08cc8a8e6c54
[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.1.3
5 Release:        0.1
6 License:        GPL v2
7 Group:          X11/Applications/Publishing
8 Source0:        http://koti.mbnet.fi/jarmonik/%{name}-%{version}.tar.gz
9 # Source0-md5:  803a8de68056a4ec2e4c456b1ba9b320
10 Source1:        %{name}.desktop
11 Patch0:         MathPlanner-no_qstyles.patch
12 URL:            http://koti.mbnet.fi/jarmonik/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  qt-devel >= 3.0.5
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
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
36
37 %build
38 QTDIR="%{_prefix}"
39 export QTDIR
40
41 rm -f missing
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,hicolor/{32x32,64x64}/mimetypes/},%{_desktopdir}} \
52         $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install icons/64x64/apps/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
58 install icons/64x64/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/64x64/mimetypes/
59 install icons/32x32/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/32x32/mimetypes/
60 install mpl2.desktop $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
61 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog NEWS Doc.htm Doc examples
69 %attr(755,root,root) %{_bindir}/*
70 %dir %{_mathdir}
71 %{_mathdir}/*.txt
72 %{_mathdir}/pixmaps/*
73 %{_mathdir}/ts/*
74 %{_pixmapsdir}/*.png
75 %{_pixmapsdir}/hicolor/*/mimetypes/*.png
76 %{_datadir}/mimelnk/application/*.desktop
77 %{_desktopdir}/*.desktop
This page took 0.022467 seconds and 2 git commands to generate.