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