]> git.pld-linux.org Git - packages/drgeo.git/blame - drgeo.spec
- updated gettext BR
[packages/drgeo.git] / drgeo.spec
CommitLineData
50f5ac3d 1Summary: General tool for mathematics
ec879a56 2Summary(pl.UTF-8): Rozbudowane narzędzie matematyczne
50f5ac3d 3Name: drgeo
385e33d3 4Version: 1.1.0
5Release: 1
50f5ac3d 6License: GPL
7Group: X11/Applications
8Source0: http://dl.sourceforge.net/ofset/%{name}-%{version}.tar.gz
385e33d3 9# Source0-md5: 4ee0a887e819266740867959cbb4095f
50f5ac3d 10Patch0: %{name}-locale_names.patch
5274379a 11Patch1: %{name}-desktop.patch
385e33d3 12URL: http://www.ofset.org/en/drgeo
13BuildRequires: ImageMagick-coder-png
50f5ac3d 14BuildRequires: autoconf
15BuildRequires: automake
16BuildRequires: bison
17BuildRequires: flex
30443c80 18BuildRequires: gettext-tools
50f5ac3d 19BuildRequires: glib-devel >= 1.2.0
20BuildRequires: gmp-devel >= 3.1.1
cf8539f5 21BuildRequires: guile-devel
50f5ac3d 22BuildRequires: libglade2-devel
23BuildRequires: libstdc++-devel
24BuildRequires: libtool
25BuildRequires: libxml-devel
26BuildRequires: readline-devel >= 4.2
ea0ac475 27Obsoletes: drgenius
50f5ac3d 28Obsoletes: genius
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32Dr. Geo is a general tool for mathematics, including a mathematical
33programming language and evaluator, an euclidian geometry tool, a
342D/3D function grapher and a console calculator. The console
35calculator handles multiple precision floating point numbers, infinite
36precision integers, complex numbers and matrixes.
37
b146aee6
JR
38%description -l pl.UTF-8
39Dr. Geo to narzędzie do rozwiązywania problemów matematycznych.
40Zawiera ono matematyczny język programowania, narzędzie do geometrii
41euklidesowej, narzędzie do generowania wykresów 2D/3D oraz konsolowy
42kalkulator. Kalkulator obsługuje liczby zmiennoprzecinkowe wysokiej
43precyzji, liczby całkowite, zespolone oraz macierze.
50f5ac3d 44
45%prep
46%setup -q
47%patch0 -p1
5274379a 48%patch1 -p1
50f5ac3d 49
2a687ad5 50rm -f po/no.po
50f5ac3d 51
2a687ad5 52# missing file
53[ ! -f glade/drgeo.xpm ]
385e33d3 54convert glade/drgeo.{png,xpm}
50f5ac3d 55
56%build
57rm -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
69rm -rf $RPM_BUILD_ROOT
70
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT \
73 Utilitiesdir=%{_desktopdir}
74
385e33d3 75install glade/drgeo.png $RPM_BUILD_ROOT%{_pixmapsdir}
50f5ac3d 76%find_lang %{name} --with-gnome --all-name
77
78%clean
79rm -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.120296 seconds and 4 git commands to generate.