]> git.pld-linux.org Git - packages/drgeo.git/blob - drgeo.spec
- updated gettext BR
[packages/drgeo.git] / drgeo.spec
1 Summary:        General tool for mathematics
2 Summary(pl.UTF-8):      Rozbudowane narzędzie matematyczne
3 Name:           drgeo
4 Version:        1.1.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/ofset/%{name}-%{version}.tar.gz
9 # Source0-md5:  4ee0a887e819266740867959cbb4095f
10 Patch0:         %{name}-locale_names.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://www.ofset.org/en/drgeo
13 BuildRequires:  ImageMagick-coder-png
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  bison
17 BuildRequires:  flex
18 BuildRequires:  gettext-tools
19 BuildRequires:  glib-devel >= 1.2.0
20 BuildRequires:  gmp-devel >= 3.1.1
21 BuildRequires:  guile-devel
22 BuildRequires:  libglade2-devel
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  libtool
25 BuildRequires:  libxml-devel
26 BuildRequires:  readline-devel >= 4.2
27 Obsoletes:      drgenius
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
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.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49
50 rm -f po/no.po
51
52 # missing file
53 [ ! -f glade/drgeo.xpm ]
54 convert glade/drgeo.{png,xpm}
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
75 install glade/drgeo.png $RPM_BUILD_ROOT%{_pixmapsdir}
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
This page took 0.106252 seconds and 3 git commands to generate.