]> git.pld-linux.org Git - packages/drgeo.git/blob - drgeo.spec
- added desktop patch
[packages/drgeo.git] / drgeo.spec
1 Summary:        General tool for mathematics
2 Summary(pl):    Rozbudowane narzêdzie matematyczne
3 Name:           drgeo
4 Version:        0.9.14
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/ofset/%{name}-%{version}.tar.gz
9 # Source0-md5:  b25686232bfab258fb0bb418af142ffe
10 Patch0:         %{name}-locale_names.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://ofset.sourceforge.net/drgeo/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  flex
17 BuildRequires:  gettext-devel
18 BuildRequires:  glib-devel >= 1.2.0
19 BuildRequires:  gmp-devel >= 3.1.1
20 BuildRequires:  libglade2-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  libtool
23 BuildRequires:  libxml-devel
24 BuildRequires:  readline-devel >= 4.2
25 Obsoletes:      drgenius
26 Obsoletes:      genius
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Dr. Geo is a general tool for mathematics, including a mathematical
31 programming language and evaluator, an euclidian geometry tool, a
32 2D/3D function grapher and a console calculator. The console
33 calculator handles multiple precision floating point numbers, infinite
34 precision integers, complex numbers and matrixes.
35
36 %description -l pl
37 Dr. Geo to narzêdzie do rozwi±zywania problemów matematycznych.
38 Zawiera ono matematyczny jêzyk programowania, narzêdzie do geometrii
39 euklidesowej, narzêdzie do generowania wykresów 2D/3D oraz konsolowy
40 kalkulator. Kalkulator obs³uguje liczby zmiennoprzecinkowe wysokiej
41 precyzji, liczby ca³kowite, zespolone oraz macierze.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47
48 mv po/{no,nb}.po
49
50 # force regeneration, included versions have broken cpp directives
51 rm -f gobobjs/*.[ch]*
52
53 %build
54 rm -f acinclude.m4
55 # doesn't work(?)
56 #%%{__libtoolize}
57 #%%{__gettextize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__automake}
61 %configure \
62         --disable-static
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         Utilitiesdir=%{_desktopdir}
71
72 %find_lang %{name} --with-gnome --all-name
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS NEWS README TODO
80 %attr(755,root,root) %{_bindir}/*
81 %{_datadir}/%{name}
82 %{_datadir}/texmacs/TeXmacs/plugins/%{name}/
83 %{_pixmapsdir}/*
84 %{_desktopdir}/*.desktop
This page took 0.071854 seconds and 3 git commands to generate.