- 3.1.2 - stared upgrade, does not work on my system :(
[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.2
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:  63cbad25c7df3ef437f2afd8907aabcf
10 Source1:        %{name}.desktop
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         _mathdir        %{_datadir}/MathPlanner
19
20 %description
21 MathPlanner is mathematical design and publishing tool. MathPlanner
22 supports complex numbers, vectors, and basic math operations like
23 trigonometry, log, ln... Also integers and functions definations can
24 be used.
25
26 %description -l pl
27 MathPlanner jest matematycznym programem do tworzenia i publikacji.
28 Obs³uguje liczby zespolone, wertory i podstawowe operacje matematyczne
29 (trygonometria, logarytmy,...). Mog± byæ tak¿e u¿yte liczby ca³kowite
30 oraz definicje funkcji.
31
32 %prep
33 %setup -q
34
35 %build
36 QTDIR="%{_prefix}"
37 export QTDIR
38
39 rm -f missing
40 %{__libtoolize}
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_pixmapsdir}/{mini,hicolor/{32x32,64x64}/mimetypes/},%{_desktopdir}} \
50         $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 install icons/64x64/apps/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
56 install icons/64x64/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/64x64/mimetypes/
57 install icons/32x32/mimetypes/*.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/32x32/mimetypes/
58 install mpl2.desktop $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/
59 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
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 %{_mathdir}/ts/*
72 %{_pixmapsdir}/*.png
73 %{_pixmapsdir}/hicolor/*/mimetypes/*.png
74 %{_datadir}/mimelnk/application/*.desktop
75 %{_desktopdir}/*.desktop
This page took 0.083064 seconds and 3 git commands to generate.