]> git.pld-linux.org Git - packages/drgeo.git/commitdiff
- initital pld version based on drgenius spec
authorundefine <undefine@pld-linux.org>
Wed, 25 Aug 2004 13:00:43 +0000 (13:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drgeo.spec -> 1.1

drgeo.spec [new file with mode: 0644]

diff --git a/drgeo.spec b/drgeo.spec
new file mode 100644 (file)
index 0000000..d6321fe
--- /dev/null
@@ -0,0 +1,81 @@
+Summary:       General tool for mathematics
+Summary(pl):   Rozbudowane narzêdzie matematyczne
+Name:          drgeo
+Version:       0.9.13
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Source0:       http://dl.sourceforge.net/ofset/%{name}-%{version}.tar.gz
+# Source0-md5: 0ab4c1e1e72f4ffc8ef6c02a58036098
+Patch0:                %{name}-locale_names.patch
+URL:           http://ofset.sourceforge.net/drgeo/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gettext-devel
+BuildRequires: glib-devel >= 1.2.0
+BuildRequires: gmp-devel >= 3.1.1
+BuildRequires: libglade2-devel
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: libxml-devel
+BuildRequires: readline-devel >= 4.2
+Obsoletes:     genius
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Dr. Geo is a general tool for mathematics, including a mathematical
+programming language and evaluator, an euclidian geometry tool, a
+2D/3D function grapher and a console calculator. The console
+calculator handles multiple precision floating point numbers, infinite
+precision integers, complex numbers and matrixes.
+
+%description -l pl
+Dr. Geo to narzêdzie do rozwi±zywania problemów matematycznych.
+Zawiera ono matematyczny jêzyk programowania, narzêdzie do geometrii
+euklidesowej, narzêdzie do generowania wykresów 2D/3D oraz konsolowy
+kalkulator. Kalkulator obs³uguje liczby zmiennoprzecinkowe wysokiej
+precyzji, liczby ca³kowite, zespolone oraz macierze.
+
+%prep
+%setup -q
+%patch0 -p1
+
+mv po/{no,nb}.po
+
+# force regeneration, included versions have broken cpp directives
+rm -f gobobjs/*.[ch]*
+
+%build
+rm -f acinclude.m4
+# doesn't work(?)
+#%%{__libtoolize}
+#%%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --disable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Utilitiesdir=%{_desktopdir}
+
+%find_lang %{name} --with-gnome --all-name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_datadir}/texmacs/TeXmacs/plugins/%{name}/
+%{_pixmapsdir}/*
+%{_desktopdir}/*.desktop
This page took 0.175406 seconds and 4 git commands to generate.